Class DHTUDPPacketReplyPing
java.lang.Object
com.biglybt.net.udp.uc.PRUDPPacket
com.biglybt.net.udp.uc.PRUDPPacketReply
com.biglybt.core.dht.transport.udp.impl.DHTUDPPacketReply
com.biglybt.core.dht.transport.udp.impl.DHTUDPPacketReplyPing
- All Implemented Interfaces:
DHTUDPPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DHTTransportAlternativeContact[]
private static final DHTTransportAlternativeContact[]
private Object
Fields inherited from class com.biglybt.core.dht.transport.udp.impl.DHTUDPPacketReply
DHT_HEADER_SIZE
Fields inherited from class com.biglybt.net.udp.uc.PRUDPPacketReply
PR_HEADER_SIZE
Fields inherited from class com.biglybt.net.udp.uc.PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDHTUDPPacketReplyPing
(DHTTransportUDPImpl transport, DHTUDPPacketRequestPing request, DHTTransportContact local_contact, DHTTransportContact remote_contact) protected
DHTUDPPacketReplyPing
(DHTUDPPacketNetworkHandler network_handler, InetSocketAddress originator, DataInputStream is, int trans_id) -
Method Summary
Modifier and TypeMethodDescriptionprotected DHTTransportAlternativeContact[]
protected Object
void
protected void
setAltContacts
(List<DHTTransportAlternativeContact> _contacts) Methods inherited from class com.biglybt.core.dht.transport.udp.impl.DHTUDPPacketReply
getClockSkew, getConnectionId, getGenericFlags, getGenericFlags2, getNetwork, getNetworkPositions, getProcessingTime, getProtocolVersion, getString, getTargetInstanceID, getTransport, getVendorID, setNetwork, setNetworkPositions
Methods inherited from class com.biglybt.net.udp.uc.PRUDPPacketReply
deserialiseReply, registerDecoders
Methods inherited from class com.biglybt.net.udp.uc.PRUDPPacket
getAction, getAddress, getMinimumProtocolVersion, getPreviousPacket, getSerialisedSize, getTransactionId, hasContinuation, setAddress, setPreviousPacket, setSerialisedSize
-
Field Details
-
EMPTY_CONTACTS
-
alt_contacts
-
upload_stats
-
-
Constructor Details
-
DHTUDPPacketReplyPing
public DHTUDPPacketReplyPing(DHTTransportUDPImpl transport, DHTUDPPacketRequestPing request, DHTTransportContact local_contact, DHTTransportContact remote_contact) -
DHTUDPPacketReplyPing
protected DHTUDPPacketReplyPing(DHTUDPPacketNetworkHandler network_handler, InetSocketAddress originator, DataInputStream is, int trans_id) throws IOException - Throws:
IOException
-
-
Method Details
-
serialise
- Overrides:
serialise
in classDHTUDPPacketReply
- Throws:
IOException
-
setAltContacts
-
getAltContacts
-
getUploadStats
-