Class WebSocketTransport.WebSocketDelegate

java.lang.Object
org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
org.cometd.client.websocket.javax.WebSocketTransport.WebSocketDelegate
All Implemented Interfaces:
jakarta.websocket.MessageHandler, jakarta.websocket.MessageHandler.Whole<java.lang.String>
Enclosing class:
WebSocketTransport

public class WebSocketTransport.WebSocketDelegate
extends AbstractWebSocketTransport.Delegate
implements jakarta.websocket.MessageHandler.Whole<java.lang.String>
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    class  WebSocketTransport.WebSocketDelegate.WebSocketEndpoint  

    Nested classes/interfaces inherited from interface jakarta.websocket.MessageHandler

    jakarta.websocket.MessageHandler.Partial<T extends java.lang.Object>, jakarta.websocket.MessageHandler.Whole<T extends java.lang.Object>
  • Constructor Summary

    Constructors
    Constructor Description
    WebSocketDelegate()  
  • Method Summary

    Modifier and Type Method Description
    protected void close()  
    protected boolean isOpen()  
    void onMessage​(java.lang.String data)  
    void send​(java.lang.String content)  
    protected void shutdown​(java.lang.String reason)  

    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