FileDocCategorySizeDatePackage
RawMessage.javaAPI DocAzureus 3.0.3.42184Thu Feb 09 19:42:44 GMT 2006com.aelitis.azureus.core.networkmanager

RawMessage

public interface RawMessage implements com.aelitis.azureus.core.peermanager.messaging.Message
A raw data message designed for advanced queueing.

Fields Summary
public static final int
PRIORITY_LOW
public static final int
PRIORITY_NORMAL
public static final int
PRIORITY_HIGH
Constructors Summary
Methods Summary
public com.aelitis.azureus.core.peermanager.messaging.MessagegetBaseMessage()
Get the message this raw message is based upon.

return
original message

public intgetPriority()
Get the message's queue priority.

return
priority

public org.gudy.azureus2.core3.util.DirectByteBuffer[]getRawData()
Get the message's raw data payload.

return
data payload buffers

public booleanisNoDelay()
Is this a no-delay message. No-delay messages are transmitted immediately, i.e. force-flushed out the transport.

return
true if a no-delay message

public com.aelitis.azureus.core.peermanager.messaging.Message[]messagesToRemove()
Get the yet-unsent message types that should be removed before queueing this message for sending.

return
message types; null if no types