Class DHTUDPPacketReplyFindValue
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.DHTUDPPacketReplyFindValue
- All Implemented Interfaces:
DHTUDPPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DHTTransportContact[]static final intstatic final intprivate byteprivate booleanprivate DHTTransportValue[]Fields 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
ConstructorsModifierConstructorDescriptionDHTUDPPacketReplyFindValue(DHTTransportUDPImpl transport, DHTUDPPacketRequestFindValue request, DHTTransportContact local_contact, DHTTransportContact remote_contact) protectedDHTUDPPacketReplyFindValue(DHTUDPPacketNetworkHandler network_handler, InetSocketAddress originator, DataInputStream is, int trans_id) -
Method Summary
Modifier and TypeMethodDescriptionprotected DHTTransportContact[]protected byteprotected DHTTransportValue[]booleanvoidprotected voidsetContacts(DHTTransportContact[] _contacts) protected voidsetValues(DHTTransportValue[] _values, byte _diversification_type, boolean _has_continuation) Methods inherited from class DHTUDPPacketReply
getClockSkew, getConnectionId, getGenericFlags, getGenericFlags2, getNetwork, getNetworkPositions, getProcessingTime, getProtocolVersion, getTargetInstanceID, getTransport, getVendorID, setNetwork, setNetworkPositionsMethods inherited from class PRUDPPacketReply
deserialiseReply, registerDecodersMethods inherited from class PRUDPPacket
getAction, getAddress, getMinimumProtocolVersion, getPreviousPacket, getSerialisedSize, getTransactionId, setAddress, setPreviousPacket, setSerialisedSize
-
Field Details
-
DHT_FIND_VALUE_HEADER_SIZE
public static final int DHT_FIND_VALUE_HEADER_SIZE- See Also:
-
DHT_FIND_VALUE_TV_HEADER_SIZE
public static final int DHT_FIND_VALUE_TV_HEADER_SIZE- See Also:
-
contacts
-
values
-
has_continuation
private boolean has_continuation -
diversification_type
private byte diversification_type
-
-
Constructor Details
-
DHTUDPPacketReplyFindValue
public DHTUDPPacketReplyFindValue(DHTTransportUDPImpl transport, DHTUDPPacketRequestFindValue request, DHTTransportContact local_contact, DHTTransportContact remote_contact) -
DHTUDPPacketReplyFindValue
protected DHTUDPPacketReplyFindValue(DHTUDPPacketNetworkHandler network_handler, InetSocketAddress originator, DataInputStream is, int trans_id) throws IOException - Throws:
IOException
-
-
Method Details
-
serialise
- Overrides:
serialisein classDHTUDPPacketReply- Throws:
IOException
-
hasContinuation
public boolean hasContinuation()- Overrides:
hasContinuationin classPRUDPPacket
-
setValues
protected void setValues(DHTTransportValue[] _values, byte _diversification_type, boolean _has_continuation) -
getValues
-
getDiversificationType
protected byte getDiversificationType() -
setContacts
-
getContacts
-
getString
- Overrides:
getStringin classDHTUDPPacketReply
-