org.jboss.mq
Class ReceiveRequest

java.lang.Object
  extended byorg.jboss.mq.ReceiveRequest
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class ReceiveRequest
extends java.lang.Object
implements java.io.Externalizable

This class contians all the data needed to perform a JMS transaction

See Also:
Serialized Form

Field Summary
 SpyMessage (src) message
          The message
protected static byte NON_NULL
          Whether the subscription is non null
protected static byte NULL
          Whether the subscription is null
 java.lang.Integer subscriptionId
          Is this an exlusive message? Then subscriptionId != null
 
Constructor Summary
ReceiveRequest()
           
 
Method Summary
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

protected static final byte NULL
Whether the subscription is null

See Also:
Constant Field Values (src)

NON_NULL

protected static final byte NON_NULL
Whether the subscription is non null

See Also:
Constant Field Values (src)

message

public SpyMessage (src)  message
The message


subscriptionId

public java.lang.Integer subscriptionId
Is this an exlusive message? Then subscriptionId != null

Constructor Detail

ReceiveRequest

public ReceiveRequest()
Method Detail

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException

toString

public java.lang.String toString()

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException