public abstract static class CapabilityMediaStreaming.DefaultMediaStreamListenerMultiplexer extends java.lang.Object implements CapabilityMediaStreaming.MediaStreamListenerMultiplexer
| Constructor and Description |
|---|
DefaultMediaStreamListenerMultiplexer()
A no-arg constructor to instantiate the members of multiplexer.
|
| Modifier and Type | Method and Description |
|---|---|
CapabilityMediaStreaming.MediaStreamListener |
getCallbackHandler(int channelPort)
A function to fetch the stream listener assigned for the port.
|
boolean |
hasCallbackHandlerAssigned(int channelPort)
A function to verify the assignment of stream listener to the channel port.
|
void |
removeChannelHandleCallback(int channelPort)
Removes the assigned callback for the channel port.
|
void |
setChannelHandleCallback(int channelPort,
CapabilityMediaStreaming.MediaStreamListener callback)
Sets Stream listener for the channel port.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonDataReceived, onStatusChangedpublic DefaultMediaStreamListenerMultiplexer()
public boolean hasCallbackHandlerAssigned(int channelPort)
CapabilityMediaStreaming.MediaStreamListenerMultiplexerhasCallbackHandlerAssigned in interface CapabilityMediaStreaming.MediaStreamListenerMultiplexerchannelPort - The Port over which this communication should take place.true if assigned; otherwise false.public void removeChannelHandleCallback(int channelPort)
CapabilityMediaStreaming.MediaStreamListenerMultiplexerremoveChannelHandleCallback in interface CapabilityMediaStreaming.MediaStreamListenerMultiplexerchannelPort - The Port over which this communication should take place.public CapabilityMediaStreaming.MediaStreamListener getCallbackHandler(int channelPort)
CapabilityMediaStreaming.MediaStreamListenerMultiplexergetCallbackHandler in interface CapabilityMediaStreaming.MediaStreamListenerMultiplexerchannelPort - The Port over which this communication should take place.CapabilityMediaStreaming.MediaStreamListener.public void setChannelHandleCallback(int channelPort,
CapabilityMediaStreaming.MediaStreamListener callback)
CapabilityMediaStreaming.MediaStreamListenerMultiplexersetChannelHandleCallback in interface CapabilityMediaStreaming.MediaStreamListenerMultiplexerchannelPort - The Port over which this communication should take place.callback - CapabilityMediaStreaming.MediaStreamListener.