org.jmythapi.protocol.response.impl
Class RemoteEncoderState
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<IRemoteEncoderState.Props>
org.jmythapi.protocol.response.impl.RemoteEncoderState
- All Implemented Interfaces:
- Cloneable, IPropertyAware<IRemoteEncoderState.Props>, IVersionable, ISendable, IMythResponse<IRemoteEncoderState.Props>, IRemoteEncoderState
public class RemoteEncoderState
- extends AMythResponse<IRemoteEncoderState.Props>
- implements IRemoteEncoderState
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, toString |
Methods inherited from interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
RemoteEncoderState
public RemoteEncoderState(IMythPacket packet)
getStateValue
public int getStateValue()
- Description copied from interface:
IRemoteEncoderState
- Gets the current state of a remote encoder as integer value.
This is the ordinal number of the IRemoteEncoderState.Props
.
- Specified by:
getStateValue
in interface IRemoteEncoderState
- Returns:
- the current state as integer value.
hasState
public boolean hasState(IRemoteEncoderState.State state)
- Specified by:
hasState
in interface IRemoteEncoderState
hasState
public boolean hasState(IRemoteEncoderState.State... states)
- Specified by:
hasState
in interface IRemoteEncoderState
getState
public IRemoteEncoderState.State getState()
- Description copied from interface:
IRemoteEncoderState
- Gets the current state of a remote encoder.
- Specified by:
getState
in interface IRemoteEncoderState
- Returns:
null
if there was an error or the RemoteEncoderState
otherwise.
Copyright © 2008-2013. All Rights Reserved.