TAO_CosNotification  2.2.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
CosNotifyComm::StructuredPushConsumer Interface Reference

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


Inheritance diagram for CosNotifyComm::StructuredPushConsumer:
Inheritance graph
Collaboration diagram for CosNotifyComm::StructuredPushConsumer:
Collaboration graph

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

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.

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.

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

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