|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientService
ClientService allows you to query connected Clients and
attach/detach ClientListeners to listen to connection events.
All the methods are thread-safe.
Client,
ClientListener| Method Summary | |
|---|---|
String |
addClientListener(ClientListener clientListener)
Adds a ClientListener. |
Collection<Client> |
getConnectedClients()
Returns all connected clients to this member. |
boolean |
removeClientListener(String registrationId)
Removes a ClientListener. |
| Method Detail |
|---|
Collection<Client> getConnectedClients()
String addClientListener(ClientListener clientListener)
clientListener - the ClientListener to add
removeClientListener(String) method.
NullPointerException - if clientListener is null.boolean removeClientListener(String registrationId)
registrationId - Id of the ClientListener registration.
NullPointerException - if registrationId is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||