public class ChannelMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
complete
Keep whether we have all the buffers added
|
protected MessageHeader |
header
The message header
|
Constructor and Description |
---|
ChannelMessage() |
ChannelMessage(int originatingId,
MessageType messageType,
MessageDirection messageDirection,
ChannelMessageReleaseCallback releaseListener) |
protected MessageHeader header
protected boolean complete
public ChannelMessage()
public ChannelMessage(int originatingId, MessageType messageType, MessageDirection messageDirection, ChannelMessageReleaseCallback releaseListener)
public java.util.List<DataBuffer> getBuffers()
public java.util.List<DataBuffer> getNormalBuffers()
public void incrementRefCount()
public void incrementRefCount(int count)
public MessageDirection getMessageDirection()
public boolean doneProcessing()
public void release()
public void addBuffer(DataBuffer buffer)
public void addBuffers(java.util.List<DataBuffer> bufferList)
public void addOverFlowBuffers(java.util.List<DataBuffer> bufferList)
protected void removeAllBuffers()
public void addToOverFlowBuffer(DataBuffer data)
public java.util.List<DataBuffer> getOverflowBuffers()
public int getOriginatingId()
public MessageHeader getHeader()
public void setHeader(MessageHeader header)
public void setOriginatingId(int originatingId)
public void setMessageDirection(MessageDirection messageDirection)
public ChannelMessageReleaseCallback getReleaseListener()
public void setReleaseListener(ChannelMessageReleaseCallback releaseListener)
public void setDataType(MessageType dataType)
public boolean isComplete()
public void setComplete(boolean complete)
public MessageType getDataType()
public void setHeaderSize(int headerSize)
public int getHeaderSize()
public void setKeyType(MessageType keyType)
public MessageType getKeyType()
public boolean isHeaderSent()
public void setHeaderSent(boolean headerSent)
public boolean isPartial()
public void setPartial(boolean partial)
public int getAcceptedExternalSends()
public int incrementAcceptedExternalSends()
public void setOutCountUpdated(boolean outCountUpdated)
public boolean isOutCountUpdated()