CosNotifyChannelAdmin_ProxyPushConsumer.3erl

Langue: en

Autres versions - même langue

Version: 339177 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

CosNotifyChannelAdmin_ProxyPushConsumer - This module implements the OMG CosNotifyChannelAdmin::ProxyPushConsumer interface.

DESCRIPTION

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

This module also exports the functions described in:


*
CosNotifyComm_NotifyPublish .br .br


*
CosNotification_QoSAdmin .br .br


*
CosNotifyFilter_FilterAdmin .br .br


*
CosNotifyChannelAdmin_ProxyConsumer .br .br


EXPORTS

connect_any_push_supplier(ProxyPushConsumer, PushSupplier) -> Reply

Types
ProxyPushConsumer = #objref
PushSupplier = #objref
Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}}

This operation connects a PushSupplier to the target object. If a connection already exists the AlreadyConnected exception is raised.

push(ProxyPushConsumer, Event) -> Reply

Types
ProxyPushConsumer = #objref
Event = #any
Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_Disconnected'{}}

This operation pushes an #any{} event to the target object. If no client have been connected the Disconnected exception is raised.

disconnect_push_consumer(ProxyPushConsumer) -> ok

Types
ProxyPushConsumer = #objref

Invoking this operation will cause the target object to close the connection and terminate.