Methods Summary |
---|
public com.aelitis.azureus.core.peermanager.messaging.Message | deserialize(DirectByteBuffer data, byte version)
if( data != null && data.hasRemaining( DirectByteBuffer.SS_MSG ) ) {
throw new MessageException( "[" +getID() + "] decode error: payload not empty [" +data.remaining(DirectByteBuffer.SS_MSG)+ "]" );
}
if( data != null ) data.returnToPool();
return new BTChoke(version);
|
public void | destroy() /*nothing*/
|
public DirectByteBuffer[] | getData() return new DirectByteBuffer[] {};
|
public java.lang.String | getDescription() return BTMessage.ID_BT_CHOKE;
|
public java.lang.String | getFeatureID() return BTMessage.BT_FEATURE_ID;
|
public int | getFeatureSubID() return BTMessage.SUBID_BT_CHOKE;
|
public java.lang.String | getID() return BTMessage.ID_BT_CHOKE;
|
public byte[] | getIDBytes() return BTMessage.ID_BT_CHOKE_BYTES;
|
public int | getType() return Message.TYPE_PROTOCOL_PAYLOAD;
|
public byte | getVersion() return version;
|