/// <summary> /// Cable initiated to connect /// </summary> /// <param name="newCable">Cable calling the connection</param> public void CableConnected(Cable newCable) { if (cable == null) { cable = newCable; } else { // A cable is already connected, disconnect it cable.InterfaceDisconnected(this); // and connect the new one cable = newCable; cable.Ready(); } }