More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.lib.Gnutella
Class GnutellaQueryHit

java.lang.Object
  |
  +--seda.sandStorm.lib.Gnutella.GnutellaQueryHit

public class GnutellaQueryHit
extends java.lang.Object

A Gnutella query hit.


Field Summary
 java.lang.String filename
           
 int index
           
 int size
           
 
Constructor Summary
GnutellaQueryHit(byte[] payload, int offset)
           
GnutellaQueryHit(int index, int size, java.lang.String filename)
           
 
Method Summary
 void dump(byte[] barr, int offset)
           
(package private)  int getSize()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int index

size

public int size

filename

public java.lang.String filename
Constructor Detail

GnutellaQueryHit

public GnutellaQueryHit(byte[] payload,
                        int offset)

GnutellaQueryHit

public GnutellaQueryHit(int index,
                        int size,
                        java.lang.String filename)
Method Detail

getSize

int getSize()

dump

public void dump(byte[] barr,
                 int offset)

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/