public void listen(StanzaListener stanzaListener,StanzaFilter stanzaFilter){
  connection.addAsyncStanzaListener(stanzaListener,stanzaFilter);
  logger.info("Listening for incoming XMPP Stanzas...");
}

public void listen ( StanzaListener stanzaListener , StanzaFilter stanzaFilter ) { connection . addAsyncStanzaListener ( stanzaListener , stanzaFilter ) ; logger . info ( "Listening for incoming XMPP Stanzas..." ) ; }
begin listening for incoming messages .
