Methods Summary |
---|
public void | close()Close and shutdown this connection.
|
public void | connect(com.aelitis.azureus.core.networkmanager.NetworkConnection$ConnectionListener listener)Connect this connection's transport, i.e. establish the network connection.
If this connection is already established (from an incoming connection for example),
then this provides a mechanism to register the connection listener, in which case
connectSuccess() will be called immediately.
|
public void | connect(java.nio.ByteBuffer initial_outbound_data, com.aelitis.azureus.core.networkmanager.NetworkConnection$ConnectionListener listener)
|
public Transport | detachTransport()Decouples the transport from this network connection so it can be reused
|
public void | enableEnhancedMessageProcessing(boolean enable)Upgrade the connection to high-speed transfer processing.
|
public Transport | getTransport()Get the connection's data transport interface.
|
public boolean | isConnected()
|
public void | startMessageProcessing()Begin processing incoming and outgoing message queues.
|