Lines Matching refs:state
105 private volatile State state = State.OPEN; field in WsSession
397 return state == State.OPEN; in isOpen()
486 if (state != State.OPEN) { in doClose()
491 if (state != State.OPEN) { in doClose()
505 state = State.OUTPUT_CLOSED; in doClose()
530 if (state != State.CLOSED) { in onClose()
537 if (state == State.OPEN) { in onClose()
538 state = State.OUTPUT_CLOSED; in onClose()
542 state = State.CLOSED; in onClose()
554 if (state != State.CLOSED) { in onClose()
561 if (state == State.OPEN) { in onClose()
562 state = State.OUTPUT_CLOSED; in onClose()
566 state = State.CLOSED; in onClose()
711 if (state == State.OPEN) { in registerFuture()
818 if (state == State.CLOSED) { in processFrame()
1056 if (state == State.CLOSED) { in checkState()