Class JettyWebSocketTransport.JettyWebSocketDelegate
java.lang.Object
org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
org.cometd.client.websocket.jetty.JettyWebSocketTransport.JettyWebSocketDelegate
- All Implemented Interfaces:
org.eclipse.jetty.websocket.api.Session.Listener
,org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding
- Enclosing class:
JettyWebSocketTransport
public class JettyWebSocketTransport.JettyWebSocketDelegate
extends AbstractWebSocketTransport.Delegate
implements org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.api.Session.Listener
org.eclipse.jetty.websocket.api.Session.Listener.Abstract, org.eclipse.jetty.websocket.api.Session.Listener.AbstractAutoDemanding, org.eclipse.jetty.websocket.api.Session.Listener.AutoDemanding
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
close()
protected boolean
isOpen()
void
onWebSocketClose
(int closeCode, String reason) void
onWebSocketError
(Throwable failure) void
onWebSocketOpen
(org.eclipse.jetty.websocket.api.Session session) void
onWebSocketText
(String data) void
protected void
Methods inherited from class org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
fail, failMessages, onClose, onData, onMessages, registerMessages, trimCloseReason
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.websocket.api.Session.Listener
onWebSocketBinary, onWebSocketFrame, onWebSocketPartialBinary, onWebSocketPartialText, onWebSocketPing, onWebSocketPong
-
Constructor Details
-
JettyWebSocketDelegate
public JettyWebSocketDelegate()
-
-
Method Details
-
onWebSocketOpen
public void onWebSocketOpen(org.eclipse.jetty.websocket.api.Session session) - Specified by:
onWebSocketOpen
in interfaceorg.eclipse.jetty.websocket.api.Session.Listener
-
onWebSocketText
- Specified by:
onWebSocketText
in interfaceorg.eclipse.jetty.websocket.api.Session.Listener
-
onWebSocketClose
- Specified by:
onWebSocketClose
in interfaceorg.eclipse.jetty.websocket.api.Session.Listener
-
onWebSocketError
- Specified by:
onWebSocketError
in interfaceorg.eclipse.jetty.websocket.api.Session.Listener
-
send
- Specified by:
send
in classAbstractWebSocketTransport.Delegate
-
shutdown
- Specified by:
shutdown
in classAbstractWebSocketTransport.Delegate
-
isOpen
protected boolean isOpen()- Overrides:
isOpen
in classAbstractWebSocketTransport.Delegate
-
close
protected void close()- Specified by:
close
in classAbstractWebSocketTransport.Delegate
-