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 ObjectFields inherited from class DHTUDPPacketReply
DHT_HEADER_SIZEFields inherited from class PRUDPPacketReply
PR_HEADER_SIZEFields inherited from class PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE -
Constructor Summary
ConstructorsModifierConstructorDescriptionDHTUDPPacketReplyPing(DHTTransportUDPImpl transport, DHTUDPPacketRequestPing request, DHTTransportContact local_contact, DHTTransportContact remote_contact) protectedDHTUDPPacketReplyPing(DHTUDPPacketNetworkHandler network_handler, InetSocketAddress originator, DataInputStream is, int trans_id) -
Method Summary
Modifier and TypeMethodDescriptionprotected DHTTransportAlternativeContact[]protected Objectvoidprotected voidsetAltContacts(List<DHTTransportAlternativeContact> _contacts) Methods inherited from class DHTUDPPacketReply
getClockSkew, getConnectionId, getGenericFlags, getGenericFlags2, getNetwork, getNetworkPositions, getProcessingTime, getProtocolVersion, getString, getTargetInstanceID, getTransport, getVendorID, setNetwork, setNetworkPositionsMethods inherited from class PRUDPPacketReply
deserialiseReply, registerDecodersMethods inherited from class 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:
serialisein classDHTUDPPacketReply- Throws:
IOException
-
setAltContacts
-
getAltContacts
-
getUploadStats
-