org.jmythapi.protocol.events
Interface IUpdateFileSize

All Superinterfaces:
Cloneable, IMythEvent<IUpdateFileSize.Props>, IPropertyAware<IUpdateFileSize.Props>, IRecordingEvent<IUpdateFileSize.Props>, ISendable, IVersionable
All Known Implementing Classes:
UpdateFileSize

public interface IUpdateFileSize
extends IRecordingEvent<IUpdateFileSize.Props>

Backend Event - Recording - File-Size Updated.

This event is typically sent every 10 seconds by the backend.

MythTV protocol example:
80      
BACKEND_MESSAGE[]:[]UPDATE_FILE_SIZE 1000 2013-09-18T05:35:00Z 2003102[]:[]empty

Protocol Version Hint:

UTC Support:Starting with 75 dates are delivered with timezone UTC, but are automatically converted into the local timezone by this class.

Since:
54
See Also:
BACKEND_MESSAGE_UPDATE_FILE_SIZE

Nested Class Summary
static class IUpdateFileSize.Props
           
 
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 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
 

Method Detail

getChannelID

Integer getChannelID()
Gets the channel ID of the recording.

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

getRecordingStartTime

Date getRecordingStartTime()
Gets the recording start time.

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

getUniqueRecordingID

String getUniqueRecordingID()
Gets the unique ID of the changed recording.

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

getRecordingFileSize

Long getRecordingFileSize()
Gets the new file size of the recording

Returns:
the new file size


Copyright © 2008-2013. All Rights Reserved.