public class TomsBinaryEventSocket extends org.eclipse.jetty.websocket.api.WebSocketAdapter
Modifier and Type | Field and Description |
---|---|
private CountDownLatch |
closeLatch |
(package private) org.eclipse.jetty.websocket.api.Session |
session_ |
Constructor and Description |
---|
TomsBinaryEventSocket() |
Modifier and Type | Method and Description |
---|---|
void |
onWebSocketBinary(byte[] payload,
int offset,
int len) |
void |
onWebSocketClose(int statusCode,
String reason) |
void |
onWebSocketConnect(org.eclipse.jetty.websocket.api.Session sess) |
void |
onWebSocketError(Throwable cause) |
org.eclipse.jetty.websocket.api.Session session_
private final CountDownLatch closeLatch
public TomsBinaryEventSocket()
public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session sess)
onWebSocketConnect
in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
onWebSocketConnect
in class org.eclipse.jetty.websocket.api.WebSocketAdapter
public void onWebSocketBinary(byte[] payload, int offset, int len)
onWebSocketBinary
in interface org.eclipse.jetty.websocket.api.WebSocketListener
onWebSocketBinary
in class org.eclipse.jetty.websocket.api.WebSocketAdapter
public void onWebSocketClose(int statusCode, String reason)
onWebSocketClose
in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
onWebSocketClose
in class org.eclipse.jetty.websocket.api.WebSocketAdapter
public void onWebSocketError(Throwable cause)
onWebSocketError
in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
onWebSocketError
in class org.eclipse.jetty.websocket.api.WebSocketAdapter
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses