2000 2011 Ericsson AB, All Rights Reserved The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosNotifyChannelAdmin_­SequenceProxyPullConsumer ..._SequenceProxyPullConsumer Niclas Eklund Niclas Eklund Niclas Eklund 2000-02-01 1.0
CosNotifyChannelAdmin_SequenceProxyPullConsumer This module implements the OMG CosNotifyChannelAdmin::SequenceProxyPullConsumer 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:

CosNotifyComm_NotifyPublish

CosNotification_QoSAdmin

CosNotifyFilter_FilterAdmin

CosNotifyChannelAdmin_ProxyConsumer

connect_sequence_pull_supplier(SequenceProxyPullConsumer, PullSupplier) -> Reply Connect a supplier to the proxy SequenceProxyPullConsumer = #objref PullSupplier = #objref Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}} | {'EXCEPTION', #'CosEventChannelAdmin_TypeError'{}}

This operation connects a PullSupplier to the target object. If a connection already exists or the supplied client does not support the functions pull_structured_events and try_pull_structured_events an exception is raised.

suspend_connection(SequenceProxyPullConsumer) -> Reply Suspend the connection with the proxy SequenceProxyPullConsumer = #objref Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}

If a connection exist, invoking this operation will suspend the connection until instructed otherwise. Otherwise, no client have been connected or this operation already have been invoked an exception is raised.

resume_connection(SequenceProxyPullConsumer) -> Reply Resume a previously suspended connection with the proxy SequenceProxyPullConsumer = #objref Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}

If an connection have been suspended this operation must be used to resume the connection. If the connection already is active or no client have been connected an exception is raised.

disconnect_sequence_pull_consumer(SequenceProxyPullConsumer) -> ok Close connection and terminate the proxy SequenceProxyPullConsumer = #objref

This operation close the connection to the client and terminates the target object.