org.jmythapi.protocol.events.impl
Class UpdateFileSize

java.lang.Object
  extended by org.jmythapi.impl.AData<E>
      extended by org.jmythapi.protocol.response.impl.AMythResponse<E>
          extended by org.jmythapi.protocol.events.impl.AMythEvent<IUpdateFileSize.Props>
              extended by org.jmythapi.protocol.events.impl.UpdateFileSize
All Implemented Interfaces:
Cloneable, IPropertyAware<IUpdateFileSize.Props>, IVersionable, IMythEvent<IUpdateFileSize.Props>, IRecordingEvent<IUpdateFileSize.Props>, IUpdateFileSize, ISendable, IMythResponse<IUpdateFileSize.Props>

public class UpdateFileSize
extends AMythEvent<IUpdateFileSize.Props>
implements IUpdateFileSize


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.events.IUpdateFileSize
IUpdateFileSize.Props
 
Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Constructor Summary
UpdateFileSize(IMythPacket packet)
           
 
Method Summary
 Integer getChannelID()
          Gets the channel ID of the recording.
 Long getRecordingFileSize()
          Gets the new file size of the recording
 Date getRecordingStartTime()
          Gets the recording start time.
 String getUniqueRecordingID()
          Gets the unique ID of the changed recording.
 
Methods inherited from class org.jmythapi.protocol.events.impl.AMythEvent
decodeProperty, encodeProperty, extractArgumentsList, extractEventName, getEventName, getPacket, toString
 
Methods inherited from class org.jmythapi.protocol.response.impl.AMythResponse
checkSize, getExpectedSize, 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jmythapi.protocol.events.IMythEvent
getEventName
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 
Methods inherited from interface org.jmythapi.protocol.ISendable
getPacket
 

Constructor Detail

UpdateFileSize

public UpdateFileSize(IMythPacket packet)
Method Detail

getChannelID

public Integer getChannelID()
Description copied from interface: IUpdateFileSize
Gets the channel ID of the recording.

Specified by:
getChannelID in interface IRecordingEvent<IUpdateFileSize.Props>
Specified by:
getChannelID in interface IUpdateFileSize
Returns:
the channel ID.

getRecordingStartTime

public Date getRecordingStartTime()
Description copied from interface: IUpdateFileSize
Gets the recording start time.

Specified by:
getRecordingStartTime in interface IRecordingEvent<IUpdateFileSize.Props>
Specified by:
getRecordingStartTime in interface IUpdateFileSize
Returns:
the recording start time.

getUniqueRecordingID

public String getUniqueRecordingID()
Description copied from interface: IUpdateFileSize
Gets the unique ID of the changed recording.

Specified by:
getUniqueRecordingID in interface IRecordingEvent<IUpdateFileSize.Props>
Specified by:
getUniqueRecordingID in interface IUpdateFileSize
Returns:
the unique recording ID.
See Also:
EncodingUtils.generateId(Integer, Date)

getRecordingFileSize

public Long getRecordingFileSize()
Description copied from interface: IUpdateFileSize
Gets the new file size of the recording

Specified by:
getRecordingFileSize in interface IUpdateFileSize
Returns:
the new file size


Copyright © 2008-2013. All Rights Reserved.