Class ProtocolEndpointUDP
java.lang.Object
com.biglybt.core.networkmanager.impl.udp.ProtocolEndpointUDP
- All Implemented Interfaces:
ProtocolEndpoint
-
Field Summary
FieldsFields inherited from interface com.biglybt.core.networkmanager.ProtocolEndpoint
CONNECT_PRIORITY_HIGH, CONNECT_PRIORITY_HIGHEST, CONNECT_PRIORITY_LOW, CONNECT_PRIORITY_MEDIUM, CONNECT_PRIORITY_SUPER_HIGHEST, PROTOCOL_TCP, PROTOCOL_UDP, PROTOCOL_UTP
-
Constructor Summary
ConstructorsConstructorDescriptionProtocolEndpointUDP
(ConnectionEndpoint _ce, InetSocketAddress _address) ProtocolEndpointUDP
(InetSocketAddress _address) -
Method Summary
Modifier and TypeMethodDescriptionconnectOutbound
(boolean connect_with_crypto, boolean allow_fallback, byte[][] shared_secrets, ByteBuffer initial_data, int priority, Transport.ConnectListener listener) getAdjustedAddress
(boolean to_lan) int
getType()
static void
register()
void
-
Field Details
-
ce
-
address
-
-
Constructor Details
-
ProtocolEndpointUDP
ProtocolEndpointUDP(ConnectionEndpoint _ce, InetSocketAddress _address) -
ProtocolEndpointUDP
ProtocolEndpointUDP(InetSocketAddress _address)
-
-
Method Details
-
register
public static void register() -
setConnectionEndpoint
- Specified by:
setConnectionEndpoint
in interfaceProtocolEndpoint
-
getType
public int getType()- Specified by:
getType
in interfaceProtocolEndpoint
-
getAddress
- Specified by:
getAddress
in interfaceProtocolEndpoint
-
getAdjustedAddress
- Specified by:
getAdjustedAddress
in interfaceProtocolEndpoint
-
getConnectionEndpoint
- Specified by:
getConnectionEndpoint
in interfaceProtocolEndpoint
-
connectOutbound
public Transport connectOutbound(boolean connect_with_crypto, boolean allow_fallback, byte[][] shared_secrets, ByteBuffer initial_data, int priority, Transport.ConnectListener listener) - Specified by:
connectOutbound
in interfaceProtocolEndpoint
-
getDescription
- Specified by:
getDescription
in interfaceProtocolEndpoint
-