Searched refs:TransportState (Results 1 – 2 of 2) sorted by relevance
83 state_(TransportState::kClosed), in FdForwardTransport()88 bool FdForwardTransport::ChangeState(TransportState old_state, TransportState new_state) { in ChangeState()123 if (!ChangeState(TransportState::kClosed, TransportState::kListenSetup)) { in SetupListen()128 CHECK(ChangeState(TransportState::kListenSetup, TransportState::kListening)); in SetupListen()143 if (ChangeState(TransportState::kListening, TransportState::kClosed) || in StopListening()144 state_ == TransportState::kOpen) { in StopListening()208 if (state_ != TransportState::kOpen || seq_num != current_seq_num_) { in ReadFully()282 if (state_ != TransportState::kOpen) { in WriteFully()372 while (!ChangeState(TransportState::kListening, TransportState::kOpening)) { in Accept()373 if (state_ == TransportState::kClosed || in Accept()[all …]
66 enum class TransportState { enum106 bool ChangeState(TransportState old_state, TransportState new_state); // REQUIRES(state_mutex_);142 TransportState state_; // GUARDED_BY(state_mutex_);