站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

AbstractStateManager.DurableSubscription (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq.sm
Class AbstractStateManager.DurableSubscription

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

protected class AbstractStateManager.DurableSubscription
extends 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(String clientID, String name, String topic, String selector)
          Create a new DurableSubscription.
 
Method Summary
 String getClientID()
          Get the client id
 String getName()
          Get the subcription name
 String getSelector()
          Gets the selector.
 String getTopic()
          Get the topic name
 void setSelector(String selector)
          Sets the selector.
 void setTopic(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(String clientID,
                                                String name,
                                                String topic,
                                                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 String getClientID()
Get the client id

Returns:
the client id

getName

public String getName()
Get the subcription name

Returns:
the subscription name

getTopic

public String getTopic()
Get the topic name

Returns:
the topic name

setTopic

public void setTopic(String topic)
Set the topic name

Parameters:
topic - the internal name of the topic

getSelector

public String getSelector()
Gets the selector.

Returns:
the selector

setSelector

public void setSelector(String selector)
Sets the selector.

Parameters:
selector - The selector to set


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