public void addBOSHClientConnListener ( final BOSHClientConnListener listener ) { if ( listener == null ) { throw ( new IllegalArgumentException ( NULL_LISTENER ) ) ; } connListeners . add ( listener ) ; }
Adds a connection listener to the session .