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

All Superinterfaces:
BaseControlMBean
All Known Implementing Classes:
SubscriptionManagerControl

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

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

Returns:
The count of active subscribers.
Throws:
IOException - Throws IOException.

getSubscriberIds

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

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

removeSubscriber

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

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

removeAllSubscribers

void removeAllSubscribers()
                          throws IOException
Unsubscribes all active subscribers.

Throws:
IOException - Throws IOException.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/management/runtime/messaging/services/messaging/SubscriptionManagerControlMBean.html