org.jacorb.notification
Class OfferManager

java.lang.Object
  extended byorg.jacorb.notification.EventTypeSet
      extended byorg.jacorb.notification.OfferManager
All Implemented Interfaces:
NotifyPublishOperations

public class OfferManager
extends EventTypeSet
implements NotifyPublishOperations

Utility class that manages subscriptions of NotifyPublishers and broadcasting of offer_change requests.

Version:
$Id: OfferManager.java,v 1.9 2006/01/29 21:19:23 alphonse.bendt Exp $
Author:
Alphonse Bendt

Field Summary
static OfferManager NULL_MANAGER
           
 
Fields inherited from class org.jacorb.notification.EventTypeSet
EMPTY_EVENT_TYPE
 
Constructor Summary
OfferManager()
           
 
Method Summary
 void actionSetChanged(EventType[] added, EventType[] removed)
           
 void addListener(NotifyPublishOperations listener)
           
 EventType[] obtain_offered_types()
           
 void offer_change(EventType[] added, EventType[] removed)
           
 void removeListener(NotifyPublishOperations listener)
           
 
Methods inherited from class org.jacorb.notification.EventTypeSet
changeSet, getAllTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_MANAGER

public static final OfferManager NULL_MANAGER
Constructor Detail

OfferManager

public OfferManager()
Method Detail

addListener

public void addListener(NotifyPublishOperations listener)

removeListener

public void removeListener(NotifyPublishOperations listener)

actionSetChanged

public void actionSetChanged(EventType[] added,
                             EventType[] removed)
Specified by:
actionSetChanged in class EventTypeSet

offer_change

public void offer_change(EventType[] added,
                         EventType[] removed)
                  throws InvalidEventType
Specified by:
offer_change in interface NotifyPublishOperations
Throws:
InvalidEventType

obtain_offered_types

public EventType[] obtain_offered_types()