public interface UriEndpoint extends Endpoint
Modifier and Type | Method and Description |
---|---|
ListenerSubscription |
addUriEndpointStateChangedListener(EventListener<UriEndpointStateChangedEvent> listener)
Add a
EventListener for event UriEndpointStateChangedEvent . |
void |
addUriEndpointStateChangedListener(EventListener<UriEndpointStateChangedEvent> listener,
Continuation<ListenerSubscription> cont)
Add a
EventListener for event UriEndpointStateChangedEvent . |
UriEndpointState |
getState()
Get State of the endpoint
|
void |
getState(Continuation<UriEndpointState> cont)
Get State of the endpoint
|
TFuture<UriEndpointState> |
getState(Transaction tx)
Get State of the endpoint
|
java.lang.String |
getUri()
Get The uri for this endpoint.
|
void |
getUri(Continuation<java.lang.String> cont)
Get The uri for this endpoint.
|
TFuture<java.lang.String> |
getUri(Transaction tx)
Get The uri for this endpoint.
|
void |
pause()
Pauses the feed
|
void |
pause(Continuation<java.lang.Void> cont)
Asynchronous version of pause:
Continuation.onSuccess(F) is called when the action is
done. |
void |
pause(Transaction tx)
Pauses the feed
|
void |
removeUriEndpointStateChangedListener(ListenerSubscription listenerSubscription)
Remove a
ListenerSubscription for event UriEndpointStateChangedEvent . |
void |
removeUriEndpointStateChangedListener(ListenerSubscription listenerSubscription,
Continuation<java.lang.Void> cont)
Remove a
ListenerSubscription for event UriEndpointStateChangedEvent . |
void |
stop()
Stops the feed
|
void |
stop(Continuation<java.lang.Void> cont)
Asynchronous version of stop:
Continuation.onSuccess(F) is called when the action is
done. |
void |
stop(Transaction tx)
Stops the feed
|
addElementConnectedListener, addElementConnectedListener, addElementDisconnectedListener, addElementDisconnectedListener, addMediaFlowInStateChangeListener, addMediaFlowInStateChangeListener, addMediaFlowOutStateChangeListener, addMediaFlowOutStateChangeListener, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getMaxOuputBitrate, getMaxOuputBitrate, getMaxOuputBitrate, getMaxOutputBitrate, getMaxOutputBitrate, getMaxOutputBitrate, getMinOuputBitrate, getMinOuputBitrate, getMinOuputBitrate, getMinOutputBitrate, getMinOutputBitrate, getMinOutputBitrate, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getStats, getStats, getStats, getStats, getStats, getStats, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, removeElementConnectedListener, removeElementConnectedListener, removeElementDisconnectedListener, removeElementDisconnectedListener, removeMediaFlowInStateChangeListener, removeMediaFlowInStateChangeListener, removeMediaFlowOutStateChangeListener, removeMediaFlowOutStateChangeListener, setAudioFormat, setAudioFormat, setAudioFormat, setMaxOuputBitrate, setMaxOuputBitrate, setMaxOuputBitrate, setMaxOutputBitrate, setMaxOutputBitrate, setMaxOutputBitrate, setMinOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setMinOutputBitrate, setMinOutputBitrate, setMinOutputBitrate, setOutputBitrate, setOutputBitrate, setOutputBitrate, setVideoFormat, setVideoFormat, setVideoFormat
addErrorListener, addErrorListener, addTag, addTag, addTag, getChildren, getChildren, getChildren, getChilds, getChilds, getChilds, getCreationTime, getCreationTime, getCreationTime, getId, getId, getId, getMediaPipeline, getMediaPipeline, getMediaPipeline, getName, getName, getName, getParent, getParent, getParent, getSendTagsInEvents, getSendTagsInEvents, getSendTagsInEvents, getTag, getTag, getTag, getTags, getTags, getTags, removeErrorListener, removeErrorListener, removeTag, removeTag, removeTag, setName, setName, setName, setSendTagsInEvents, setSendTagsInEvents, setSendTagsInEvents
isCommited, release, release, release, waitCommited, whenCommited, whenCommited
java.lang.String getUri()
void getUri(Continuation<java.lang.String> cont)
TFuture<java.lang.String> getUri(Transaction tx)
UriEndpointState getState()
void getState(Continuation<UriEndpointState> cont)
TFuture<UriEndpointState> getState(Transaction tx)
void pause()
void pause(Continuation<java.lang.Void> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.pause()
void pause(Transaction tx)
void stop()
void stop(Continuation<java.lang.Void> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.stop()
void stop(Transaction tx)
ListenerSubscription addUriEndpointStateChangedListener(EventListener<UriEndpointStateChangedEvent> listener)
EventListener
for event UriEndpointStateChangedEvent
. Synchronous call.listener
- Listener to be called on UriEndpointStateChangedEventvoid addUriEndpointStateChangedListener(EventListener<UriEndpointStateChangedEvent> listener, Continuation<ListenerSubscription> cont)
EventListener
for event UriEndpointStateChangedEvent
. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener
- Listener to be called on UriEndpointStateChangedEventcont
- Continuation to be called when the listener is registeredvoid removeUriEndpointStateChangedListener(ListenerSubscription listenerSubscription)
ListenerSubscription
for event UriEndpointStateChangedEvent
. Synchronous call.listenerSubscription
- Listener subscription to be removedvoid removeUriEndpointStateChangedListener(ListenerSubscription listenerSubscription, Continuation<java.lang.Void> cont)
ListenerSubscription
for event UriEndpointStateChangedEvent
. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription
- Listener subscription to be removedcont
- Continuation to be called when the listener is removed