Package org.eclipse.jetty.websocket.api
Interface WebSocketPingPongListener
- All Superinterfaces:
WebSocketConnectionListener
WebSocket PING/PONG Listener interface for incoming WebSocket PING/PONG frames.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
onWebSocketPing
(ByteBuffer payload) A WebSocket PING has been received.default void
onWebSocketPong
(ByteBuffer payload) A WebSocket PONG has been received.Methods inherited from interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
onWebSocketClose, onWebSocketConnect, onWebSocketError
-
Method Details
-
onWebSocketPing
A WebSocket PING has been received.- Parameters:
payload
- the ping payload
-
onWebSocketPong
A WebSocket PONG has been received.- Parameters:
payload
- the pong payload
-