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

seda.sandStorm.lib.Gnutella
Class GnutellaGUID

java.lang.Object
  |
  +--seda.sandStorm.lib.Gnutella.GnutellaGUID
All Implemented Interfaces:
GnutellaConst

public class GnutellaGUID
extends java.lang.Object
implements GnutellaConst

This class represents the GUID contained in Gnutella network packets.


Field Summary
(package private)  byte[] data
           
 
Fields inherited from interface seda.sandStorm.lib.Gnutella.GnutellaConst
DEFAULT_DOWNLOAD_PORT, DEFAULT_GNUTELLA_PORT, DEFAULT_HOPS, DEFAULT_PING_INTERVAL, DEFAULT_SPEED, DEFAULT_TTL, GNUTELLA_CONNECT, GNUTELLA_FN_PING, GNUTELLA_FN_PONG, GNUTELLA_FN_PUSH, GNUTELLA_FN_QUERY, GNUTELLA_FN_QUERYHITS, GNUTELLA_OK, MAX_PAYLOAD_SIZE, PACKET_HEADER_SIZE, WRITE_CLOG_THRESHOLD
 
Constructor Summary
GnutellaGUID()
           
GnutellaGUID(byte[] barr, int offset)
           
 
Method Summary
 void dump(byte[] barr, int offset)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

data

byte[] data
Constructor Detail

GnutellaGUID

public GnutellaGUID()

GnutellaGUID

public GnutellaGUID(byte[] barr,
                    int offset)
Method Detail

dump

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

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