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