com.aelitis.azureus.core.networkmanager
Interface ProtocolEndpoint
- All Known Implementing Classes:
- ProtocolEndpointTCP, ProtocolEndpointUDP
public interface ProtocolEndpoint
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
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()