Home
last modified time | relevance | path

Searched refs:WebSocketFrame (Results 1 – 3 of 3) sorted by relevance

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java51 import fi.iki.elonen.NanoWSD.WebSocketFrame.CloseCode;
52 import fi.iki.elonen.NanoWSD.WebSocketFrame.CloseFrame;
53 import fi.iki.elonen.NanoWSD.WebSocketFrame.OpCode;
71 private WebSocketFrame.OpCode continuousOpCode = null;
73 private final List<WebSocketFrame> continuousFrames = new LinkedList<WebSocketFrame>();
108 protected abstract void onMessage(WebSocketFrame message); in onMessage()
110 protected abstract void onPong(WebSocketFrame pong); in onPong()
120 protected void debugFrameReceived(WebSocketFrame frame) { in debugFrameReceived()
130 protected void debugFrameSent(WebSocketFrame frame) { in debugFrameSent()
175 private void handleCloseFrame(WebSocketFrame frame) throws IOException { in handleCloseFrame()
[all …]
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/
DDebugWebSocketServer.java41 import fi.iki.elonen.NanoWSD.WebSocketFrame.CloseCode;
87 protected void onMessage(WebSocketFrame message) { in onMessage()
97 protected void onPong(WebSocketFrame pong) { in onPong()
109 protected void debugFrameReceived(WebSocketFrame frame) { in debugFrameReceived()
116 protected void debugFrameSent(WebSocketFrame frame) { in debugFrameSent()
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java54 import fi.iki.elonen.NanoWSD.WebSocketFrame;
55 import fi.iki.elonen.NanoWSD.WebSocketFrame.CloseCode;
82 protected void onPong(WebSocketFrame pong) { in openWebSocket()
90 protected void onMessage(WebSocketFrame message) { in openWebSocket()