org.jboss.mq
Class AcknowledgementRequest

java.lang.Object
  extended by org.jboss.mq.AcknowledgementRequest
All Implemented Interfaces:
Externalizable, Serializable

public class AcknowledgementRequest
extends Object
implements Externalizable

Used to Acknowledge sent messages.

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

Version:
$Revision: 1.6.6.2 $
Author:
Hiram Chirino (Cojonudo14@hotmail.com), David Maplesden (David.Maplesden@orion.co.nz), Adrian Brock
See Also:
Serialized Form

Field Summary
 javax.jms.Destination destination
          The destination
 boolean isAck
          Is it an acknowledgement
 String messageID
          The messageID
 int subscriberId
          The subscriberId
 
Constructor Summary
AcknowledgementRequest()
           
AcknowledgementRequest(boolean ack)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isAck()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(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 javax.jms.Destination destination
The destination


messageID

public String messageID
The messageID


subscriberId

public int subscriberId
The subscriberId

Constructor Detail

AcknowledgementRequest

public AcknowledgementRequest()

AcknowledgementRequest

public AcknowledgementRequest(boolean ack)
Method Detail

isAck

public boolean isAck()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

readExternal

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

writeExternal

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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.