org.jmythapi.protocol.response.impl
Class InputInfoTuned

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

public class InputInfoTuned
extends AMythResponse<IInputInfoTuned.Props>
implements IInputInfoTuned


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IInputInfoTuned
IInputInfoTuned.Props
 
Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Fields inherited from interface org.jmythapi.protocol.response.IInputInfo
EMPTY_INPUT
 
Constructor Summary
InputInfoTuned(IMythPacket packet)
           
InputInfoTuned(ProtocolVersion protoVersion, List<String> responseArgs)
           
 
Method Summary
 Integer getCardID()
          Gets the ID of the physical capture card.
 Integer getChannelID()
          Gets the id of the currently tuned channel.
 Integer getInputID()
          Gets the ID of a specific input.
 String getInputName()
          Gets the name of the input.
 Integer getLiveTvOrder()
          Gets the live-TV order of the input.
 Integer getMultiplexID()
          Gets the multiplex ID of the input.
 Integer getSourceID()
          Gets the source ID.
 boolean isBusy()
          Gets the busy status of the encoder input.
 
Methods inherited from class org.jmythapi.protocol.response.impl.AMythResponse
checkSize, decodeProperty, encodeProperty, getExpectedSize, 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, toString
 
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

InputInfoTuned

public InputInfoTuned(IMythPacket packet)

InputInfoTuned

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

getInputName

public String getInputName()
Description copied from interface: IInputInfo
Gets the name of the input.

Specified by:
getInputName in interface IInputInfo
Returns:
the input name

getSourceID

public Integer getSourceID()
Description copied from interface: IInputInfo
Gets the source ID.

Specified by:
getSourceID in interface IBasicInputInfo
Specified by:
getSourceID in interface IInputInfo
Returns:
the source ID. This is usually the first digit of the channel ID.

getInputID

public Integer getInputID()
Description copied from interface: IInputInfo
Gets the ID of a specific input.

Specified by:
getInputID in interface IBasicInputInfo
Specified by:
getInputID in interface IInputInfo
Returns:
the input ID

getCardID

public Integer getCardID()
Description copied from interface: IInputInfo
Gets the ID of the physical capture card.

Specified by:
getCardID in interface IBasicInputInfo
Specified by:
getCardID in interface IInputInfo
Returns:
the capture card ID

getMultiplexID

public Integer getMultiplexID()
Description copied from interface: IInputInfo
Gets the multiplex ID of the input.

Specified by:
getMultiplexID in interface IInputInfo
Returns:
the multiplex id.

getLiveTvOrder

public Integer getLiveTvOrder()
Description copied from interface: IInputInfo
Gets the live-TV order of the input.

Specified by:
getLiveTvOrder in interface IInputInfo
Returns:
the order for live-TV

getChannelID

public Integer getChannelID()
Description copied from interface: IInputInfoTuned
Gets the id of the currently tuned channel.

Specified by:
getChannelID in interface IInputInfoTuned
Returns:
the channel id

isBusy

public boolean isBusy()
Description copied from interface: IInputInfo
Gets the busy status of the encoder input.

Specified by:
isBusy in interface IInputInfo
Returns:
true if this input is busy.


Copyright © 2008-2013. All Rights Reserved.