Class PingPongHandler

  • All Implemented Interfaces:
    org.eclipse.jetty.websocket.api.WebSocketConnectionListener, org.eclipse.jetty.websocket.api.WebSocketListener, org.eclipse.jetty.websocket.api.WebSocketPingPongListener

    public class PingPongHandler
    extends org.eclipse.jetty.websocket.api.WebSocketAdapter
    implements org.eclipse.jetty.websocket.api.WebSocketPingPongListener
    • Constructor Summary

      Constructors 
      Constructor Description
      PingPongHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onWebSocketPing​(java.nio.ByteBuffer payload)  
      void onWebSocketPong​(java.nio.ByteBuffer payload)  
      • Methods inherited from class org.eclipse.jetty.websocket.api.WebSocketAdapter

        getRemote, getSession, isConnected, isNotConnected, onWebSocketBinary, onWebSocketClose, onWebSocketConnect, onWebSocketError, onWebSocketText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener

        onWebSocketClose, onWebSocketConnect, onWebSocketError
    • Constructor Detail

      • PingPongHandler

        public PingPongHandler()
    • Method Detail

      • onWebSocketPing

        public void onWebSocketPing​(java.nio.ByteBuffer payload)
        Specified by:
        onWebSocketPing in interface org.eclipse.jetty.websocket.api.WebSocketPingPongListener
      • onWebSocketPong

        public void onWebSocketPong​(java.nio.ByteBuffer payload)
        Specified by:
        onWebSocketPong in interface org.eclipse.jetty.websocket.api.WebSocketPingPongListener