seda.sandStorm.lib.Gnutella
Interface GnutellaConst

All Known Implementing Classes:
GnutellaConnection, GnutellaGUID, GnutellaPacket, GnutellaPacketReader, 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
See Also:
Constant Field Values

DEFAULT_DOWNLOAD_PORT

public static final int DEFAULT_DOWNLOAD_PORT
See Also:
Constant Field Values

DEFAULT_PING_INTERVAL

public static final int DEFAULT_PING_INTERVAL
See Also:
Constant Field Values

DEFAULT_TTL

public static final int DEFAULT_TTL
See Also:
Constant Field Values

DEFAULT_HOPS

public static final int DEFAULT_HOPS
See Also:
Constant Field Values

DEFAULT_SPEED

public static final int DEFAULT_SPEED
See Also:
Constant Field Values

PACKET_HEADER_SIZE

public static final int PACKET_HEADER_SIZE
See Also:
Constant Field Values

MAX_PAYLOAD_SIZE

public static final int MAX_PAYLOAD_SIZE
See Also:
Constant Field Values

GNUTELLA_CONNECT

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

GNUTELLA_OK

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

GNUTELLA_FN_PING

public static final byte GNUTELLA_FN_PING
See Also:
Constant Field Values

GNUTELLA_FN_PONG

public static final byte GNUTELLA_FN_PONG
See Also:
Constant Field Values

GNUTELLA_FN_PUSH

public static final byte GNUTELLA_FN_PUSH
See Also:
Constant Field Values

GNUTELLA_FN_QUERY

public static final byte GNUTELLA_FN_QUERY
See Also:
Constant Field Values

GNUTELLA_FN_QUERYHITS

public static final byte GNUTELLA_FN_QUERYHITS
See Also:
Constant Field Values

WRITE_CLOG_THRESHOLD

public static final int WRITE_CLOG_THRESHOLD
See Also:
Constant Field Values