Package com.wowza.wms.websocket.model
Interface IWebSocketPingResult
public interface IWebSocketPingResult
-
Method Summary
Modifier and TypeMethodDescriptionvoidonResult(IWebSocketSession webSocketSession, long pingTime, long pingId, boolean result) voidonResult(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 Details
-
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
-