DHTUDPPacketReplyStorepublic class DHTUDPPacketReplyStore extends DHTUDPPacketReply
Fields Summary |
---|
private byte[] | diversify |
Constructors Summary |
---|
public DHTUDPPacketReplyStore(DHTTransportUDPImpl transport, int trans_id, long conn_id, com.aelitis.azureus.core.dht.transport.DHTTransportContact local_contact, com.aelitis.azureus.core.dht.transport.DHTTransportContact remote_contact)
super( transport, DHTUDPPacketHelper.ACT_REPLY_STORE, trans_id, conn_id, local_contact, remote_contact );
| protected DHTUDPPacketReplyStore(com.aelitis.azureus.core.dht.transport.udp.impl.packethandler.DHTUDPPacketNetworkHandler network_handler, DataInputStream is, int trans_id)
super( network_handler, is, DHTUDPPacketHelper.ACT_REPLY_STORE, trans_id );
if ( getProtocolVersion() >= DHTTransportUDP.PROTOCOL_VERSION_DIV_AND_CONT ){
diversify = DHTUDPUtils.deserialiseByteArray( is, DHTUDPPacketRequestStore.MAX_KEYS_PER_PACKET );
}
|
Methods Summary |
---|
public byte[] | getDiversificationTypes()
return( diversify );
| public void | serialise(java.io.DataOutputStream os)
super.serialise(os);
if ( getProtocolVersion() >= DHTTransportUDP.PROTOCOL_VERSION_DIV_AND_CONT ){
DHTUDPUtils.serialiseByteArray( os, diversify, DHTUDPPacketRequestStore.MAX_KEYS_PER_PACKET );
}
| public void | setDiversificationTypes(byte[] _diversify)
diversify = _diversify;
|
|