com.aelitis.azureus.core.networkmanager
Interface ProtocolEndpoint

All Known Implementing Classes:
ProtocolEndpointTCP, ProtocolEndpointUDP

public interface ProtocolEndpoint


Field Summary
static int CONNECT_PRIORITY_HIGH
           
static int CONNECT_PRIORITY_HIGHEST
           
static int CONNECT_PRIORITY_LOW
           
static int CONNECT_PRIORITY_MEDIUM
           
static int CONNECT_PRIORITY_SUPER_HIGHEST
           
static int PROTOCOL_TCP
           
static int PROTOCOL_UDP
           
static int PROTOCOL_UTP
           
 
Method Summary
 Transport connectOutbound(boolean connect_with_crypto, boolean allow_fallback, byte[][] shared_secrets, ByteBuffer initial_data, int priority, Transport.ConnectListener listener)
           
 InetSocketAddress getAddress()
           
 InetSocketAddress getAdjustedAddress(boolean to_lan)
           
 ConnectionEndpoint getConnectionEndpoint()
           
 String getDescription()
           
 int getType()
           
 void setConnectionEndpoint(ConnectionEndpoint ce)
           
 

Field Detail

PROTOCOL_TCP

static final int PROTOCOL_TCP
See Also:
Constant Field Values

PROTOCOL_UDP

static final int PROTOCOL_UDP
See Also:
Constant Field Values

PROTOCOL_UTP

static final int PROTOCOL_UTP
See Also:
Constant Field Values

CONNECT_PRIORITY_SUPER_HIGHEST

static final int CONNECT_PRIORITY_SUPER_HIGHEST
See Also:
Constant Field Values

CONNECT_PRIORITY_HIGHEST

static final int CONNECT_PRIORITY_HIGHEST
See Also:
Constant Field Values

CONNECT_PRIORITY_HIGH

static final int CONNECT_PRIORITY_HIGH
See Also:
Constant Field Values

CONNECT_PRIORITY_MEDIUM

static final int CONNECT_PRIORITY_MEDIUM
See Also:
Constant Field Values

CONNECT_PRIORITY_LOW

static final int CONNECT_PRIORITY_LOW
See Also:
Constant Field Values
Method Detail

getType

int getType()

getConnectionEndpoint

ConnectionEndpoint getConnectionEndpoint()

setConnectionEndpoint

void setConnectionEndpoint(ConnectionEndpoint ce)

getAddress

InetSocketAddress getAddress()

getAdjustedAddress

InetSocketAddress getAdjustedAddress(boolean to_lan)

connectOutbound

Transport connectOutbound(boolean connect_with_crypto,
                          boolean allow_fallback,
                          byte[][] shared_secrets,
                          ByteBuffer initial_data,
                          int priority,
                          Transport.ConnectListener listener)

getDescription

String getDescription()