org.jboss.messaging.core.remoting
Interface Packet

All Known Implementing Classes:
ConnectionCreateSessionMessage, ConnectionCreateSessionResponseMessage, ConsumerFlowCreditMessage, CreateConnectionRequest, CreateConnectionResponse, EmptyPacket, MessagingExceptionMessage, Ping, Pong, ProducerFlowCreditMessage, ProducerSendMessage, ReceiveMessage, SessionAcknowledgeMessage, SessionAddDestinationMessage, SessionBindingQueryMessage, SessionBindingQueryResponseMessage, SessionBrowserHasNextMessageResponseMessage, SessionCancelMessage, SessionCreateBrowserMessage, SessionCreateBrowserResponseMessage, SessionCreateConsumerMessage, SessionCreateConsumerResponseMessage, SessionCreateProducerMessage, SessionCreateProducerResponseMessage, SessionCreateQueueMessage, SessionDeleteQueueMessage, SessionQueueQueryMessage, SessionQueueQueryResponseMessage, SessionRemoveDestinationMessage, SessionXACommitMessage, SessionXAEndMessage, SessionXAForgetMessage, SessionXAGetInDoubtXidsResponseMessage, SessionXAGetTimeoutResponseMessage, SessionXAJoinMessage, SessionXAPrepareMessage, SessionXAResponseMessage, SessionXAResumeMessage, SessionXARollbackMessage, SessionXASetTimeoutMessage, SessionXASetTimeoutResponseMessage, SessionXAStartMessage

public interface Packet

A Packet

Author:
Jeff Mesnil, Tim Fox

Field Summary
static long NO_ID_SET
           
 
Method Summary
 void decode(MessagingBuffer buffer)
           
 void encode(MessagingBuffer buffer)
           
 long getExecutorID()
           
 long getResponseTargetID()
           
 long getTargetID()
           
 byte getType()
           
 void normalize(Packet other)
           
 void setExecutorID(long executorID)
           
 void setResponseTargetID(long responseTargetID)
           
 void setTargetID(long targetID)
           
 

Field Detail

NO_ID_SET

static final long NO_ID_SET
See Also:
Constant Field Values
Method Detail

setResponseTargetID

void setResponseTargetID(long responseTargetID)

getResponseTargetID

long getResponseTargetID()

getType

byte getType()

getTargetID

long getTargetID()

setTargetID

void setTargetID(long targetID)

getExecutorID

long getExecutorID()

setExecutorID

void setExecutorID(long executorID)

normalize

void normalize(Packet other)

encode

void encode(MessagingBuffer buffer)
            throws java.lang.Exception
Throws:
java.lang.Exception

decode

void decode(MessagingBuffer buffer)
            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.