Searched refs:XmppState (Results 1 – 3 of 3) sorted by relevance
98 XmppState state() const { return state_; } in state()99 void set_state(XmppState state) { state_ = state; } in set_state()136 RunUntil(XmppChannel::XmppState::kConnected); in StartStream()139 void StartWithState(XmppChannel::XmppState state) { in StartWithState()144 void RunUntil(XmppChannel::XmppState st) { in RunUntil()156 EXPECT_EQ(XmppChannel::XmppState::kNotStarted, xmpp_client_.state()); in TEST_F()159 RunUntil(XmppChannel::XmppState::kConnected); in TEST_F()167 StartWithState(XmppChannel::XmppState::kConnected); in TEST_F()170 RunUntil(XmppChannel::XmppState::kAuthenticationStarted); in TEST_F()174 StartWithState(XmppChannel::XmppState::kAuthenticationStarted); in TEST_F()[all …]
161 case XmppState::kConnected: in HandleStanza()166 state_ = XmppState::kAuthenticationStarted; in HandleStanza()173 case XmppState::kAuthenticationStarted: in HandleStanza()175 state_ = XmppState::kStreamRestartedPostAuthentication; in HandleStanza()180 state_ = XmppState::kAuthenticationFailed; in HandleStanza()185 case XmppState::kStreamRestartedPostAuthentication: in HandleStanza()188 state_ = XmppState::kBindSent; in HandleStanza()234 state_ = XmppState::kSessionStarted; in OnBindCompleted()247 state_ = XmppState::kSubscribeStarted; in OnSessionEstablished()262 state_ = XmppState::kSubscribed; in OnSubscribed()[all …]
63 enum class XmppState { enum123 XmppState state_{XmppState::kNotStarted};