|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.azureus2.pluginsimpl.local.messaging.MessageAdapter
org.gudy.azureus2.pluginsimpl.local.network.RawMessageAdapter
public class RawMessageAdapter
| 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.networkmanager.RawMessage |
|---|
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_NORMAL |
| Fields inherited from interface com.aelitis.azureus.core.peermanager.messaging.Message |
|---|
TYPE_DATA_PAYLOAD, TYPE_PROTOCOL_PAYLOAD |
| Constructor Summary | |
|---|---|
RawMessageAdapter(RawMessage plug_msg)
|
|
RawMessageAdapter(RawMessage core_msg)
|
|
| Method Summary | |
|---|---|
Message |
getBaseMessage()
Get the message this raw message is based upon. |
Message |
getOriginalMessage()
Get the message this raw message is based upon. |
int |
getPriority()
Get the message's queue priority. |
DirectByteBuffer[] |
getRawData()
Get the message's raw data payload. |
ByteBuffer[] |
getRawPayload()
Get the raw data payload for this message. |
boolean |
isNoDelay()
Is this a no-delay message. |
Message[] |
messagesToRemove()
Get the yet-unsent message types that should be removed before queueing this message for sending. |
void |
setNoDelay()
Set no-delay for this message |
| 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 |
| Methods inherited from interface org.gudy.azureus2.plugins.messaging.Message |
|---|
create, destroy, getDescription, getID, getPayload, getType |
| Methods inherited from interface com.aelitis.azureus.core.peermanager.messaging.Message |
|---|
deserialize, destroy, getData, getDescription, getFeatureID, getFeatureSubID, getID, getIDBytes, getType, getVersion |
| Constructor Detail |
|---|
public RawMessageAdapter(RawMessage plug_msg)
public RawMessageAdapter(RawMessage core_msg)
| Method Detail |
|---|
public ByteBuffer[] getRawPayload()
RawMessage
public DirectByteBuffer[] getRawData()
RawMessage
getRawData in interface RawMessagepublic int getPriority()
RawMessage
getPriority in interface RawMessagepublic boolean isNoDelay()
RawMessage
isNoDelay in interface RawMessagepublic void setNoDelay()
RawMessage
setNoDelay in interface RawMessagepublic Message[] messagesToRemove()
RawMessage
messagesToRemove in interface RawMessagepublic Message getOriginalMessage()
RawMessage
public Message getBaseMessage()
RawMessage
getBaseMessage in interface RawMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||