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

seda.sandStorm.lib.Gnutella
Interface GnutellaConst

All Known Implementing Classes:
GnutellaPacket, GnutellaPacketReader, GnutellaConnection, GnutellaGUID, GnutellaServer

public interface GnutellaConst

This interface defines various constants used by the Gnutella protocol.


Field Summary
static int DEFAULT_DOWNLOAD_PORT
           
static int DEFAULT_GNUTELLA_PORT
           
static int DEFAULT_HOPS
           
static int DEFAULT_PING_INTERVAL
           
static int DEFAULT_SPEED
           
static int DEFAULT_TTL
           
static java.lang.String GNUTELLA_CONNECT
           
static byte GNUTELLA_FN_PING
           
static byte GNUTELLA_FN_PONG
           
static byte GNUTELLA_FN_PUSH
           
static byte GNUTELLA_FN_QUERY
           
static byte GNUTELLA_FN_QUERYHITS
           
static java.lang.String GNUTELLA_OK
           
static int MAX_PAYLOAD_SIZE
           
static int PACKET_HEADER_SIZE
           
static int WRITE_CLOG_THRESHOLD
           
 

Field Detail

DEFAULT_GNUTELLA_PORT

public static final int DEFAULT_GNUTELLA_PORT

DEFAULT_DOWNLOAD_PORT

public static final int DEFAULT_DOWNLOAD_PORT

DEFAULT_PING_INTERVAL

public static final int DEFAULT_PING_INTERVAL

DEFAULT_TTL

public static final int DEFAULT_TTL

DEFAULT_HOPS

public static final int DEFAULT_HOPS

DEFAULT_SPEED

public static final int DEFAULT_SPEED

PACKET_HEADER_SIZE

public static final int PACKET_HEADER_SIZE

MAX_PAYLOAD_SIZE

public static final int MAX_PAYLOAD_SIZE

GNUTELLA_CONNECT

public static final java.lang.String GNUTELLA_CONNECT

GNUTELLA_OK

public static final java.lang.String GNUTELLA_OK

GNUTELLA_FN_PING

public static final byte GNUTELLA_FN_PING

GNUTELLA_FN_PONG

public static final byte GNUTELLA_FN_PONG

GNUTELLA_FN_PUSH

public static final byte GNUTELLA_FN_PUSH

GNUTELLA_FN_QUERY

public static final byte GNUTELLA_FN_QUERY

GNUTELLA_FN_QUERYHITS

public static final byte GNUTELLA_FN_QUERYHITS

WRITE_CLOG_THRESHOLD

public static final int WRITE_CLOG_THRESHOLD

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