org.gudy.azureus2.plugins.network
Interface RawMessage

All Superinterfaces:
Message

public interface RawMessage
extends Message

A raw data payload used for outbound messages.


Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.messaging.Message
TYPE_DATA_PAYLOAD, TYPE_PROTOCOL_PAYLOAD
 
Method Summary
 Message getOriginalMessage()
          Get the message this raw message is based upon.
 java.nio.ByteBuffer[] getRawPayload()
          Get the raw data payload for this message.
 
Methods inherited from interface org.gudy.azureus2.plugins.messaging.Message
create, destroy, getDescription, getID, getPayload, getType
 

Method Detail

getRawPayload

java.nio.ByteBuffer[] getRawPayload()
Get the raw data payload for this message.

Returns:
raw payload

getOriginalMessage

Message getOriginalMessage()
Get the message this raw message is based upon.

Returns:
original message