Class ProtocolEndpointUDP
java.lang.Object
com.biglybt.core.networkmanager.impl.udp.ProtocolEndpointUDP
- All Implemented Interfaces:
ProtocolEndpoint
-
Field Summary
FieldsFields inherited from interface 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) intgetType()static voidregister()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:
setConnectionEndpointin interfaceProtocolEndpoint
-
getType
public int getType()- Specified by:
getTypein interfaceProtocolEndpoint
-
getAddress
- Specified by:
getAddressin interfaceProtocolEndpoint
-
getAdjustedAddress
- Specified by:
getAdjustedAddressin interfaceProtocolEndpoint
-
getConnectionEndpoint
- Specified by:
getConnectionEndpointin 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:
connectOutboundin interfaceProtocolEndpoint
-
getDescription
- Specified by:
getDescriptionin interfaceProtocolEndpoint
-