Smack

org.jivesoftware.smack
Interface ConnectionCreationListener


public interface ConnectionCreationListener

Implementors of this interface will be notified when a new Connection has been created. The newly created connection will not be actually connected to the server. Use Connection.addConnectionCreationListener(ConnectionCreationListener) to add new listeners.

Author:
Gaston Dombiak

Method Summary
 void connectionCreated(Connection connection)
          Notification that a new connection has been created.
 

Method Detail

connectionCreated

void connectionCreated(Connection connection)
Notification that a new connection has been created. The new connection will not yet be connected to the server.

Parameters:
connection - the newly created connection.

Smack

Copyright © 2003-2007 Jive Software.