[Ericsson AB]

CosNotifyChannelAdmin_­StructuredProxyPushSupplier

MODULE

CosNotifyChannelAdmin_­StructuredProxyPushSupplier

MODULE SUMMARY

This module implements the OMG CosNotifyChannelAdmin::StructuredProxyPushSupplier interface.

DESCRIPTION

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

This module also exports the functions described in:

EXPORTS

connect_structured_push_consumer(StructuredProxyPushSupplier, PushConsumer) -> Reply

Types:

StructuredProxyPushSupplier = #objref
PushConsumer = #objref
Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}} | {'EXCEPTION', #'CosEventChannelAdmin_TypeError'{}}

This operation connects a PushConsumer to the target object. If a connection already exists or the function push_structured_event is not supported by the client object an exception is raised.

suspend_connection(StructuredProxyPushSupplier) -> Reply

Types:

StructuredProxyPushSupplier = #objref
Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}

This operation suspends the connection with the target object. If no connection exists or the connection already is suspended an exception is raised.

resume_connection(StructuredProxyPushSupplier) -> Reply

Types:

StructuredProxyPullConsumer = #objref
Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}

If the connection with the target object have been suspended this function must be used to resume the connection. If no client have been connected or the connection is active an exception is raised.

disconnect_structured_push_supplier(StructuredProxyPushSupplier) -> ok

Types:

StructuredProxyPushSupplier = #objref

This operation cause the target object to close the connection and terminate.

AUTHORS

support - support@erlang.ericsson.se

cosNotification 1.1.3
Copyright © 1991-2006 Ericsson AB