org.objectweb.joram.mom.notifications
Class AcknowledgeRequest
java.lang.Object
fr.dyade.aaa.agent.Notification
org.objectweb.joram.mom.notifications.AbstractNotification
org.objectweb.joram.mom.notifications.AbstractRequest
org.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
Fields inherited from class fr.dyade.aaa.agent.Notification |
detachable, detached, 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 fr.dyade.aaa.agent.Notification |
clone, getContext, getMessageId, isPersistent, setContext |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
getIds
public java.util.Enumeration getIds()
- Returns the acknowledged messages' identifiers.
Copyright © 2005 Scalagent - All rights reserved