org.jboss.messaging.core.remoting.impl.wireformat
Class ReceiveMessage

java.lang.Object
  extended by org.jboss.messaging.core.remoting.impl.wireformat.EmptyPacket
      extended by org.jboss.messaging.core.remoting.impl.wireformat.ReceiveMessage
All Implemented Interfaces:
Packet

public class ReceiveMessage
extends EmptyPacket

Version:
$Revision$
Author:
Tim Fox, Ovidiu Feodorov, Jeff Mesnil

Field Summary
 
Fields inherited from class org.jboss.messaging.core.remoting.impl.wireformat.EmptyPacket
CLOSE, CONN_CREATESESSION, CONN_CREATESESSION_RESP, CONN_START, CONN_STOP, CONS_FLOWTOKEN, CREATECONNECTION, CREATECONNECTION_RESP, EXCEPTION, NULL, PING, PONG, PROD_RECEIVETOKENS, PROD_SEND, RECEIVE_MSG, SESS_ACKNOWLEDGE, SESS_ADD_DESTINATION, SESS_BINDINGQUERY, SESS_BINDINGQUERY_RESP, SESS_BROWSER_HASNEXTMESSAGE, SESS_BROWSER_HASNEXTMESSAGE_RESP, SESS_BROWSER_NEXTMESSAGE, SESS_BROWSER_RESET, SESS_CANCEL, SESS_COMMIT, SESS_CREATEBROWSER, SESS_CREATEBROWSER_RESP, SESS_CREATECONSUMER, SESS_CREATECONSUMER_RESP, SESS_CREATEPRODUCER, SESS_CREATEPRODUCER_RESP, SESS_CREATEQUEUE, SESS_DELETE_QUEUE, SESS_QUEUEQUERY, SESS_QUEUEQUERY_RESP, SESS_RECOVER, SESS_REMOVE_DESTINATION, SESS_ROLLBACK, SESS_XA_COMMIT, SESS_XA_END, SESS_XA_FORGET, SESS_XA_GET_TIMEOUT, SESS_XA_GET_TIMEOUT_RESP, SESS_XA_INDOUBT_XIDS, SESS_XA_INDOUBT_XIDS_RESP, SESS_XA_JOIN, SESS_XA_PREPARE, SESS_XA_RESP, SESS_XA_RESUME, SESS_XA_ROLLBACK, SESS_XA_SET_TIMEOUT, SESS_XA_SET_TIMEOUT_RESP, SESS_XA_START, SESS_XA_SUSPEND
 
Fields inherited from interface org.jboss.messaging.core.remoting.Packet
NO_ID_SET
 
Constructor Summary
ReceiveMessage()
           
ReceiveMessage(ClientMessage message)
           
ReceiveMessage(ServerMessage message, int deliveryCount, long deliveryID)
           
 
Method Summary
 void decodeBody(MessagingBuffer buffer)
           
 void encodeBody(MessagingBuffer buffer)
           
 ClientMessage getClientMessage()
           
 int getDeliveryCount()
           
 long getDeliveryID()
           
 ServerMessage getServerMessage()
           
 
Methods inherited from class org.jboss.messaging.core.remoting.impl.wireformat.EmptyPacket
decode, encode, getExecutorID, getParentString, getResponseTargetID, getTargetID, getType, normalize, setExecutorID, setResponseTargetID, setTargetID, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReceiveMessage

public ReceiveMessage(ClientMessage message)

ReceiveMessage

public ReceiveMessage(ServerMessage message,
                      int deliveryCount,
                      long deliveryID)

ReceiveMessage

public ReceiveMessage()
Method Detail

getClientMessage

public ClientMessage getClientMessage()

getServerMessage

public ServerMessage getServerMessage()

getDeliveryCount

public int getDeliveryCount()

getDeliveryID

public long getDeliveryID()

encodeBody

public void encodeBody(MessagingBuffer buffer)
Overrides:
encodeBody in class EmptyPacket

decodeBody

public void decodeBody(MessagingBuffer buffer)
Overrides:
decodeBody in class EmptyPacket


Copyright © 2006 JBoss Inc. All Rights Reserved.