Class AbstractWebSocketTransport.Delegate

java.lang.Object
org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
Direct Known Subclasses:
JettyWebSocketTransport.JettyWebSocketDelegate, OkHttpWebSocketTransport.OkHttpDelegate, WebSocketTransport.WebSocketDelegate
Enclosing class:
AbstractWebSocketTransport

protected abstract class AbstractWebSocketTransport.Delegate extends Object
  • Constructor Details

    • Delegate

      protected Delegate()
  • Method Details

    • onClose

      protected void onClose(int code, String reason)
    • onData

      protected void onData(String data)
    • onMessages

      protected void onMessages(List<Message.Mutable> messages)
    • registerMessages

      protected void registerMessages(TransportListener listener, List<Message.Mutable> messages)
    • trimCloseReason

      protected String trimCloseReason(String reason)
    • send

      protected abstract void send(String content)
    • fail

      protected void fail(Throwable failure, String reason)
    • failMessages

      protected void failMessages(Throwable cause)
    • isOpen

      protected boolean isOpen()
    • close

      protected abstract void close()
    • shutdown

      protected abstract void shutdown(String reason)