org.jacorb.notification
Class SubscriptionManager
java.lang.Object
org.jacorb.notification.EventTypeSet
org.jacorb.notification.SubscriptionManager
- All Implemented Interfaces:
- NotifySubscribeOperations
- public class SubscriptionManager
- extends EventTypeSet
- implements NotifySubscribeOperations
Utility class that manages subscriptions of NotifySubscribers and broadcasting of subscription_change
requests.
- Version:
- $Id: SubscriptionManager.java,v 1.10 2006/01/29 21:19:23 alphonse.bendt Exp $
- Author:
- Alphonse Bendt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_MANAGER
public static final SubscriptionManager NULL_MANAGER
SubscriptionManager
public SubscriptionManager()
addListener
public void addListener(NotifySubscribeOperations listener)
removeListener
public void removeListener(NotifySubscribeOperations listener)
actionSetChanged
public void actionSetChanged(EventType[] added,
EventType[] removed)
- Specified by:
actionSetChanged
in class EventTypeSet
subscription_change
public void subscription_change(EventType[] added,
EventType[] removed)
throws InvalidEventType
- Specified by:
subscription_change
in interface NotifySubscribeOperations
- Throws:
InvalidEventType
obtain_subscription_types
public EventType[] obtain_subscription_types()