flex.management.runtime.messaging.services.messaging
Interface SubscriptionManagerControlMBean

All Superinterfaces:
BaseControlMBean

public interface SubscriptionManagerControlMBean
extends BaseControlMBean

Defines the runtime monitoring and management interface for SubscriptionManagers.


Method Summary
 Integer getSubscriberCount()
          Returns the count of active subscribers.
 String[] getSubscriberIds()
          Returns the ids for all active subscribers.
 void removeAllSubscribers()
          Unsubscribes all active subscribers.
 void removeSubscriber(String subscriberId)
          Unsubscribes the target subscriber.
 
Methods inherited from interface flex.management.BaseControlMBean
getId, getParent, getType
 

Method Detail

getSubscriberCount

public Integer getSubscriberCount()
                           throws IOException
Returns the count of active subscribers.

Returns:
The count of active subscribers.
Throws:
IOException

getSubscriberIds

public String[] getSubscriberIds()
                          throws IOException
Returns the ids for all active subscribers.

Returns:
The ids for all active subscribers.
Throws:
IOException

removeSubscriber

public void removeSubscriber(String subscriberId)
                      throws IOException
Unsubscribes the target subscriber.

Parameters:
subscriberId - The id for the subscriber to unsubscribe.
Throws:
IOException

removeAllSubscribers

public void removeAllSubscribers()
                          throws IOException
Unsubscribes all active subscribers.

Throws:
IOException


Copyright © 2006 Adobe Systems Inc. All Rights Reserved. (Updated August 2, 2006)

Take a survey