| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | onClose(Session
The session session, CloseReason Why the session was closed closeReason)Event that is triggered when a session has closed. |
| public void | |
| public abstract void | onOpen(Session
The new session. session, EndpointConfig The configuration with which the Endpoint was configured. config)Event that is triggered when a new session starts. |
| Endpoint | back to summary |
|---|---|
| public Endpoint() | |
| onClose | back to summary |
|---|---|
| public void onClose(Session session, CloseReason closeReason) Event that is triggered when a session has closed.
| |
| onError | back to summary |
|---|---|
| public void onError(Session session, Throwable throwable) Event that is triggered when a protocol error occurs. | |
| onOpen | back to summary |
|---|---|
| public abstract void onOpen(Session session, EndpointConfig config) Event that is triggered when a new session starts.
| |