org.gudy.azureus2.plugins.messaging.bittorrent
Class BTMessagePiece

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.messaging.MessageAdapter
      extended by org.gudy.azureus2.plugins.messaging.bittorrent.BTMessagePiece
All Implemented Interfaces:
Message

public class BTMessagePiece
extends MessageAdapter


Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.messaging.Message
TYPE_DATA_PAYLOAD, TYPE_PROTOCOL_PAYLOAD
 
Fields inherited from interface com.aelitis.azureus.core.peermanager.messaging.Message
TYPE_DATA_PAYLOAD, TYPE_PROTOCOL_PAYLOAD
 
Constructor Summary
protected BTMessagePiece(Message core_msg)
           
 
Method Summary
 java.nio.ByteBuffer getPieceData()
           
 int getPieceNumber()
           
 int getPieceOffset()
           
 
Methods inherited from class org.gudy.azureus2.pluginsimpl.local.messaging.MessageAdapter
create, deserialize, destroy, getCoreMessage, getData, getDescription, getFeatureID, getFeatureSubID, getID, getIDBytes, getPayload, getPluginMessage, getType, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTMessagePiece

protected BTMessagePiece(Message core_msg)
Method Detail

getPieceNumber

public int getPieceNumber()

getPieceOffset

public int getPieceOffset()

getPieceData

public java.nio.ByteBuffer getPieceData()