Package com.wowza.wms.websocket.model
Interface IWebSocketPingResult
-
public interface IWebSocketPingResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onResult(IWebSocketSession webSocketSession, long pingTime, long pingId, boolean result)
void
onResult(IWebSocketSession webSocketSession, long pingTime, long pingId, boolean result, int opcode)
Triggered when WebSocket pong is received or pong is not received within ping timeout
-
-
-
Method Detail
-
onResult
void onResult(IWebSocketSession webSocketSession, long pingTime, long pingId, boolean result, int opcode)
Triggered when WebSocket pong is received or pong is not received within ping timeout- Parameters:
webSocketSession
- WebSocket sessionpingTime
- elapsed time for ping responsepingId
- ping IDresult
- true, if pong received, false if timeout
-
onResult
void onResult(IWebSocketSession webSocketSession, long pingTime, long pingId, boolean result)
-
-