org.objectweb.joram.mom.notifications
Class AcknowledgeRequest

java.lang.Object
  extended byfr.dyade.aaa.agent.Notification
      extended byorg.objectweb.joram.mom.notifications.AbstractNotification
          extended byorg.objectweb.joram.mom.notifications.AbstractRequest
              extended byorg.objectweb.joram.mom.notifications.AcknowledgeRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class AcknowledgeRequest
extends AbstractRequest

An AcknowledgeRequest instance is used by a client agent for acknowledging one or many messages on a queue.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
persistent
 
Constructor Summary
AcknowledgeRequest(int clientContext, int requestId, java.lang.String msgId)
          Constructs an AcknowledgeRequest instance.
AcknowledgeRequest(int clientContext, int requestId, java.util.Vector msgIds)
          Constructs an AcknowledgeRequest instance.
 
Method Summary
 java.util.Enumeration getIds()
          Returns the acknowledged messages' identifiers.
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractRequest
getRequestId, toString
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
getClientContext
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, setContext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcknowledgeRequest

public AcknowledgeRequest(int clientContext,
                          int requestId,
                          java.util.Vector msgIds)
Constructs an AcknowledgeRequest instance.

Parameters:
clientContext - Identifies a client context.
requestId - Request identifier.
msgIds - Vector of message identifiers.

AcknowledgeRequest

public AcknowledgeRequest(int clientContext,
                          int requestId,
                          java.lang.String msgId)
Constructs an AcknowledgeRequest instance.

Parameters:
clientContext - Identifies a client context.
requestId - Request identifier.
msgId - Message identifier.
Method Detail

getIds

public java.util.Enumeration getIds()
Returns the acknowledged messages' identifiers.



Copyright ? 2004 Scalagent - All rights reserved