org.jacorb.notification

Class SubscriptionManager

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

Field Summary
static SubscriptionManagerNULL_MANAGER
Constructor Summary
SubscriptionManager()
Method Summary
voidactionSetChanged(EventType[] added, EventType[] removed)
voidaddListener(NotifySubscribeOperations listener)
EventType[]obtain_subscription_types()
voidremoveListener(NotifySubscribeOperations listener)
voidsubscription_change(EventType[] added, EventType[] removed)

Field Detail

NULL_MANAGER

public static final SubscriptionManager NULL_MANAGER

Constructor Detail

SubscriptionManager

public SubscriptionManager()

Method Detail

actionSetChanged

public void actionSetChanged(EventType[] added, EventType[] removed)

addListener

public void addListener(NotifySubscribeOperations listener)

obtain_subscription_types

public EventType[] obtain_subscription_types()

removeListener

public void removeListener(NotifySubscribeOperations listener)

subscription_change

public void subscription_change(EventType[] added, EventType[] removed)