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

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.DHTUDPPacketRequestPing
All Implemented Interfaces:
DHTUDPPacket

public class DHTUDPPacketRequestPing
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
  DHTUDPPacketRequestPing(DHTTransportUDPImpl _transport, long _connection_id, DHTTransportUDPContactImpl _local_contact, DHTTransportUDPContactImpl _remote_contact)
           
protected DHTUDPPacketRequestPing(DHTUDPPacketNetworkHandler network_handler, DataInputStream is, long con_id, int trans_id)
           
 
Method Summary
protected  int[] getAltNetworkCounts()
           
protected  int[] getAltNetworks()
           
 String getString()
           
 void serialise(DataOutputStream os)
           
protected  void setAltContactRequest(int[] networks, int[] counts)
           
 
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

DHTUDPPacketRequestPing

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

DHTUDPPacketRequestPing

protected DHTUDPPacketRequestPing(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

setAltContactRequest

protected void setAltContactRequest(int[] networks,
                                    int[] counts)

getAltNetworks

protected int[] getAltNetworks()

getAltNetworkCounts

protected int[] getAltNetworkCounts()

getString

public String getString()
Overrides:
getString in class DHTUDPPacketRequest