com.anabas.sharedlet
Interface CommunicationServiceListener
- public interface CommunicationServiceListener
CommunicationServiceListener is used to monitor the streams changing in CommunicationService
Method Summary |
void |
StreamAdded(java.lang.String name,
GMS_Stream stream)
when a stream added to the Communicationservice, the CommunicationService will
send a streamadded event to the registored Listener. |
void |
StreamRemoved(java.lang.String name)
when a stream removed to the Communicationservice, the CommunicationService will
send a streamRemoved event to the registored Listener. |
StreamAdded
public void StreamAdded(java.lang.String name,
GMS_Stream stream)
- when a stream added to the Communicationservice, the CommunicationService will
send a streamadded event to the registored Listener.
- Parameters:
name
- the added stream name.stream
- the GMS_Stream of the added stream.
StreamRemoved
public void StreamRemoved(java.lang.String name)
- when a stream removed to the Communicationservice, the CommunicationService will
send a streamRemoved event to the registored Listener.
- Parameters:
the
- name of the stream to remove.