Methods Summary |
---|
public com.aelitis.azureus.core.peermanager.messaging.Message | deserialize(DirectByteBuffer data, byte version)
if( data == null ) {
throw new MessageException( "[" +getID() +"] decode error: data == null" );
}
return new BTBitfield( data, version );
|
public void | destroy()
if( buffer[0] != null ) buffer[0].returnToPool();
|
public DirectByteBuffer | getBitfield() return buffer[0];
|
public DirectByteBuffer[] | getData() return buffer;
|
public java.lang.String | getDescription() return BTMessage.ID_BT_BITFIELD;
|
public java.lang.String | getFeatureID() return BTMessage.BT_FEATURE_ID;
|
public int | getFeatureSubID() return BTMessage.SUBID_BT_BITFIELD;
|
public java.lang.String | getID() return BTMessage.ID_BT_BITFIELD;
|
public byte[] | getIDBytes() return BTMessage.ID_BT_BITFIELD_BYTES;
|
public int | getType() return Message.TYPE_PROTOCOL_PAYLOAD;
|
public byte | getVersion() return version;
|