Searched refs:TCPSocketState (Results 1 – 6 of 6) sorted by relevance
11 TCPSocketState::TCPSocketState(StateType state) in TCPSocketState() function in ppapi::TCPSocketState17 TCPSocketState::~TCPSocketState() { in ~TCPSocketState()20 void TCPSocketState::SetPendingTransition(TransitionType pending_transition) { in SetPendingTransition()25 void TCPSocketState::CompletePendingTransition(bool success) { in CompletePendingTransition()51 void TCPSocketState::DoTransition(TransitionType transition, bool success) { in DoTransition()56 bool TCPSocketState::IsValidTransition(TransitionType transition) const { in IsValidTransition()78 bool TCPSocketState::IsPending(TransitionType transition) const { in IsPending()82 bool TCPSocketState::IsConnected() const { in IsConnected()86 bool TCPSocketState::IsBound() const { in IsBound()
12 class PPAPI_SHARED_EXPORT TCPSocketState {41 explicit TCPSocketState(StateType state);42 ~TCPSocketState();
37 state_(TCPSocketState::INITIAL), in TCPSocketResourceBase()57 state_(TCPSocketState::CONNECTED), in TCPSocketResourceBase()75 if (state_.IsPending(TCPSocketState::BIND)) in BindImpl()77 if (!state_.IsValidTransition(TCPSocketState::BIND)) in BindImpl()81 state_.SetPendingTransition(TCPSocketState::BIND); in BindImpl()98 if (state_.IsPending(TCPSocketState::CONNECT)) in ConnectImpl()100 if (!state_.IsValidTransition(TCPSocketState::CONNECT)) in ConnectImpl()104 state_.SetPendingTransition(TCPSocketState::CONNECT); in ConnectImpl()120 if (state_.IsPending(TCPSocketState::CONNECT)) in ConnectWithNetAddressImpl()122 if (!state_.IsValidTransition(TCPSocketState::CONNECT)) in ConnectWithNetAddressImpl()[all …]
130 TCPSocketState state_;
40 using ppapi::TCPSocketState;63 state_(TCPSocketState::INITIAL), in PepperTCPSocketMessageFilter()91 state_(TCPSocketState::CONNECTED), in PepperTCPSocketMessageFilter()265 if (!state_.IsValidTransition(TCPSocketState::SSL_CONNECT) || in OnMsgSSLHandshake()294 state_.SetPendingTransition(TCPSocketState::SSL_CONNECT); in OnMsgSSLHandshake()325 DCHECK_EQ(state_.state(), TCPSocketState::CONNECTED); in OnMsgRead()332 DCHECK_EQ(state_.state(), TCPSocketState::SSL_CONNECTED); in OnMsgRead()401 if (state_.state() != TCPSocketState::LISTENING) in OnMsgAccept()420 if (state_.state() == TCPSocketState::CLOSED) in OnMsgClose()423 state_.DoTransition(TCPSocketState::CLOSE, true); in OnMsgClose()[all …]
181 ppapi::TCPSocketState state_;