Home
last modified time | relevance | path

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

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java191 if (frame.getOpCode() != OpCode.Continuation) { in handleFrameFragment()
196 this.continuousOpCode = frame.getOpCode(); in handleFrameFragment()
218 if (frame.getOpCode() == OpCode.Close) { in handleWebsocketFrame()
220 } else if (frame.getOpCode() == OpCode.Ping) { in handleWebsocketFrame()
222 } else if (frame.getOpCode() == OpCode.Pong) { in handleWebsocketFrame()
224 } else if (!frame.isFin() || frame.getOpCode() == OpCode.Continuation) { in handleWebsocketFrame()
228 } else if (frame.getOpCode() == OpCode.Text || frame.getOpCode() == OpCode.Binary) { in handleWebsocketFrame()
368 assert wrap.getOpCode() == OpCode.Close; in CloseFrame()
449 if (frame.getOpCode() == OpCode.Close) { in read()
521 setOpCode(clone.getOpCode()); in WebSocketFrame()
[all …]