org.gudy.azureus2.core3.tracker.protocol.udp
Class PRUDPPacketReplyConnect

java.lang.Object
  extended by com.aelitis.net.udp.uc.PRUDPPacket
      extended by com.aelitis.net.udp.uc.PRUDPPacketReply
          extended by org.gudy.azureus2.core3.tracker.protocol.udp.PRUDPPacketReplyConnect

public class PRUDPPacketReplyConnect
extends PRUDPPacketReply


Field Summary
protected  long connection_id
           
 
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
protected PRUDPPacketReplyConnect(DataInputStream is, int trans_id)
           
  PRUDPPacketReplyConnect(int trans_id, long conn_id)
           
 
Method Summary
 long getConnectionId()
           
 String getString()
           
 void serialise(DataOutputStream os)
           
 
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
 

Field Detail

connection_id

protected long connection_id
Constructor Detail

PRUDPPacketReplyConnect

public PRUDPPacketReplyConnect(int trans_id,
                               long conn_id)

PRUDPPacketReplyConnect

protected PRUDPPacketReplyConnect(DataInputStream is,
                                  int trans_id)
                           throws IOException
Throws:
IOException
Method Detail

getConnectionId

public long getConnectionId()

serialise

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

getString

public String getString()
Overrides:
getString in class PRUDPPacketReply