internal virtual void OnSwitchingProtocol(SwitchingProtocolEventArgs args)
 {
     if (SwitchingProtocol != null)
     {
         SwitchingProtocol(this, args);
     }
 }
 void ws_SwitchingProtocol(object sender, SwitchingProtocolEventArgs e)
 {
     if (SwitchingProtocol != null)
     {
         SwitchingProtocol(sender, e);
     }
 }