CosNotifyChannelAdmin_SequenceProxyPushSupplier
This module implements the OMG CosNotifyChannelAdmin::SequenceProxyPushSupplier interface.
To get access to the record definitions for the structures use:
-include_lib("cosNotification/include/*.hrl").
This module also exports the functions described in:
Functions
connect_sequence_push_consumer(SequenceProxyPushSupplier, PushConsumer) -> Reply
SequenceProxyPushSupplier = #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 psuh_structured_events
is not supported the exceptions AlreadyConnected
or
TypeError
will be raised respectively.
suspend_connection(SequenceProxyPushSupplier) -> Reply
SequenceProxyPushSupplier = #objref
Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}
This operation suspends the connection between the client and the target object. If no connection exists or the connection is already suspended an exception is raised.
resume_connection(SequenceProxyPushSupplier) -> Reply
SequenceProxyPullConsumer = #objref
Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}
If the connection have previously been suspended this operation must used if we want to resume the connection. If no object have been connected or the connection already is active an exception is raised.
disconnect_sequence_push_supplier(SequenceProxyPushSupplier) -> ok
SequenceProxyPushSupplier = #objref
This operation cause the target object to close the connection and terminate.