org.teleal.cling.support.avtransport.impl
Class AVTransportService<T extends AVTransport>
java.lang.Object
org.teleal.cling.support.avtransport.AbstractAVTransportService
org.teleal.cling.support.avtransport.impl.AVTransportService<T>
public abstract class AVTransportService<T extends AVTransport>
- extends AbstractAVTransportService
Method Summary |
protected abstract T |
createTransport(long id)
|
protected AVTransportStateMachine |
createTransportStateMachine(long id)
|
protected AVTransportStateMachine |
findInstance(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
protected AVTransportStateMachine |
findInstance(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
boolean createDefaultTransport)
|
java.lang.String |
getCurrentTransportActions(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
DeviceCapabilities |
getDeviceCapabilities(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
MediaInfo |
getMediaInfo(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
PositionInfo |
getPositionInfo(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
TransportInfo |
getTransportInfo(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
TransportSettings |
getTransportSettings(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
void |
next(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
void |
pause(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
void |
play(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String speed)
|
void |
previous(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
void |
record(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
void |
seek(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String unit,
java.lang.String target)
|
void |
setAVTransportURI(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String currentURI,
java.lang.String currentURIMetaData)
|
void |
setNextAVTransportURI(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String nextURI,
java.lang.String nextURIMetaData)
|
void |
setPlayMode(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String newPlayMode)
|
void |
setRecordQualityMode(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String newRecordQualityMode)
|
void |
stop(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVTransportService
public AVTransportService(java.lang.Class<? extends AVTransportStateMachine> stateMachineDefinition,
java.lang.Class<? extends AbstractState> initialState,
java.lang.Class<T> transportClass)
throws org.teleal.cling.binding.LocalServiceBindingException
- Throws:
org.teleal.cling.binding.LocalServiceBindingException
setAVTransportURI
public void setAVTransportURI(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String currentURI,
java.lang.String currentURIMetaData)
throws AVTransportException
- Specified by:
setAVTransportURI
in class AbstractAVTransportService
- Throws:
AVTransportException
setNextAVTransportURI
public void setNextAVTransportURI(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String nextURI,
java.lang.String nextURIMetaData)
throws AVTransportException
- Specified by:
setNextAVTransportURI
in class AbstractAVTransportService
- Throws:
AVTransportException
setPlayMode
public void setPlayMode(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String newPlayMode)
throws AVTransportException
- Specified by:
setPlayMode
in class AbstractAVTransportService
- Throws:
AVTransportException
setRecordQualityMode
public void setRecordQualityMode(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String newRecordQualityMode)
throws AVTransportException
- Specified by:
setRecordQualityMode
in class AbstractAVTransportService
- Throws:
AVTransportException
getMediaInfo
public MediaInfo getMediaInfo(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
getMediaInfo
in class AbstractAVTransportService
- Throws:
AVTransportException
getTransportInfo
public TransportInfo getTransportInfo(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
getTransportInfo
in class AbstractAVTransportService
- Throws:
AVTransportException
getPositionInfo
public PositionInfo getPositionInfo(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
getPositionInfo
in class AbstractAVTransportService
- Throws:
AVTransportException
getDeviceCapabilities
public DeviceCapabilities getDeviceCapabilities(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
getDeviceCapabilities
in class AbstractAVTransportService
- Throws:
AVTransportException
getTransportSettings
public TransportSettings getTransportSettings(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
getTransportSettings
in class AbstractAVTransportService
- Throws:
AVTransportException
getCurrentTransportActions
public java.lang.String getCurrentTransportActions(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
getCurrentTransportActions
in class AbstractAVTransportService
- Throws:
AVTransportException
stop
public void stop(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
stop
in class AbstractAVTransportService
- Throws:
AVTransportException
play
public void play(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String speed)
throws AVTransportException
- Specified by:
play
in class AbstractAVTransportService
- Throws:
AVTransportException
pause
public void pause(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
pause
in class AbstractAVTransportService
- Throws:
AVTransportException
record
public void record(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
record
in class AbstractAVTransportService
- Throws:
AVTransportException
seek
public void seek(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
java.lang.String unit,
java.lang.String target)
throws AVTransportException
- Specified by:
seek
in class AbstractAVTransportService
- Throws:
AVTransportException
next
public void next(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
next
in class AbstractAVTransportService
- Throws:
AVTransportException
previous
public void previous(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Specified by:
previous
in class AbstractAVTransportService
- Throws:
AVTransportException
findInstance
protected AVTransportStateMachine findInstance(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
throws AVTransportException
- Throws:
AVTransportException
findInstance
protected AVTransportStateMachine findInstance(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
boolean createDefaultTransport)
throws AVTransportException
- Throws:
AVTransportException
createTransportStateMachine
protected AVTransportStateMachine createTransportStateMachine(long id)
createTransport
protected abstract T createTransport(long id)
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.