protected class JettyWebSocketTransport.JettyWebSocketDelegate extends AbstractWebSocketTransport.Delegate implements org.eclipse.jetty.websocket.api.WebSocketListener
| Modifier | Constructor and Description |
|---|---|
protected |
JettyWebSocketDelegate() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
protected boolean |
isOpen() |
void |
onWebSocketBinary(byte[] payload,
int offset,
int len) |
void |
onWebSocketClose(int closeCode,
String reason) |
void |
onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session) |
void |
onWebSocketError(Throwable failure) |
void |
onWebSocketText(String data) |
void |
send(String content) |
protected void |
shutdown(String reason) |
fail, failMessages, onClose, onData, onMessagespublic void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
onWebSocketConnect in interface org.eclipse.jetty.websocket.api.WebSocketListenerpublic void onWebSocketClose(int closeCode,
String reason)
onWebSocketClose in interface org.eclipse.jetty.websocket.api.WebSocketListenerpublic void onWebSocketText(String data)
onWebSocketText in interface org.eclipse.jetty.websocket.api.WebSocketListenerpublic void onWebSocketBinary(byte[] payload,
int offset,
int len)
onWebSocketBinary in interface org.eclipse.jetty.websocket.api.WebSocketListenerpublic void onWebSocketError(Throwable failure)
onWebSocketError in interface org.eclipse.jetty.websocket.api.WebSocketListenerpublic void send(String content)
send in class AbstractWebSocketTransport.Delegateprotected void shutdown(String reason)
shutdown in class AbstractWebSocketTransport.Delegateprotected boolean isOpen()
isOpen in class AbstractWebSocketTransport.Delegateprotected void close()
close in class AbstractWebSocketTransport.DelegateCopyright © 2008–2014 Dojo Foundation. All rights reserved.