public class EndpointAdapter extends Endpoint
| Constructor and Description |
|---|
EndpointAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(Session session,
CloseReason closeReason)
Developers may implement this method to be notified when an active conversation
has just been terminated.
|
void |
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.
|
void |
onOpen(Session session)
Developers may implement this method to be notified when a new conversation has
just begun.
|
public void onOpen(Session session)
Endpointpublic void onClose(Session session, CloseReason closeReason)
Endpointpublic void onError(Throwable thr, Session s)
EndpointCopyright © 2012. All Rights Reserved.