FileDocCategorySizeDatePackage
PRUDPPacketReplyConnect.javaAPI DocAzureus 3.0.3.41797Thu Jan 05 05:43:26 GMT 2006org.gudy.azureus2.core3.tracker.protocol.udp

PRUDPPacketReplyConnect

public class PRUDPPacketReplyConnect extends com.aelitis.net.udp.uc.PRUDPPacketReply
author
parg

Fields Summary
protected long
connection_id
Constructors Summary
public PRUDPPacketReplyConnect(int trans_id, long conn_id)

		super( PRUDPPacketTracker.ACT_REPLY_CONNECT, trans_id );
		
		connection_id	= conn_id;
	
protected PRUDPPacketReplyConnect(DataInputStream is, int trans_id)

		super( PRUDPPacketTracker.ACT_REPLY_CONNECT, trans_id );
		
		connection_id = is.readLong();
	
Methods Summary
public longgetConnectionId()

		return( connection_id );
	
public java.lang.StringgetString()

		return( super.getString().concat(",[con=").concat(String.valueOf(connection_id)).concat("]"));
	
public voidserialise(java.io.DataOutputStream os)

		super.serialise(os);
		
		os.writeLong( connection_id );