public class JettyWebSocketHandler extends Object implements org.eclipse.jetty.websocket.api.WebSocketListener
Constructor and Description |
---|
JettyWebSocketHandler(com.google.inject.Injector injector,
com.typesafe.config.Config config,
WebSocketImpl socket) |
Modifier and Type | Method and Description |
---|---|
void |
onWebSocketBinary(byte[] array,
int offset,
int len) |
void |
onWebSocketClose(int statusCode,
String reason) |
void |
onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session) |
void |
onWebSocketError(Throwable cause) |
void |
onWebSocketText(String value) |
public JettyWebSocketHandler(com.google.inject.Injector injector, com.typesafe.config.Config config, WebSocketImpl socket)
public void onWebSocketBinary(byte[] array, int offset, int len)
onWebSocketBinary
in interface org.eclipse.jetty.websocket.api.WebSocketListener
public void onWebSocketText(String value)
onWebSocketText
in interface org.eclipse.jetty.websocket.api.WebSocketListener
public void onWebSocketClose(int statusCode, String reason)
onWebSocketClose
in interface org.eclipse.jetty.websocket.api.WebSocketListener
public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
onWebSocketConnect
in interface org.eclipse.jetty.websocket.api.WebSocketListener
public void onWebSocketError(Throwable cause)
onWebSocketError
in interface org.eclipse.jetty.websocket.api.WebSocketListener
Copyright © 2014. All rights reserved.