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

seda.sandStorm.lib.Gnutella
Class GnutellaPingPacket

java.lang.Object
  |
  +--seda.sandStorm.lib.Gnutella.GnutellaPacket
        |
        +--seda.sandStorm.lib.Gnutella.GnutellaPingPacket
All Implemented Interfaces:
GnutellaConst, QueueElementIF

public class GnutellaPingPacket
extends GnutellaPacket

A Gnutella network ping packet.


Fields inherited from class seda.sandStorm.lib.Gnutella.GnutellaPacket
function, gc, guid, hops, NUM_ALLOC, payload, payload_length, ttl
 
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
GnutellaPingPacket()
           
GnutellaPingPacket(GnutellaGUID guid, int ttl, int hops)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class seda.sandStorm.lib.Gnutella.GnutellaPacket
finalize, getBuffer, getConnection, getGUID, getSize, prepareForSend, readLEInt, readLEShort, setConnection, writeLEInt, writeLEShort
 
Methods inherited from class java.lang.Object
, clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GnutellaPingPacket

public GnutellaPingPacket()

GnutellaPingPacket

public GnutellaPingPacket(GnutellaGUID guid,
                          int ttl,
                          int hops)
Method Detail

toString

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

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