Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.config.proxy.Subscription

java.lang.Object
        com.ibm.broker.config.proxy.Subscription

public class Subscription
extends Object

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
 
 

Method Index
Method Description
void delete(SubscriptionsProxy) Asks the Configuration Manager to delete the supplied subscription.
String getBroker() Returns the broker field for the current subscription
String getClient() Returns the client field for the current subscription
String getFilter() Returns the filter field for the current subscription
Date getRegistrationDate() Returns the registration date for the current subscription
Subscription getSubscriptionFromString(String) Returns a new Subscription object that contains the information described in the encoded String.
String getSubscriptionPoint() Returns the subscription point field for the current subscription
String getTopicName() Returns the topicname field for the current subscription
String getUser() Returns the user field for the current subscription
String toString() Displays information on the subscription (for trace)

Methods

delete

public void delete(SubscriptionsProxy owningProxy) throws ConfigManagerProxyLoggedException

Asks the Configuration Manager to delete the supplied subscription.

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.

getBroker

public String getBroker() 

Returns the broker field for the current subscription

getClient

public String getClient() 

Returns the client field for the current subscription

getFilter

public String getFilter() 

Returns the filter field for the current subscription

getRegistrationDate

public Date getRegistrationDate() 

Returns the registration date for the current subscription

getSubscriptionFromString

public static Subscription getSubscriptionFromString(String encodedData) 

Returns a new Subscription object that contains the information described in the encoded String.

getSubscriptionPoint

public String getSubscriptionPoint() 

Returns the subscription point field for the current subscription

getTopicName

public String getTopicName() 

Returns the topicname field for the current subscription

getUser

public String getUser() 

Returns the user field for the current subscription

toString

public String toString() 

Displays information on the subscription (for trace)

Class Hierarchy All Classes All Fields and Methods