org.jmythapi.protocol.response.impl
Class RemoteEncoderBusyStatus

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

public class RemoteEncoderBusyStatus
extends AMythResponse<IRemoteEncoderBusyStatus.Props>
implements IRemoteEncoderBusyStatus


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IRemoteEncoderBusyStatus
IRemoteEncoderBusyStatus.Props
 
Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Constructor Summary
RemoteEncoderBusyStatus(IMythPacket packet)
           
 
Method Summary
protected  int getExpectedSize(List<String> responseArgs)
          This function returns the expected size of the response-argument-list.
 InputInfoTuned getInputInfo()
          Gets the input that is currently used by the encoder.
 boolean isBusy()
           
 String toString()
          Returns the content of this data object as a formatted string.
 
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.IVersionable
getVersionNr
 
Methods inherited from interface org.jmythapi.IPropertyAware
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject
 

Constructor Detail

RemoteEncoderBusyStatus

public RemoteEncoderBusyStatus(IMythPacket packet)
Method Detail

getExpectedSize

protected int getExpectedSize(List<String> responseArgs)
Description copied from class: AMythResponse

This function returns the expected size of the response-argument-list.

The expected size may be different depending on the current MythTV-protocol-version.
The default implementation of this function uses EnumUtils#getEnumLength(Class, int) to determine the expected size of the argument-list.

Overrides:
getExpectedSize in class AMythResponse<IRemoteEncoderBusyStatus.Props>
Parameters:
responseArgs - the response-argument-list

isBusy

public boolean isBusy()
Specified by:
isBusy in interface IRemoteEncoderBusyStatus

getInputInfo

public InputInfoTuned getInputInfo()
Description copied from interface: IRemoteEncoderBusyStatus
Gets the input that is currently used by the encoder.

Specified by:
getInputInfo in interface IRemoteEncoderBusyStatus
Returns:
the busy input or null
Since:
37

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 AData<IRemoteEncoderBusyStatus.Props>


Copyright © 2008-2013. All Rights Reserved.