com.aelitis.azureus.core.peermanager.messaging.bittorrent
Interface BTMessage

All Superinterfaces:
Message
All Known Implementing Classes:
BTAllowedFast, BTBitfield, BTCancel, BTChoke, BTDHTPort, BTHandshake, BTHave, BTHaveAll, BTHaveNone, BTInterested, BTKeepAlive, BTLTMessage, BTPiece, BTRawMessage, BTRejectRequest, BTRequest, BTSuggestPiece, BTUnchoke, BTUninterested

public interface BTMessage
extends Message

A bittorrent peer protocol message.


Field Summary
static String BT_FEATURE_ID
           
static String ID_BT_ALLOWED_FAST
           
static byte[] ID_BT_ALLOWED_FAST_BYTES
           
static String ID_BT_BITFIELD
           
static byte[] ID_BT_BITFIELD_BYTES
           
static String ID_BT_CANCEL
           
static byte[] ID_BT_CANCEL_BYTES
           
static String ID_BT_CHOKE
           
static byte[] ID_BT_CHOKE_BYTES
           
static String ID_BT_DHT_PORT
           
static byte[] ID_BT_DHT_PORT_BYTES
           
static String ID_BT_HANDSHAKE
           
static byte[] ID_BT_HANDSHAKE_BYTES
           
static String ID_BT_HAVE
           
static String ID_BT_HAVE_ALL
           
static byte[] ID_BT_HAVE_ALL_BYTES
           
static byte[] ID_BT_HAVE_BYTES
           
static String ID_BT_HAVE_NONE
           
static byte[] ID_BT_HAVE_NONE_BYTES
           
static String ID_BT_INTERESTED
           
static byte[] ID_BT_INTERESTED_BYTES
           
static String ID_BT_KEEP_ALIVE
           
static byte[] ID_BT_KEEP_ALIVE_BYTES
           
static String ID_BT_LT_EXT_MESSAGE
           
static byte[] ID_BT_LT_EXT_MESSAGE_BYTES
           
static String ID_BT_PIECE
           
static byte[] ID_BT_PIECE_BYTES
           
static String ID_BT_REJECT_REQUEST
           
static byte[] ID_BT_REJECT_REQUEST_BYTES
           
static String ID_BT_REQUEST
           
static byte[] ID_BT_REQUEST_BYTES
           
static String ID_BT_SUGGEST_PIECE
           
static byte[] ID_BT_SUGGEST_PIECE_BYTES
           
static String ID_BT_UNCHOKE
           
static byte[] ID_BT_UNCHOKE_BYTES
           
static String ID_BT_UNINTERESTED
           
static byte[] ID_BT_UNINTERESTED_BYTES
           
static int SUBID_BT_ALLOWED_FAST
           
static int SUBID_BT_BITFIELD
           
static int SUBID_BT_CANCEL
           
static int SUBID_BT_CHOKE
           
static int SUBID_BT_DHT_PORT
           
static int SUBID_BT_HANDSHAKE
           
static int SUBID_BT_HAVE
           
static int SUBID_BT_HAVE_ALL
           
static int SUBID_BT_HAVE_NONE
           
static int SUBID_BT_INTERESTED
           
static int SUBID_BT_KEEP_ALIVE
           
static int SUBID_BT_LT_EXT_MESSAGE
           
static int SUBID_BT_PIECE
           
static int SUBID_BT_REJECT_REQUEST
           
static int SUBID_BT_REQUEST
           
static int SUBID_BT_SUGGEST_PIECE
           
static int SUBID_BT_UNCHOKE
           
static int SUBID_BT_UNINTERESTED
           
 
Fields inherited from interface com.aelitis.azureus.core.peermanager.messaging.Message
TYPE_DATA_PAYLOAD, TYPE_PROTOCOL_PAYLOAD
 
Method Summary
 
Methods inherited from interface com.aelitis.azureus.core.peermanager.messaging.Message
deserialize, destroy, getData, getDescription, getFeatureID, getFeatureSubID, getID, getIDBytes, getType, getVersion
 

Field Detail

BT_FEATURE_ID

static final String BT_FEATURE_ID
See Also:
Constant Field Values

ID_BT_CHOKE

static final String ID_BT_CHOKE
See Also:
Constant Field Values

ID_BT_CHOKE_BYTES

static final byte[] ID_BT_CHOKE_BYTES

SUBID_BT_CHOKE

static final int SUBID_BT_CHOKE
See Also:
Constant Field Values

ID_BT_UNCHOKE

static final String ID_BT_UNCHOKE
See Also:
Constant Field Values

ID_BT_UNCHOKE_BYTES

static final byte[] ID_BT_UNCHOKE_BYTES

SUBID_BT_UNCHOKE

static final int SUBID_BT_UNCHOKE
See Also:
Constant Field Values

ID_BT_INTERESTED

static final String ID_BT_INTERESTED
See Also:
Constant Field Values

ID_BT_INTERESTED_BYTES

static final byte[] ID_BT_INTERESTED_BYTES

SUBID_BT_INTERESTED

static final int SUBID_BT_INTERESTED
See Also:
Constant Field Values

ID_BT_UNINTERESTED

static final String ID_BT_UNINTERESTED
See Also:
Constant Field Values

ID_BT_UNINTERESTED_BYTES

static final byte[] ID_BT_UNINTERESTED_BYTES

SUBID_BT_UNINTERESTED

static final int SUBID_BT_UNINTERESTED
See Also:
Constant Field Values

ID_BT_HAVE

static final String ID_BT_HAVE
See Also:
Constant Field Values

ID_BT_HAVE_BYTES

static final byte[] ID_BT_HAVE_BYTES

SUBID_BT_HAVE

static final int SUBID_BT_HAVE
See Also:
Constant Field Values

ID_BT_BITFIELD

static final String ID_BT_BITFIELD
See Also:
Constant Field Values

ID_BT_BITFIELD_BYTES

static final byte[] ID_BT_BITFIELD_BYTES

SUBID_BT_BITFIELD

static final int SUBID_BT_BITFIELD
See Also:
Constant Field Values

ID_BT_REQUEST

static final String ID_BT_REQUEST
See Also:
Constant Field Values

ID_BT_REQUEST_BYTES

static final byte[] ID_BT_REQUEST_BYTES

SUBID_BT_REQUEST

static final int SUBID_BT_REQUEST
See Also:
Constant Field Values

ID_BT_PIECE

static final String ID_BT_PIECE
See Also:
Constant Field Values

ID_BT_PIECE_BYTES

static final byte[] ID_BT_PIECE_BYTES

SUBID_BT_PIECE

static final int SUBID_BT_PIECE
See Also:
Constant Field Values

ID_BT_CANCEL

static final String ID_BT_CANCEL
See Also:
Constant Field Values

ID_BT_CANCEL_BYTES

static final byte[] ID_BT_CANCEL_BYTES

SUBID_BT_CANCEL

static final int SUBID_BT_CANCEL
See Also:
Constant Field Values

ID_BT_DHT_PORT

static final String ID_BT_DHT_PORT
See Also:
Constant Field Values

ID_BT_DHT_PORT_BYTES

static final byte[] ID_BT_DHT_PORT_BYTES

SUBID_BT_DHT_PORT

static final int SUBID_BT_DHT_PORT
See Also:
Constant Field Values

ID_BT_HANDSHAKE

static final String ID_BT_HANDSHAKE
See Also:
Constant Field Values

ID_BT_HANDSHAKE_BYTES

static final byte[] ID_BT_HANDSHAKE_BYTES

SUBID_BT_HANDSHAKE

static final int SUBID_BT_HANDSHAKE
See Also:
Constant Field Values

ID_BT_KEEP_ALIVE

static final String ID_BT_KEEP_ALIVE
See Also:
Constant Field Values

ID_BT_KEEP_ALIVE_BYTES

static final byte[] ID_BT_KEEP_ALIVE_BYTES

SUBID_BT_KEEP_ALIVE

static final int SUBID_BT_KEEP_ALIVE
See Also:
Constant Field Values

ID_BT_SUGGEST_PIECE

static final String ID_BT_SUGGEST_PIECE
See Also:
Constant Field Values

ID_BT_SUGGEST_PIECE_BYTES

static final byte[] ID_BT_SUGGEST_PIECE_BYTES

SUBID_BT_SUGGEST_PIECE

static final int SUBID_BT_SUGGEST_PIECE
See Also:
Constant Field Values

ID_BT_HAVE_ALL

static final String ID_BT_HAVE_ALL
See Also:
Constant Field Values

ID_BT_HAVE_ALL_BYTES

static final byte[] ID_BT_HAVE_ALL_BYTES

SUBID_BT_HAVE_ALL

static final int SUBID_BT_HAVE_ALL
See Also:
Constant Field Values

ID_BT_HAVE_NONE

static final String ID_BT_HAVE_NONE
See Also:
Constant Field Values

ID_BT_HAVE_NONE_BYTES

static final byte[] ID_BT_HAVE_NONE_BYTES

SUBID_BT_HAVE_NONE

static final int SUBID_BT_HAVE_NONE
See Also:
Constant Field Values

ID_BT_REJECT_REQUEST

static final String ID_BT_REJECT_REQUEST
See Also:
Constant Field Values

ID_BT_REJECT_REQUEST_BYTES

static final byte[] ID_BT_REJECT_REQUEST_BYTES

SUBID_BT_REJECT_REQUEST

static final int SUBID_BT_REJECT_REQUEST
See Also:
Constant Field Values

ID_BT_ALLOWED_FAST

static final String ID_BT_ALLOWED_FAST
See Also:
Constant Field Values

ID_BT_ALLOWED_FAST_BYTES

static final byte[] ID_BT_ALLOWED_FAST_BYTES

SUBID_BT_ALLOWED_FAST

static final int SUBID_BT_ALLOWED_FAST
See Also:
Constant Field Values

ID_BT_LT_EXT_MESSAGE

static final String ID_BT_LT_EXT_MESSAGE
See Also:
Constant Field Values

ID_BT_LT_EXT_MESSAGE_BYTES

static final byte[] ID_BT_LT_EXT_MESSAGE_BYTES

SUBID_BT_LT_EXT_MESSAGE

static final int SUBID_BT_LT_EXT_MESSAGE
See Also:
Constant Field Values