org.jmythapi.protocol.events.impl
Class AskRecording
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<E>
org.jmythapi.protocol.events.impl.AMythEvent<IAskRecording.Props>
org.jmythapi.protocol.events.impl.AskRecording
- All Implemented Interfaces:
- Cloneable, IPropertyAware<IAskRecording.Props>, IVersionable, IAskRecording, IMythEvent<IAskRecording.Props>, ISendable, IMythResponse<IAskRecording.Props>
public class AskRecording
- extends AMythEvent<IAskRecording.Props>
- implements IAskRecording
| 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 interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
AskRecording
public AskRecording(IMythPacket packet)
checkSize
protected void checkSize(List<String> responseArgs)
throws IllegalArgumentException
- Description copied from class:
AMythResponse
A function to check if the given response-argument-liste contains all expected arguments.
The expected argument-list-size is calculated using #getExpectedSize(ArrayList).
- Overrides:
checkSize in class AMythResponse<IAskRecording.Props>
- Parameters:
responseArgs - the response-argument-list
- Throws:
IllegalArgumentException - if expected arguments are missing.
getRecorderId
public Integer getRecorderId()
- Specified by:
getRecorderId in interface IAskRecording
getSecondsTillRecording
public Integer getSecondsTillRecording()
- Specified by:
getSecondsTillRecording in interface IAskRecording
hasLaterShowing
public Boolean hasLaterShowing()
- Specified by:
hasLaterShowing in interface IAskRecording
hasRecording
public Boolean hasRecording()
- Specified by:
hasRecording in interface IAskRecording
getProgramInfo
public IProgramInfo getProgramInfo()
- Specified by:
getProgramInfo in interface IAskRecording
getChannelName
public String getChannelName()
- Specified by:
getChannelName in interface IAskRecording
getChannelNumber
public String getChannelNumber()
- Specified by:
getChannelNumber in interface IAskRecording
getChannelSign
public String getChannelSign()
- Specified by:
getChannelSign in interface IAskRecording
getRecordingTitle
public String getRecordingTitle()
- Specified by:
getRecordingTitle in interface IAskRecording
toString
public String toString()
- Description copied from class:
AData
Returns the content of this data object as a formatted string.
E.g.
<0>TOTAL_RAM_MB: 1002 | <1>FREE_RAM_MB: 474 | <2>TOTAL_VM_MB: 853 | <3>FREE_VM_MB: 853
- Overrides:
toString in class AMythEvent<IAskRecording.Props>
Copyright © 2008-2013. All Rights Reserved.