Package org.kurento.client
Interface Dispatcher
-
- All Superinterfaces:
Hub
,KurentoObject
,MediaObject
public interface Dispatcher extends Hub
AHub
that allows routing between arbitrary port pairs
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Dispatcher.Builder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connect(HubPort source, HubPort sink)
Connects each correspondingMediaType
of the given source port with the sink port.void
connect(HubPort source, HubPort sink, Continuation<Void> cont)
Asynchronous version of connect:Continuation.onSuccess(F)
is called when the action is done.void
connect(Transaction tx, HubPort source, HubPort sink)
Connects each correspondingMediaType
of the given source port with the sink port.-
Methods inherited from interface org.kurento.client.Hub
getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot
-
Methods inherited from interface org.kurento.client.KurentoObject
addEventListener, invoke, isCommited, release, release, release, removeEventListener, waitCommited, whenCommited, whenCommited
-
Methods inherited from interface org.kurento.client.MediaObject
addErrorListener, addErrorListener, addTag, addTag, addTag, getChildren, getChildren, getChildren, 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
-
-
-
-
Method Detail
-
connect
void connect(HubPort source, HubPort sink)
Connects each correspondingMediaType
of the given source port with the sink port.- Parameters:
source
- Source port to be connectedsink
- Sink port to be connected
-
connect
void connect(HubPort source, HubPort sink, Continuation<Void> cont)
Asynchronous version of connect:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.- Parameters:
source
- Source port to be connectedsink
- Sink port to be connected- See Also:
connect(org.kurento.client.HubPort, org.kurento.client.HubPort)
-
connect
void connect(Transaction tx, HubPort source, HubPort sink)
Connects each correspondingMediaType
of the given source port with the sink port.- Parameters:
source
- Source port to be connectedsink
- Sink port to be connected
-
-