Interface DHTTransportUDP
-
- All Superinterfaces:
DHTTransport
- All Known Implementing Classes:
DHTTransportUDPImpl
public interface DHTTransportUDP extends DHTTransport
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DHTTransportUDP.Helper
-
Field Summary
-
Fields inherited from interface com.biglybt.core.dht.transport.DHTTransport
GF_DHT_SLEEPING, GF_NONE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DHTTransportAlternativeNetwork
getAlternativeNetwork(int network_type)
DHTUDPPacketHandler
getPacketHandler()
DHTUDPRequestHandler
getRequestHandler()
DHTTransportUDPContact
importContact(java.net.InetSocketAddress address, byte protocol_version, boolean is_bootstrap)
DHTTransportUDPContact
importContact(java.util.Map<java.lang.String,java.lang.Object> map)
void
registerAlternativeNetwork(DHTTransportAlternativeNetwork network)
void
unregisterAlternativeNetwork(DHTTransportAlternativeNetwork network)
-
Methods inherited from interface com.biglybt.core.dht.transport.DHTTransport
addListener, getCurrentBindAddress, getExplicitBindAddress, getGenericFlags, getLocalContact, getMinimumProtocolVersion, getNetwork, getPort, getProtocolVersion, getReachableContacts, getRecentContacts, getStats, getTimeout, importContact, isIPV6, isReachable, readTransfer, registerTransferHandler, registerTransferHandler, removeListener, setExplicitBindAddress, setGenericFlag, setPort, setRequestHandler, setSuspended, setTimeout, supportsStorage, unregisterTransferHandler, writeReadTransfer, writeTransfer
-
-
-
-
Field Detail
-
PROTOCOL_VERSION_2304
static final byte PROTOCOL_VERSION_2304
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_2306
static final byte PROTOCOL_VERSION_2306
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_2400
static final byte PROTOCOL_VERSION_2400
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_2402
static final byte PROTOCOL_VERSION_2402
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_2500
static final byte PROTOCOL_VERSION_2500
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_2502
static final byte PROTOCOL_VERSION_2502
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_3111
static final byte PROTOCOL_VERSION_3111
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4204
static final byte PROTOCOL_VERSION_4204
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4208
static final byte PROTOCOL_VERSION_4208
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4310
static final byte PROTOCOL_VERSION_4310
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4407
static final byte PROTOCOL_VERSION_4407
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4511
static final byte PROTOCOL_VERSION_4511
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4600
static final byte PROTOCOL_VERSION_4600
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4720
static final byte PROTOCOL_VERSION_4720
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_4800
static final byte PROTOCOL_VERSION_4800
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_5400
static final byte PROTOCOL_VERSION_5400
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_5500
static final byte PROTOCOL_VERSION_5500
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_DIV_AND_CONT
static final byte PROTOCOL_VERSION_DIV_AND_CONT
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_ANTI_SPOOF
static final byte PROTOCOL_VERSION_ANTI_SPOOF
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_ENCRYPT_TT
static final byte PROTOCOL_VERSION_ENCRYPT_TT
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_ANTI_SPOOF2
static final byte PROTOCOL_VERSION_ANTI_SPOOF2
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_FIX_ORIGINATOR
static final byte PROTOCOL_VERSION_FIX_ORIGINATOR
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_VIVALDI
static final byte PROTOCOL_VERSION_VIVALDI
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_REMOVE_DIST_ADD_VER
static final byte PROTOCOL_VERSION_REMOVE_DIST_ADD_VER
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_XFER_STATUS
static final byte PROTOCOL_VERSION_XFER_STATUS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_SIZE_ESTIMATE
static final byte PROTOCOL_VERSION_SIZE_ESTIMATE
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_VENDOR_ID
static final byte PROTOCOL_VERSION_VENDOR_ID
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_BLOCK_KEYS
static final byte PROTOCOL_VERSION_BLOCK_KEYS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_GENERIC_NETPOS
static final byte PROTOCOL_VERSION_GENERIC_NETPOS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_VIVALDI_FINDVALUE
static final byte PROTOCOL_VERSION_VIVALDI_FINDVALUE
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_ANON_VALUES
static final byte PROTOCOL_VERSION_ANON_VALUES
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_CVS_FIX_OVERLOAD_V1
static final byte PROTOCOL_VERSION_CVS_FIX_OVERLOAD_V1
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_CVS_FIX_OVERLOAD_V2
static final byte PROTOCOL_VERSION_CVS_FIX_OVERLOAD_V2
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_MORE_STATS
static final byte PROTOCOL_VERSION_MORE_STATS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_CVS_FIX_OVERLOAD_V3
static final byte PROTOCOL_VERSION_CVS_FIX_OVERLOAD_V3
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_MORE_NODE_STATUS
static final byte PROTOCOL_VERSION_MORE_NODE_STATUS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_LONGER_LIFE
static final byte PROTOCOL_VERSION_LONGER_LIFE
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_REPLICATION_CONTROL
static final byte PROTOCOL_VERSION_REPLICATION_CONTROL
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_REPLICATION_CONTROL2
static final byte PROTOCOL_VERSION_REPLICATION_CONTROL2
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_REPLICATION_CONTROL3
static final byte PROTOCOL_VERSION_REPLICATION_CONTROL3
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_RESTRICT_ID_PORTS
static final byte PROTOCOL_VERSION_RESTRICT_ID_PORTS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_RESTRICT_ID_PORTS2
static final byte PROTOCOL_VERSION_RESTRICT_ID_PORTS2
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_RESTRICT_ID_PORTS2X
static final byte PROTOCOL_VERSION_RESTRICT_ID_PORTS2X
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_RESTRICT_ID_PORTS2Y
static final byte PROTOCOL_VERSION_RESTRICT_ID_PORTS2Y
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_RESTRICT_ID_PORTS2Z
static final byte PROTOCOL_VERSION_RESTRICT_ID_PORTS2Z
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_RESTRICT_ID3
static final byte PROTOCOL_VERSION_RESTRICT_ID3
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_VIVALDI_OPTIONAL
static final byte PROTOCOL_VERSION_VIVALDI_OPTIONAL
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_PACKET_FLAGS
static final byte PROTOCOL_VERSION_PACKET_FLAGS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_ALT_CONTACTS
static final byte PROTOCOL_VERSION_ALT_CONTACTS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_PACKET_FLAGS2
static final byte PROTOCOL_VERSION_PACKET_FLAGS2
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_PROC_TIME
static final byte PROTOCOL_VERSION_PROC_TIME
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_BBT_UPLOAD_STATS
static final byte PROTOCOL_VERSION_BBT_UPLOAD_STATS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_NETWORKS
static final byte PROTOCOL_VERSION_NETWORKS
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION_AZ_MAIN
static final byte PROTOCOL_VERSION_AZ_MAIN
-
PROTOCOL_VERSION_AZ_CVS
static final byte PROTOCOL_VERSION_AZ_CVS
-
PROTOCOL_VERSION_BIGLYBT
static final byte PROTOCOL_VERSION_BIGLYBT
-
PROTOCOL_VERSION_MIN_AZ
static final byte PROTOCOL_VERSION_MIN_AZ
-
PROTOCOL_VERSION_MIN_AZ_CVS
static final byte PROTOCOL_VERSION_MIN_AZ_CVS
-
PROTOCOL_VERSION_MIN_BIGLYBT
static final byte PROTOCOL_VERSION_MIN_BIGLYBT
-
VENDOR_ID_AELITIS
static final byte VENDOR_ID_AELITIS
- See Also:
- Constant Field Values
-
VENDOR_ID_ShareNET
static final byte VENDOR_ID_ShareNET
- See Also:
- Constant Field Values
-
VENDOR_ID_NONE
static final byte VENDOR_ID_NONE
- See Also:
- Constant Field Values
-
VENDOR_ID_ME
static final byte VENDOR_ID_ME
- See Also:
- Constant Field Values
-
-
Method Detail
-
importContact
DHTTransportUDPContact importContact(java.net.InetSocketAddress address, byte protocol_version, boolean is_bootstrap) throws DHTTransportException
- Throws:
DHTTransportException
-
importContact
DHTTransportUDPContact importContact(java.util.Map<java.lang.String,java.lang.Object> map) throws DHTTransportException
- Throws:
DHTTransportException
-
getRequestHandler
DHTUDPRequestHandler getRequestHandler()
-
getPacketHandler
DHTUDPPacketHandler getPacketHandler()
-
getAlternativeNetwork
DHTTransportAlternativeNetwork getAlternativeNetwork(int network_type)
-
registerAlternativeNetwork
void registerAlternativeNetwork(DHTTransportAlternativeNetwork network)
-
unregisterAlternativeNetwork
void unregisterAlternativeNetwork(DHTTransportAlternativeNetwork network)
-
-