FileDocCategorySizeDatePackage
NetworkConnectionFactory.javaAPI DocAzureus 3.0.3.42154Tue Nov 21 16:13:14 GMT 2006com.aelitis.azureus.core.networkmanager

NetworkConnectionFactory

public class NetworkConnectionFactory extends Object

Fields Summary
Constructors Summary
Methods Summary
protected static NetworkConnectioncreate(ConnectionEndpoint target, com.aelitis.azureus.core.peermanager.messaging.MessageStreamEncoder encoder, com.aelitis.azureus.core.peermanager.messaging.MessageStreamDecoder decoder, boolean connect_with_crypto, boolean allow_fallback, byte[][] shared_secrets)
Create an OUTGOING connection.

param
remote_address
param
encoder
param
decoder
return
outbound connection

    return new NetworkConnectionImpl( target, encoder, decoder, connect_with_crypto, allow_fallback, shared_secrets );
  
protected static NetworkConnectioncreate(Transport transport, com.aelitis.azureus.core.peermanager.messaging.MessageStreamEncoder encoder, com.aelitis.azureus.core.peermanager.messaging.MessageStreamDecoder decoder)
Create an INCOMING connection.

param
remote_channel
param
data_already_read
param
encoder
param
decoder
return
inbound connection

    return new NetworkConnectionImpl( transport, encoder, decoder );