private void Connect(NetHwInterface other)
 {
     if (otherInterface != null)
     {
         otherInterface.Disconnect( );
     }
     if (other != null)
     {
         other.Disconnect( );
         other.otherInterface = this;
         EmulatorLogger.Log(LogLevel.Info, EventType.Connected, other.Name);
     }
     otherInterface = other;
     EmulatorLogger.Log(LogLevel.Info, EventType.Connected, this.Name);
 }
 private static void Disconnect(INetHwInterface a)
 {
     a.Disconnect( );
 }
Exemple #3
0
 private static void Disconnect(INetHwInterface a)
 {
     a.Disconnect( );
 }