| Package | Description |
|---|---|
| javax.net.websocket | |
| org.glassfish.tyrus.platform |
| Modifier and Type | Method and Description |
|---|---|
Set<Session> |
ClientContainer.getActiveSessions()
Return a copy of the Set of the currently active web socket sessions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Endpoint.onClose(Session session,
CloseReason closeReason)
Developers may implement this method to be notified when an active conversation
has just been terminated.
|
void |
Endpoint.onError(Throwable thr,
Session s)
Developers may implement this method when a web socket connection, represented by the session,
creates some kind of error that is not modeled in the web socket protocol.
|
abstract void |
Endpoint.onOpen(Session session)
Developers may implement this method to be notified when a new conversation has
just begun.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SessionImpl<T>
Implementation of the WebSocketConversation.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
RemoteEndpointWrapper.getSession() |
| Modifier and Type | Method and Description |
|---|---|
Set<Session> |
ServerContainerImpl.getActiveSessions()
Return an unordered collection of the currently active web socket sessions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EndpointAdapter.onClose(Session session,
CloseReason closeReason) |
void |
EndpointAdapter.onError(Throwable thr,
Session s) |
void |
EndpointAdapter.onOpen(Session session) |
Copyright © 2012. All Rights Reserved.