org.jboss.mq
Class AcknowledgementRequest

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

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

Used to Acknowledge sent messages.

This class holds the minimum amount of information needed to identify a message to the JMSServer.

See Also:
Serialized Form

Field Summary
 Destination (src) destination
          The destination
 boolean isAck
          Is it an acknowledgement
 java.lang.String messageID
          The messageID
 int subscriberId
          The subscriberId
 
Constructor Summary
AcknowledgementRequest()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

isAck

public boolean isAck
Is it an acknowledgement


destination

public Destination (src)  destination
The destination


messageID

public java.lang.String messageID
The messageID


subscriberId

public int subscriberId
The subscriberId

Constructor Detail

AcknowledgementRequest

public AcknowledgementRequest()
Method Detail

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()

readExternal

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

writeExternal

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