com.aelitis.azureus.core.dht.transport.udp.impl
Class DHTUDPPacketRequestKeyBlock
java.lang.Object
com.aelitis.net.udp.uc.PRUDPPacket
com.aelitis.net.udp.uc.PRUDPPacketRequest
com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketRequest
com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketRequestKeyBlock
- All Implemented Interfaces:
- DHTUDPPacket
public class DHTUDPPacketRequestKeyBlock
- extends DHTUDPPacketRequest
- Author:
- parg
Methods inherited from class com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketRequest |
getClockSkew, getGenericFlags, getGenericFlags2, getNetwork, getOriginatorAddress, getOriginatorInstanceID, getOriginatorVersion, getProtocolVersion, getTransport, getVendorID, postDeserialise, postSerialise, setNetwork, setOriginatorAddress |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHTUDPPacketRequestKeyBlock
public DHTUDPPacketRequestKeyBlock(DHTTransportUDPImpl _transport,
long _connection_id,
DHTTransportUDPContactImpl _local_contact,
DHTTransportUDPContactImpl _remote_contact)
DHTUDPPacketRequestKeyBlock
protected DHTUDPPacketRequestKeyBlock(DHTUDPPacketNetworkHandler network_handler,
DataInputStream is,
long con_id,
int trans_id)
throws IOException
- Throws:
IOException
serialise
public void serialise(DataOutputStream os)
throws IOException
- Overrides:
serialise
in class DHTUDPPacketRequest
- Throws:
IOException
setKeyBlockDetails
public void setKeyBlockDetails(byte[] req,
byte[] sig)
setRandomID
protected void setRandomID(int _random_id)
getRandomID
protected int getRandomID()
getKeyBlockRequest
public byte[] getKeyBlockRequest()
getKeyBlockSignature
public byte[] getKeyBlockSignature()
getString
public String getString()
- Overrides:
getString
in class DHTUDPPacketRequest