public void plugOut(Cable cable, Port endPort) { cable.unplug(); this.connected = false; endPort.connected = false; }