void TransportFlow::StateChangeInt(TransportLayer::State state) { if (state == state_) { return; } state_ = state; SignalStateChange(this, state_); }
void XmppClient::EnsureClosed() { if (!d_->signal_closed_) { d_->signal_closed_ = true; delivering_signal_ = true; SignalStateChange(XmppEngine::STATE_CLOSED); delivering_signal_ = false; } }
void TransportFlow::StateChange(TransportLayer *layer, TransportLayer::State state) { SignalStateChange(this, state); }