com.aelitis.azureus.core.dht.transport.udp.impl
Class DHTUDPPacketRequestFindNode

java.lang.Object
  extended by com.aelitis.net.udp.uc.PRUDPPacket
      extended by com.aelitis.net.udp.uc.PRUDPPacketRequest
          extended by com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketRequest
              extended by com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketRequestFindNode
All Implemented Interfaces:
DHTUDPPacket

public class DHTUDPPacketRequestFindNode
extends DHTUDPPacketRequest

Author:
parg

Field Summary
 
Fields inherited from class com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketRequest
DHT_HEADER_SIZE
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacketRequest
PR_HEADER_SIZE
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE
 
Constructor Summary
  DHTUDPPacketRequestFindNode(DHTTransportUDPImpl _transport, long _connection_id, DHTTransportUDPContactImpl _local_contact, DHTTransportUDPContactImpl _remote_contact)
           
protected DHTUDPPacketRequestFindNode(DHTUDPPacketNetworkHandler network_handler, DataInputStream is, long con_id, int trans_id)
           
 
Method Summary
protected  int getEstimatedDHTSize()
           
protected  byte[] getID()
           
protected  int getNodeStatus()
           
 String getString()
           
 void serialise(DataOutputStream os)
           
protected  void setEstimatedDHTSize(int s)
           
protected  void setID(byte[] _id)
           
protected  void setNodeStatus(int ns)
           
 
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 com.aelitis.net.udp.uc.PRUDPPacketRequest
deserialiseRequest, getConnectionId, getReceiveTime, registerDecoders, setReceiveTime
 
Methods inherited from class com.aelitis.net.udp.uc.PRUDPPacket
getAction, getAddress, getPreviousPacket, getSerialisedSize, getTransactionId, hasContinuation, setAddress, setPreviousPacket, setSerialisedSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTUDPPacketRequestFindNode

public DHTUDPPacketRequestFindNode(DHTTransportUDPImpl _transport,
                                   long _connection_id,
                                   DHTTransportUDPContactImpl _local_contact,
                                   DHTTransportUDPContactImpl _remote_contact)

DHTUDPPacketRequestFindNode

protected DHTUDPPacketRequestFindNode(DHTUDPPacketNetworkHandler network_handler,
                                      DataInputStream is,
                                      long con_id,
                                      int trans_id)
                               throws IOException
Throws:
IOException
Method Detail

serialise

public void serialise(DataOutputStream os)
               throws IOException
Overrides:
serialise in class DHTUDPPacketRequest
Throws:
IOException

setID

protected void setID(byte[] _id)

getID

protected byte[] getID()

setNodeStatus

protected void setNodeStatus(int ns)

getNodeStatus

protected int getNodeStatus()

setEstimatedDHTSize

protected void setEstimatedDHTSize(int s)

getEstimatedDHTSize

protected int getEstimatedDHTSize()

getString

public String getString()
Overrides:
getString in class DHTUDPPacketRequest