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

PRUDPPacketRequestScrape

public class PRUDPPacketRequestScrape extends com.aelitis.net.udp.uc.PRUDPPacketRequest
author
parg

Fields Summary
protected byte[]
hash
Constructors Summary
public PRUDPPacketRequestScrape(long con_id, byte[] _hash)

		super( PRUDPPacketTracker.ACT_REQUEST_SCRAPE, con_id );
		
		hash	= _hash;
	
protected PRUDPPacketRequestScrape(DataInputStream is, long con_id, int trans_id)

		super( PRUDPPacketTracker.ACT_REQUEST_SCRAPE, con_id, trans_id );
		
		hash 	= new byte[20];

		is.read( hash );
	
Methods Summary
public byte[]getHash()

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

		return( super.getString().concat("[").concat(
				"hash=").concat(ByteFormatter.nicePrint( hash, true )).concat(
				"]") );
	
public voidserialise(java.io.DataOutputStream os)

		super.serialise(os);
		
		os.write( hash );