org.jacorb.notification
Class OfferManager

java.lang.Object
  extended by org.jacorb.notification.EventTypeSet
      extended by org.jacorb.notification.OfferManager
All Implemented Interfaces:
org.omg.CosNotifyComm.NotifyPublishOperations

public class OfferManager
extends EventTypeSet
implements org.omg.CosNotifyComm.NotifyPublishOperations

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

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(org.omg.CosNotification.EventType[] added, org.omg.CosNotification.EventType[] removed)
           
 void addListener(org.omg.CosNotifyComm.NotifyPublishOperations listener)
           
 org.omg.CosNotification.EventType[] obtain_offered_types()
           
 void offer_change(org.omg.CosNotification.EventType[] added, org.omg.CosNotification.EventType[] removed)
           
 void removeListener(org.omg.CosNotifyComm.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(org.omg.CosNotifyComm.NotifyPublishOperations listener)

removeListener

public void removeListener(org.omg.CosNotifyComm.NotifyPublishOperations listener)

actionSetChanged

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

offer_change

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

obtain_offered_types

public org.omg.CosNotification.EventType[] obtain_offered_types()


Copyright © 2012 JacORB. All Rights Reserved.