public void connectToLink ( Link link ) throws ShanksException { if ( ! this . linksList . contains ( link ) ) { this . linksList . add ( link ) ; logger . finer ( "Device " + this . getID ( ) + " is now connected to Link " + link . getID ( ) ) ; link . connectDevice ( this ) ; } }
Connect the device to a link