PRUDPPacketRequestScrapepublic class PRUDPPacketRequestScrape extends com.aelitis.net.udp.uc.PRUDPPacketRequest
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.String | getString()
return( super.getString().concat("[").concat(
"hash=").concat(ByteFormatter.nicePrint( hash, true )).concat(
"]") );
| public void | serialise(java.io.DataOutputStream os)
super.serialise(os);
os.write( hash );
|
|