seda.sandStorm.lib.Gnutella
Interface GnutellaConst

All Known Implementing Classes:
GnutellaConnection, GnutellaGUID, GnutellaPacket, GnutellaPacketReader, GnutellaPingPacket, GnutellaPongPacket, GnutellaPushPacket, GnutellaQueryHitsPacket, GnutellaQueryPacket, 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

static final int DEFAULT_GNUTELLA_PORT
See Also:
Constant Field Values

DEFAULT_DOWNLOAD_PORT

static final int DEFAULT_DOWNLOAD_PORT
See Also:
Constant Field Values

DEFAULT_PING_INTERVAL

static final int DEFAULT_PING_INTERVAL
See Also:
Constant Field Values

DEFAULT_TTL

static final int DEFAULT_TTL
See Also:
Constant Field Values

DEFAULT_HOPS

static final int DEFAULT_HOPS
See Also:
Constant Field Values

DEFAULT_SPEED

static final int DEFAULT_SPEED
See Also:
Constant Field Values

PACKET_HEADER_SIZE

static final int PACKET_HEADER_SIZE
See Also:
Constant Field Values

MAX_PAYLOAD_SIZE

static final int MAX_PAYLOAD_SIZE
See Also:
Constant Field Values

GNUTELLA_CONNECT

static final java.lang.String GNUTELLA_CONNECT
See Also:
Constant Field Values

GNUTELLA_OK

static final java.lang.String GNUTELLA_OK
See Also:
Constant Field Values

GNUTELLA_FN_PING

static final byte GNUTELLA_FN_PING
See Also:
Constant Field Values

GNUTELLA_FN_PONG

static final byte GNUTELLA_FN_PONG
See Also:
Constant Field Values

GNUTELLA_FN_PUSH

static final byte GNUTELLA_FN_PUSH
See Also:
Constant Field Values

GNUTELLA_FN_QUERY

static final byte GNUTELLA_FN_QUERY
See Also:
Constant Field Values

GNUTELLA_FN_QUERYHITS

static final byte GNUTELLA_FN_QUERYHITS
See Also:
Constant Field Values

WRITE_CLOG_THRESHOLD

static final int WRITE_CLOG_THRESHOLD
See Also:
Constant Field Values