org.jacorb.notification
Class SubscriptionManager
java.lang.Object
org.jacorb.notification.EventTypeSet
org.jacorb.notification.SubscriptionManager
- All Implemented Interfaces:
- org.omg.CosNotifyComm.NotifySubscribeOperations
public class SubscriptionManager
- extends EventTypeSet
- implements org.omg.CosNotifyComm.NotifySubscribeOperations
Utility class that manages subscriptions of NotifySubscribers and broadcasting of subscription_change
requests.
- Author:
- Alphonse Bendt
|
Method Summary |
void |
actionSetChanged(org.omg.CosNotification.EventType[] added,
org.omg.CosNotification.EventType[] removed)
|
void |
addListener(org.omg.CosNotifyComm.NotifySubscribeOperations listener)
|
org.omg.CosNotification.EventType[] |
obtain_subscription_types()
|
void |
removeListener(org.omg.CosNotifyComm.NotifySubscribeOperations listener)
|
void |
subscription_change(org.omg.CosNotification.EventType[] added,
org.omg.CosNotification.EventType[] removed)
|
| 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(org.omg.CosNotifyComm.NotifySubscribeOperations listener)
removeListener
public void removeListener(org.omg.CosNotifyComm.NotifySubscribeOperations listener)
actionSetChanged
public void actionSetChanged(org.omg.CosNotification.EventType[] added,
org.omg.CosNotification.EventType[] removed)
- Specified by:
actionSetChanged in class EventTypeSet
subscription_change
public void subscription_change(org.omg.CosNotification.EventType[] added,
org.omg.CosNotification.EventType[] removed)
throws org.omg.CosNotifyComm.InvalidEventType
- Specified by:
subscription_change in interface org.omg.CosNotifyComm.NotifySubscribeOperations
- Throws:
org.omg.CosNotifyComm.InvalidEventType
obtain_subscription_types
public org.omg.CosNotification.EventType[] obtain_subscription_types()
Copyright © 2012 JacORB. All Rights Reserved.