org.jboss.messaging.core.remoting
Interface Packet

All Known Implementing Classes:
CreateQueueMessage, CreateSessionMessage, CreateSessionResponseMessage, MessagingExceptionMessage, NullResponseMessage, PacketImpl, PacketsConfirmedMessage, Ping, ReattachSessionMessage, ReattachSessionResponseMessage, ReplicateAcknowledgeMessage, ReplicateCreateSessionMessage, ReplicateRedistributionMessage, ReplicateRemoteBindingAddedMessage, ReplicateRemoteBindingRemovedMessage, ReplicateRemoteConsumerAddedMessage, ReplicateRemoteConsumerRemovedMessage, ReplicateStartupInfoMessage, RollbackMessage, SessionAcknowledgeMessage, SessionBindingQueryMessage, SessionBindingQueryResponseMessage, SessionCloseMessage, SessionConsumerCloseMessage, SessionConsumerFlowCreditMessage, SessionContinuationMessage, SessionCreateConsumerMessage, SessionDeleteQueueMessage, SessionExpiredMessage, SessionFailoverCompleteMessage, SessionQueueQueryMessage, SessionQueueQueryResponseMessage, SessionReceiveContinuationMessage, SessionReceiveMessage, SessionReplicateDeliveryMessage, SessionSendContinuationMessage, SessionSendLargeMessage, SessionSendMessage, SessionXACommitMessage, SessionXAEndMessage, SessionXAForgetMessage, SessionXAGetInDoubtXidsResponseMessage, SessionXAGetTimeoutResponseMessage, SessionXAJoinMessage, SessionXAPrepareMessage, SessionXAResponseMessage, SessionXAResumeMessage, SessionXARollbackMessage, SessionXASetTimeoutMessage, SessionXASetTimeoutResponseMessage, SessionXAStartMessage

public interface Packet

A Packet

Author:
Tim Fox

Method Summary
 void decode(MessagingBuffer buffer)
           
 int encode(MessagingBuffer buffer)
           
 long getChannelID()
           
 int getPacketSize()
           
 int getRequiredBufferSize()
           
 byte getType()
           
 boolean isRequiresConfirmations()
           
 boolean isResponse()
           
 boolean isWriteAlways()
           
 void setChannelID(long channelID)
           
 

Method Detail

setChannelID

void setChannelID(long channelID)

getChannelID

long getChannelID()

isResponse

boolean isResponse()

getType

byte getType()

encode

int encode(MessagingBuffer buffer)

decode

void decode(MessagingBuffer buffer)

getPacketSize

int getPacketSize()

getRequiredBufferSize

int getRequiredBufferSize()

isRequiresConfirmations

boolean isRequiresConfirmations()

isWriteAlways

boolean isWriteAlways()


Copyright © 2006 JBoss Inc. All Rights Reserved.