[JDEV] JabberBeans ConnectionListener

Mark Derricutt mark at talios.com
Wed Aug 14 01:48:45 CDT 2002


Hiya, anyone here know why JabberBeans wouldn't fire any ConnectionListener 
events when I kill off my Jabber server?

I'm setting it up with:

  mConnection.addConnectionListener(this);

and:

  public void connectionChanged(ConnectionEvent connectionevent)
  {
    log.info("Connection state changed.");
    if (connectionevent.getState() == ConnectionEvent.STATE_DISCONNECTED)
    {
      reConnect();
    }
  }

But I'm not seeing the event fire?

Mark



More information about the JDev mailing list