Using the CORBA Notification Service
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
void
push_structured_event
(
event
in CosNotification::StructuredEvent)
raises(CosEventComm::Disconnected);
Used when subscribing. This operation is implemented by the subscriber's callback object and is invoked by the Notification Service each time a structured event is delivered. This operation contains a single input parameter, which is a structured event.
Note: This operation will not be called in a transaction. Also, when this operation is called, it must return quickly because the Notification Service might not start delivering events to other subscribers until this operation returns.
Note: Code examples shown here are abbreviated. For complete code examples, see "Implementing the CosNotifyComm::StructuredPushConsumer Interface" on page -6.
virtual void push_structured_event(
const CosNotification::StructuredEvent& notification );
{
// Process the event.
}
![]() ![]() |
![]() |
![]() |