Lines Matching refs:State
40 public enum State {
46 State(int needs)
61 private State _state;
88 _state=State.START;
143 while (available<(_state==State.SKIP?1:_bytesNeeded))
152 if (_fragmentFrames && _state==State.DATA)
195 if (available<(_state==State.SKIP?1:_bytesNeeded))
201 while (_state!=State.DATA && available>=(_state==State.SKIP?1:_bytesNeeded))
207 _state=_opcode==WebSocketConnectionRFC6455.OP_CLOSE?State.SEEK_EOF:State.OPCODE;
225 _state=State.LENGTH_7;
240 _state=State.LENGTH_63;
244 _state=State.LENGTH_16;
248 _state=_masked?State.MASK:State.PAYLOAD;
266 _state=_masked?State.MASK:State.PAYLOAD;
285 _state=_masked?State.MASK:State.PAYLOAD;
294 _state=State.PAYLOAD;
300 _state=_skip?State.SKIP:State.DATA;
313 _state=State.START;
324 if (_state==State.DATA && available>=_bytesNeeded)
329 _state=State.START;
351 _state=State.START;