EventQueryRegistration function ( EventQuery arg0 , EventListener arg1 ) { return addListener ( arg0 , arg1 , true ) ; }
add an event listener that can be fired only one , it may be either a packetlistener or a eventlistener concode_field_sep String STREAM_TERMINATED concode_elem_sep Vector eventListeners concode_elem_sep String CONNECTION_FAILED concode_elem_sep String STREAM_AUTHENTICATED concode_elem_sep String COMPRESSION_INITIALIZED concode_elem_sep String UNMATCHED_STANZA concode_elem_sep String STREAM_ERROR concode_elem_sep String NOT_AUTHORIZED concode_elem_sep String STREAM_ACCOUNT_REGISTERED concode_elem_sep String CONNECTION_LOST concode_elem_sep String STREAM_CONNECTED concode_elem_sep String STREAM_INITIALIZED concode_elem_sep String TLS_INITIALIZED concode_elem_sep String DELAYED_OPERATION concode_elem_sep String REGISTRATION_FAILED concode_field_sep void dispatchEvent concode_elem_sep void removeEventListener concode_elem_sep EventQueryRegistration addDelayedListener concode_elem_sep void dispatchDelayed concode_elem_sep void removeAllElements concode_elem_sep EventQueryRegistration addEventListener concode_elem_sep EventQueryRegistration addListener