org.jmythapi.protocol.response.impl
Class RecordingsExpiring

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.ARecordings<IRecordingsExpiring.Props>
              extended by org.jmythapi.protocol.response.impl.RecordingsExpiring
All Implemented Interfaces:
Cloneable, Iterable<IProgramInfo>, IPropertyAware<IRecordingsExpiring.Props>, IVersionable, ISendable, IMythResponse<IRecordingsExpiring.Props>, IRecordings, IRecordingsExpiring

public class RecordingsExpiring
extends ARecordings<IRecordingsExpiring.Props>
implements IRecordingsExpiring


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IRecordingsExpiring
IRecordingsExpiring.Props
 
Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Constructor Summary
RecordingsExpiring(IMythPacket packet)
           
RecordingsExpiring(ProtocolVersion protoVersion, List<String> responseArgs)
           
 
Method Summary
protected  int getSizePropertyIndex()
           
static RecordingsExpiring valueOf(IProgramInfoList programs)
          Constructs a recordings expiring list from a list of programs.
 
Methods inherited from class org.jmythapi.protocol.response.impl.ARecordings
getExpectedSize, getProgramInfoList, getProgramInfoList, isEmpty, iterator, iterator, size, toString
 
Methods inherited from class org.jmythapi.protocol.response.impl.AMythResponse
checkSize, decodeProperty, encodeProperty, 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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jmythapi.protocol.response.IRecordings
getProgramInfoList, getProgramInfoList, isEmpty, iterator, iterator, size
 
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

RecordingsExpiring

public RecordingsExpiring(IMythPacket packet)

RecordingsExpiring

public RecordingsExpiring(ProtocolVersion protoVersion,
                          List<String> responseArgs)
Method Detail

getSizePropertyIndex

protected int getSizePropertyIndex()
Specified by:
getSizePropertyIndex in class ARecordings<IRecordingsExpiring.Props>
Returns:
the position within the response-arguments where the size property is located

valueOf

public static final RecordingsExpiring valueOf(IProgramInfoList programs)
Constructs a recordings expiring list from a list of programs.

Parameters:
programs - the expiring programs
Returns:
the expiring list


Copyright © 2008-2013. All Rights Reserved.