|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWebSocketConnectionRegistry
Tracks all currently connected WebSocket clients
| Method Summary | |
|---|---|
IWebSocketConnection |
getConnection(Application application,
String sessionId,
Integer pageId)
|
Collection<IWebSocketConnection> |
getConnections(Application application)
|
void |
removeConnection(Application application,
String sessionId,
Integer pageId)
Removes a web socket connection from the registry at the specified coordinates (application+session+page) |
void |
setConnection(Application application,
String sessionId,
Integer pageId,
IWebSocketConnection connection)
Adds a new connection into the registry at the specified coordinates (application+session+page) |
| Method Detail |
|---|
IWebSocketConnection getConnection(Application application,
String sessionId,
Integer pageId)
application - the web application to look insessionId - the web socket client session idpageId - the web socket client page id
Collection<IWebSocketConnection> getConnections(Application application)
application - the web application to look in
void setConnection(Application application,
String sessionId,
Integer pageId,
IWebSocketConnection connection)
application - the web application to look insessionId - the web socket client session idpageId - the web socket client page idconnection - the web socket connection to add
void removeConnection(Application application,
String sessionId,
Integer pageId)
application - the web application to look insessionId - the web socket client session idpageId - the web socket client page id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||