Home
last modified time | relevance | path

Searched refs:Pong (Results 1 – 2 of 2) sorted by relevance

/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DWebSocketRecorder.java67 events.add(new Pong(buffer)); in onPong()
107 assertEquals(new Pong(payload), nextEvent()); in assertPong()
176 private static class Pong { class in WebSocketRecorder
179 private Pong(Buffer buffer) { in Pong() method in WebSocketRecorder.Pong
192 if (obj instanceof Pong) { in equals()
193 Pong other = (Pong) obj; in equals()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java221 sendFrame(new WebSocketFrame(OpCode.Pong, true, frame.getBinaryPayload())); in handleWebsocketFrame()
222 } else if (frame.getOpCode() == OpCode.Pong) { in handleWebsocketFrame()
390 Pong(10); enumConstant
412 return this == Close || this == Ping || this == Pong; in isControlFrame()