FileDocCategorySizeDatePackage
ConnectionListener.javaAPI DocAzureus 3.0.3.41840Thu Feb 09 19:42:52 GMT 2006org.gudy.azureus2.plugins.network

ConnectionListener

public interface ConnectionListener
Listener for notification of connection events.

Fields Summary
Constructors Summary
Methods Summary
public voidconnectFailure(java.lang.Throwable failure_msg)
The connection attempt failed. NOTE: Called only during initial connect attempt.

param
failure_msg failure reason

public voidconnectStarted()
The connection establishment process has started, i.e. the connection is actively being attempted.

public voidconnectSuccess()
The connection attempt succeeded. The connection is now established. NOTE: Called only during initial connect attempt.

public voidexceptionThrown(java.lang.Throwable error)
Handle exception thrown by this connection. NOTE: Can be called at any time during connection lifetime.

param
error exception