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

java.lang.Object
  extended by com.aelitis.net.udp.uc.PRUDPPacket
      extended by com.aelitis.net.udp.uc.PRUDPPacketReply
          extended by com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketReply
              extended by com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketReplyPing
All Implemented Interfaces:
DHTUDPPacket

public class DHTUDPPacketReplyPing
extends DHTUDPPacketReply


Field Summary
 
Fields inherited from class com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketReply
DHT_HEADER_SIZE
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacketReply
PR_HEADER_SIZE
 
Fields inherited from class com.aelitis.net.udp.uc.PRUDPPacket
DEFAULT_UDP_TIMEOUT, MAX_PACKET_SIZE
 
Constructor Summary
  DHTUDPPacketReplyPing(DHTTransportUDPImpl transport, DHTUDPPacketRequestPing request, DHTTransportContact local_contact, DHTTransportContact remote_contact)
           
protected DHTUDPPacketReplyPing(DHTUDPPacketNetworkHandler network_handler, InetSocketAddress originator, DataInputStream is, int trans_id)
           
 
Method Summary
protected  DHTTransportAlternativeContact[] getAltContacts()
           
 void serialise(DataOutputStream os)
           
protected  void setAltContacts(List<DHTTransportAlternativeContact> _contacts)
           
 
Methods inherited from class com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketReply
getClockSkew, getConnectionId, getGenericFlags, getGenericFlags2, getNetwork, getNetworkPositions, getProcessingTime, getProtocolVersion, getString, getTargetInstanceID, getTransport, getVendorID, setNetwork, setNetworkPositions
 
Methods inherited from class com.aelitis.net.udp.uc.PRUDPPacketReply
deserialiseReply, registerDecoders
 
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

DHTUDPPacketReplyPing

public DHTUDPPacketReplyPing(DHTTransportUDPImpl transport,
                             DHTUDPPacketRequestPing request,
                             DHTTransportContact local_contact,
                             DHTTransportContact remote_contact)

DHTUDPPacketReplyPing

protected DHTUDPPacketReplyPing(DHTUDPPacketNetworkHandler network_handler,
                                InetSocketAddress originator,
                                DataInputStream is,
                                int trans_id)
                         throws IOException
Throws:
IOException
Method Detail

serialise

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

setAltContacts

protected void setAltContacts(List<DHTTransportAlternativeContact> _contacts)

getAltContacts

protected DHTTransportAlternativeContact[] getAltContacts()