CosNotifyComm_NotifyPublish

This module implements the OMG CosNotifyComm::NotifyPublish interface.

To get access to the record definitions for the structures use:
-include_lib("cosNotification/include/*.hrl").

All objects, which inherit this interface, export functions described in this module.

Functions


offer_change(Object, Added, Removed) -> Reply

  • Object = #objref
  • Added = Removed = EventTypeSeq
  • EventTypeSeq = [type]
  • Reply = ok | {'EXCEPTION', CosNotifyComm_InvalidEventType{type}}
  • type = #'CosNotification_EventType'{domain_name, type_name}
  • domain_name = type_name = string()

Objects supporting this interface can be informed by supplier objects about which type of events that will be delivered in the future. This operation accepts two parameters describing new and old event types respectively. If any of the supplied event type names is syntactically incorrect an exception is raised.