Package org.cometd.websocket.client
Class WebSocketTransport.WebSocketDelegate
java.lang.Object
org.cometd.websocket.client.common.AbstractWebSocketTransport.Delegate
org.cometd.websocket.client.WebSocketTransport.WebSocketDelegate
- All Implemented Interfaces:
javax.websocket.MessageHandler
,javax.websocket.MessageHandler.Whole<String>
- Enclosing class:
- WebSocketTransport
protected class WebSocketTransport.WebSocketDelegate extends AbstractWebSocketTransport.Delegate implements javax.websocket.MessageHandler.Whole<String>
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
WebSocketDelegate()
-
Method Summary
Methods inherited from class org.cometd.websocket.client.common.AbstractWebSocketTransport.Delegate
fail, failMessages, onClose, onData, onMessages, registerMessages
-
Constructor Details
-
WebSocketDelegate
protected WebSocketDelegate()
-
-
Method Details
-
onMessage
- Specified by:
onMessage
in interfacejavax.websocket.MessageHandler.Whole<String>
-
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
-