Methods Summary |
---|
public void | close()
core_connection.close();
|
public void | connect(ConnectionListener listener)
core_connection.connect( new com.aelitis.azureus.core.networkmanager.NetworkConnection.ConnectionListener() {
public void connectStarted() { listener.connectStarted(); }
public void connectSuccess( ByteBuffer remaining_initial_data) { listener.connectSuccess(); }
public void connectFailure( Throwable failure_msg ) { listener.connectFailure( failure_msg ); }
public void exceptionThrown( Throwable error ) { listener.exceptionThrown( error ); }
public String
getDescription()
{
return( "plugin connection: " + core_connection.getString());
}
});
|
public com.aelitis.azureus.core.networkmanager.NetworkConnection | getCoreConnection()
return core_connection;
|
public IncomingMessageQueue | getIncomingMessageQueue() return in_queue;
|
public OutgoingMessageQueue | getOutgoingMessageQueue() return out_queue;
|
public Transport | getTransport() return tcp_transport;
|
public void | startMessageProcessing()
core_connection.startMessageProcessing();
core_connection.enableEnhancedMessageProcessing( true ); //auto-upgrade connection
|