org.jmythapi.protocol.response.impl
Class FreeSpaceSummary

java.lang.Object
  extended by org.jmythapi.impl.AData<E>
      extended by org.jmythapi.protocol.response.impl.AMythResponse<E>
          extended by org.jmythapi.protocol.response.impl.AFreeSpace<IFreeSpaceSummary.Props>
              extended by org.jmythapi.protocol.response.impl.FreeSpaceSummary
All Implemented Interfaces:
Cloneable, IPropertyAware<IFreeSpaceSummary.Props>, IVersionable, ISendable, IBasicFreeSpace, IFreeSpaceSummary, IMythResponse<IFreeSpaceSummary.Props>

public class FreeSpaceSummary
extends AFreeSpace<IFreeSpaceSummary.Props>
implements IFreeSpaceSummary


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IFreeSpaceSummary
IFreeSpaceSummary.Props
 
Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Constructor Summary
FreeSpaceSummary(IMythPacket packet)
           
 
Method Summary
 Long getTotalSpace()
          Gets the total space on file system.
 Long getUsedSpace()
          Gets the used space on file system.
 
Methods inherited from class org.jmythapi.protocol.response.impl.AFreeSpace
getFreeSpace
 
Methods inherited from class org.jmythapi.protocol.response.impl.AMythResponse
checkSize, decodeProperty, encodeProperty, getExpectedSize, getPacket, getProperties, getProperty, getPropertyIndex
 
Methods inherited from class org.jmythapi.impl.AData
clone, equals, getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jmythapi.protocol.response.IBasicFreeSpace
getFreeSpace
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 

Constructor Detail

FreeSpaceSummary

public FreeSpaceSummary(IMythPacket packet)
Method Detail

getTotalSpace

public Long getTotalSpace()
Description copied from interface: IBasicFreeSpace
Gets the total space on file system.

Specified by:
getTotalSpace in interface IBasicFreeSpace
Specified by:
getTotalSpace in interface IFreeSpaceSummary
Specified by:
getTotalSpace in class AFreeSpace<IFreeSpaceSummary.Props>
Returns:
total space
See Also:
IFreeSpaceSummary.Props.TOTAL_SPACE

getUsedSpace

public Long getUsedSpace()
Description copied from interface: IBasicFreeSpace
Gets the used space on file system.

Specified by:
getUsedSpace in interface IBasicFreeSpace
Specified by:
getUsedSpace in interface IFreeSpaceSummary
Specified by:
getUsedSpace in class AFreeSpace<IFreeSpaceSummary.Props>
Returns:
used space
See Also:
IFreeSpaceSummary.Props.USED_SPACE


Copyright © 2008-2013. All Rights Reserved.