NetworkConnectionFactorypublic class NetworkConnectionFactory extends Object
Methods Summary |
---|
protected static NetworkConnection | create(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.
return new NetworkConnectionImpl( target, encoder, decoder, connect_with_crypto, allow_fallback, shared_secrets );
| protected static NetworkConnection | create(Transport transport, com.aelitis.azureus.core.peermanager.messaging.MessageStreamEncoder encoder, com.aelitis.azureus.core.peermanager.messaging.MessageStreamDecoder decoder)Create an INCOMING connection.
return new NetworkConnectionImpl( transport, encoder, decoder );
|
|