public void addBOSHClientResponseListener ( final BOSHClientResponseListener listener ) { if ( listener == null ) { throw ( new IllegalArgumentException ( NULL_LISTENER ) ) ; } responseListeners . add ( listener ) ; }
Adds a response message listener to the session .