TAO_CosNotification  3.0.0
Public Member Functions | List of all members
CosNotifyComm::StructuredPushConsumer Interface Reference

Defines the interface used by push-style consumers of structured events. More...

import"CosNotifyComm.idl";

Inheritance diagram for CosNotifyComm::StructuredPushConsumer:
Inheritance graph
[legend]
Collaboration diagram for CosNotifyComm::StructuredPushConsumer:
Collaboration graph
[legend]

Public Member Functions

void push_structured_event (in CosNotification::StructuredEvent notification) raises (CosEventComm::Disconnected)
 Receive one structured event. More...
 
void disconnect_structured_push_consumer ()
 The peer has disconnected. More...
 
- Public Member Functions inherited from CosNotifyComm::NotifyPublish
void offer_change (in CosNotification::EventTypeSeq added, in CosNotification::EventTypeSeq removed) raises ( InvalidEventType )
 Report a change in the list of publications. More...
 

Detailed Description

Defines the interface used by push-style consumers of structured events.

Push-style consumers passively receive events from the Notification Service. The events are provided using the CosNotification::StructuredEvent structure.

Member Function Documentation

◆ disconnect_structured_push_consumer()

void CosNotifyComm::StructuredPushConsumer::disconnect_structured_push_consumer ( )

The peer has disconnected.

This operation is invoked by the consumer peer when it wishes to disconnect. The consumer can safely assume that no more events will follow this request.

◆ push_structured_event()

void CosNotifyComm::StructuredPushConsumer::push_structured_event ( in CosNotification::StructuredEvent  notification)
raises (CosEventComm::Disconnected
)

Receive one structured event.

This operation is invoked to provide one event to the consumer.

Exceptions
CosEventComm::Disconnectedif the object considers itself no longer connected to its peer.

The documentation for this interface was generated from the following file: