Package com.biglybt.pif.network
Interface RawMessage
-
- All Superinterfaces:
Message
- All Known Implementing Classes:
RawMessageAdapter
public interface RawMessage extends Message
A raw data payload used for outbound messages.
-
-
Field Summary
-
Fields inherited from interface com.biglybt.pif.messaging.Message
TYPE_DATA_PAYLOAD, TYPE_PROTOCOL_PAYLOAD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 com.biglybt.pif.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
-
-