public abstract class Endpoint extends Object
| Constructor and Description |
|---|
Endpoint() |
| 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.
|
abstract void |
onOpen(Session session)
Developers may implement this method to be notified when a new conversation has
just begun.
|
public abstract void onOpen(Session session)
session - public void onClose(Session session, CloseReason closeReason)
session - public void onError(Throwable thr, Session s)
Copyright © 2012. All Rights Reserved.