2000 2016 Ericsson AB, All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosNotifyChannelAdmin_ProxyPullConsumer 2000-02-01 1.0
CosNotifyChannelAdmin_ProxyPullConsumer This module implements the OMG CosNotifyChannelAdmin::ProxyPullConsumer 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_any_pull_supplier(ProxyPullConsumer, PullSupplier) -> Reply Connect a supplier to the proxy ProxyPullConsumer = #objref PullSupplier = #objref Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}} | {'EXCEPTION', #'CosEventChannelAdmin_TypeError'{}}

This operation connects the given PullSupplier to the target object. If a client is already connected the AlreadyConnected exception will be raised. The client must support the operations pull and try_pull, otherwise the TypeError exception is raised.

suspend_connection(ProxyPullConsumer) -> Reply Suspend the connection between the client and the proxy ProxyPullConsumer = #objref Reply = ok | {'EXCEPTION', #'CosNotifyChannelAdmin_ConnectionAlreadyInactive'{}} | {'EXCEPTION', #'CosNotifyChannelAdmin_NotConnected'{}}

If we want to temporarily suspend the connection with the target object this operation must be sued. If the connection already have been suspended or no client have been connected an exception is raised.

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

If The connection have been suspended earlier we can invoke this operation to reinstate the connection. If the connection already is active or no client have been connected to the target object an exception is raised.

disconnect_pull_consumer(ProxyPullConsumer) -> ok Close the connection and terminate the proxy ProxyPullConsumer = #objref

Invoking this operation disconnects the client from the target object which then terminates and inform its administrative parent.