question: public void addControllerListener ( ControllerInterface listener ) { if ( listeners == null ) { listeners = new ArrayList < ControllerInterface > ( 1 ) ; } if ( ! listeners . contains ( listener ) ) { listeners . add ( listener ) ; } }
target:  Add a listener to handle: listener.sendPacketToDevice(message);