Class AbstractWebSocketEndPoint

java.lang.Object
org.cometd.server.websocket.common.AbstractWebSocketEndPoint
Direct Known Subclasses:
JettyWebSocketEndPoint

public abstract class AbstractWebSocketEndPoint
extends java.lang.Object
  • Constructor Details

  • Method Details

    • send

      protected abstract void send​(ServerSession session, java.lang.String data, org.eclipse.jetty.util.Callback callback)
    • close

      public abstract void close​(int code, java.lang.String reason)
    • onMessage

      public void onMessage​(java.lang.String data, Promise<java.lang.Void> p)
    • onClose

      public void onClose​(int code, java.lang.String reason)
    • onError

      public void onError​(java.lang.Throwable failure)
    • flush

      protected void flush​(AbstractWebSocketEndPoint.Context context, Promise<java.lang.Void> promise)
    • writeComplete

      protected void writeComplete​(AbstractWebSocketEndPoint.Context context, java.util.List<ServerMessage> messages)