org.jboss.mq.sm
Class AbstractStateManager.DurableSubscription

java.lang.Object
  extended byorg.jboss.mq.sm.AbstractStateManager.DurableSubscription
Enclosing class:
AbstractStateManager (src)

protected class AbstractStateManager.DurableSubscription
extends java.lang.Object

Abstracts the data between a subclass and this class. A sublcass can extends this class to ad custom behaviour.


Constructor Summary
AbstractStateManager.DurableSubscription()
          Create a new DurableSubscription.
AbstractStateManager.DurableSubscription(java.lang.String clientID, java.lang.String name, java.lang.String topic, java.lang.String selector)
          Create a new DurableSubscription.
 
Method Summary
 java.lang.String getClientID()
          Get the client id
 java.lang.String getName()
          Get the subcription name
 java.lang.String getSelector()
          Gets the selector.
 java.lang.String getTopic()
          Get the topic name
 void setSelector(java.lang.String selector)
          Sets the selector.
 void setTopic(java.lang.String topic)
          Set the topic name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStateManager.DurableSubscription

public AbstractStateManager.DurableSubscription()
Create a new DurableSubscription.


AbstractStateManager.DurableSubscription

public AbstractStateManager.DurableSubscription(java.lang.String clientID,
                                                java.lang.String name,
                                                java.lang.String topic,
                                                java.lang.String selector)
Create a new DurableSubscription.

Parameters:
clientID - the client id
name - the subscription name
topic - the topic name
selector - any message selector
Method Detail

getClientID

public java.lang.String getClientID()
Get the client id

Returns:
the client id

getName

public java.lang.String getName()
Get the subcription name

Returns:
the subscription name

getTopic

public java.lang.String getTopic()
Get the topic name

Returns:
the topic name

setTopic

public void setTopic(java.lang.String topic)
Set the topic name

Parameters:
topic - the internal name of the topic

getSelector

public java.lang.String getSelector()
Gets the selector.

Returns:
the selector

setSelector

public void setSelector(java.lang.String selector)
Sets the selector.

Parameters:
selector - The selector to set