Class WebSocketTransport.WebSocketDelegate
java.lang.Object
org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
org.cometd.client.websocket.jakarta.WebSocketTransport.WebSocketDelegate
- All Implemented Interfaces:
jakarta.websocket.MessageHandler
,jakarta.websocket.MessageHandler.Whole<String>
- Enclosing class:
WebSocketTransport
public class WebSocketTransport.WebSocketDelegate
extends AbstractWebSocketTransport.Delegate
implements jakarta.websocket.MessageHandler.Whole<String>
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.websocket.MessageHandler
jakarta.websocket.MessageHandler.Partial<T>, jakarta.websocket.MessageHandler.Whole<T>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
fail, failMessages, onClose, onData, onMessages, registerMessages, trimCloseReason
-
Constructor Details
-
WebSocketDelegate
public WebSocketDelegate()
-
-
Method Details
-
onMessage
-
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
-