FileDocCategorySizeDatePackage
BTUninterested.javaAPI DocAzureus 3.0.3.42399Sun Mar 04 21:08:16 GMT 2007com.aelitis.azureus.core.peermanager.messaging.bittorrent

BTUninterested

public class BTUninterested extends Object implements BTMessage
BitTorrent uninterested message.

Fields Summary
private final byte
version
Constructors Summary
public BTUninterested(byte _version)

    version = _version;
  
Methods Summary
public com.aelitis.azureus.core.peermanager.messaging.Messagedeserialize(DirectByteBuffer data, byte version)

    
    if( data != null && data.hasRemaining( DirectByteBuffer.SS_MSG ) ) {
      throw new MessageException( "[" +getID() +"] decode error: payload not empty" );
    }
    
    if( data != null )  data.returnToPool();
    
    return new BTUninterested(version);
  
public voiddestroy()

 /*nothing*/ 
public DirectByteBuffer[]getData()

  return new DirectByteBuffer[] {};  
public java.lang.StringgetDescription()

  return BTMessage.ID_BT_UNINTERESTED;  
public java.lang.StringgetFeatureID()

  return BTMessage.BT_FEATURE_ID;  
public intgetFeatureSubID()

  return BTMessage.SUBID_BT_UNINTERESTED;  
public java.lang.StringgetID()

  return BTMessage.ID_BT_UNINTERESTED;  
public byte[]getIDBytes()

  return BTMessage.ID_BT_UNINTERESTED_BYTES;  
public intgetType()

  return Message.TYPE_PROTOCOL_PAYLOAD;  
public bytegetVersion()

 return version;