public interface IWebSocketConnectionRegistry
Modifier and Type | Method and Description |
---|---|
IWebSocketConnection |
getConnection(Application application,
String sessionId,
IKey key) |
Collection<IWebSocketConnection> |
getConnections(Application application) |
Collection<IWebSocketConnection> |
getConnections(Application application,
String sessionId) |
void |
removeConnection(Application application,
String sessionId,
IKey key)
Removes a web socket connection from the registry at the specified coordinates (application+session+page)
|
void |
setConnection(Application application,
String sessionId,
IKey key,
IWebSocketConnection connection)
Adds a new connection into the registry at the specified coordinates (application+session+page)
|
IWebSocketConnection getConnection(Application application, String sessionId, IKey key)
application
- the web application to look insessionId
- the http session idkey
- the web socket client keyCollection<IWebSocketConnection> getConnections(Application application, String sessionId)
application
- the web application to look insessionId
- the http session idCollection<IWebSocketConnection> getConnections(Application application)
application
- the web application to look invoid setConnection(Application application, String sessionId, IKey key, IWebSocketConnection connection)
application
- the web application to look insessionId
- the http session idkey
- the web socket client keyconnection
- the web socket connection to addvoid removeConnection(Application application, String sessionId, IKey key)
application
- the web application to look insessionId
- the http session idkey
- the web socket client keyCopyright © 2006–2022 Apache Software Foundation. All rights reserved.