public interface IWebSocketPingResult
| Modifier and Type | Method | Description |
|---|---|---|
void |
onResult(IWebSocketSession webSocketSession,
long pingTime,
long pingId,
boolean result) |
Triggered when WebSocket pong is received or pong is not received within ping timeout
|
void onResult(IWebSocketSession webSocketSession, long pingTime, long pingId, boolean result)
webSocketSession - WebSocket sessionpingTime - elapsed time for ping responsepingId - ping IDresult - true, if pong received, false if timeout