Class AbstractWebSocketEndPoint

  • Direct Known Subclasses:
    JettyWebSocketEndPoint

    public abstract class AbstractWebSocketEndPoint
    extends java.lang.Object
    • Method Detail

      • 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)
      • send

        protected void send​(java.util.List<? extends ServerMessage> messages,
                            int batchSize,
                            org.eclipse.jetty.util.Callback callback)