Searched refs:TransportState (Results 1 – 2 of 2) sorted by relevance
81 state_(TransportState::kClosed), in FdForwardTransport()86 bool FdForwardTransport::ChangeState(TransportState old_state, TransportState new_state) { in ChangeState()121 if (!ChangeState(TransportState::kClosed, TransportState::kListenSetup)) { in SetupListen()126 CHECK(ChangeState(TransportState::kListenSetup, TransportState::kListening)); in SetupListen()141 if (ChangeState(TransportState::kListening, TransportState::kClosed) || in StopListening()142 state_ == TransportState::kOpen) { in StopListening()206 if (state_ != TransportState::kOpen || seq_num != current_seq_num_) { in ReadFully()280 if (state_ != TransportState::kOpen) { in WriteFully()365 while (!ChangeState(TransportState::kListening, TransportState::kOpening)) { in Accept()366 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_);