|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.tools.migration.proxy.Subscription
public class Subscription
Maintains the state of a consumer's subcription to a single destination.
Constructor Summary | |
---|---|
Subscription(org.exolab.jms.client.JmsDestination destination)
Construct a new Subscription |
Method Summary | |
---|---|
void |
addMessage(java.lang.String messageId,
boolean delivered)
Add a reference to a message. |
org.exolab.jms.client.JmsDestination |
getDestination()
Returns the destination being subscribed to. |
java.util.List |
getMessages()
Returns the messages that the subscription references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Subscription(org.exolab.jms.client.JmsDestination destination)
Subscription
destination
- the destination being subscribed toMethod Detail |
---|
public org.exolab.jms.client.JmsDestination getDestination()
public void addMessage(java.lang.String messageId, boolean delivered)
messageId
- the message identifierdelivered
- determines if the message has been delivered or notpublic java.util.List getMessages()
MessageState
instances
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |