internal void OnStopped() { if (StoppedCallback != null) { StoppedCallback(protocol_); } AddToEventQueue(CheckConnectState); }