|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.broker.config.proxy.Subscription
public class Subscription
Each Subscription object represents a single topic subscription on a broker. Subscription objects are returned as results from SubscriptionProxy queries.
com.ibm.broker.config.proxy.Subscription
|
|
Responsibilities | Represents a single read-only entry from the Subscription table. |
Internal Collaborators | None |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ 25103.1 2004-04-22 HDMPL v6 Release 44739.7 2007-07-30 HDMPL v6.1 release (no changes)
Method Summary | |
---|---|
void |
delete(SubscriptionsProxy owningProxy)
Asks the Configuration Manager to delete the supplied subscription. |
java.lang.String |
getBroker()
Returns the broker field for the current subscription |
java.lang.String |
getClient()
Returns the client field for the current subscription |
java.lang.String |
getFilter()
Returns the filter field for the current subscription |
java.util.Date |
getRegistrationDate()
Returns the registration date for the current subscription |
static Subscription |
getSubscriptionFromString(java.lang.String encodedData)
Returns a new Subscription object that contains the information described in the encoded String. |
java.lang.String |
getSubscriptionPoint()
Returns the subscription point field for the current subscription |
java.lang.String |
getTopicName()
Returns the topicname field for the current subscription |
java.lang.String |
getUser()
Returns the user field for the current subscription |
java.lang.String |
toString()
Displays information on the subscription (for trace) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getTopicName()
public java.lang.String getUser()
public java.lang.String getSubscriptionPoint()
public java.util.Date getRegistrationDate()
public java.lang.String getClient()
public java.lang.String getFilter()
public java.lang.String getBroker()
public void delete(SubscriptionsProxy owningProxy) throws ConfigManagerProxyLoggedException
Note: Any response message from the Configuration Manager resulting from this method will be sent to listeners of the ConfigManagerProxy object, because Subscriptions and SubscriptionsProxies cannot have AdministeredObjectListeners.
owningProxy
- Proxy that can be used to route
the delete request to the Configuration Manager.
ConfigManagerProxyLoggedException
- If the
request could not be sent to the Configuration
Manager.public static Subscription getSubscriptionFromString(java.lang.String encodedData)
encodedData
- String encoded in the format
used by the SubscriptionsProxy.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |