2000 2007 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_­ProxyPullSupplier ..._ProxyPullSupplier Niclas Eklund Niclas Eklund Niclas Eklund 2000-02-01 1.0
CosNotifyChannelAdmin_ProxyPullSupplier This module implements the OMG CosNotifyChannelAdmin::ProxyPullSupplier 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_NotifySubscribe

CosNotification_QoSAdmin

CosNotifyFilter_FilterAdmin

CosNotifyChannelAdmin_ProxySupplier

connect_any_pull_consumer(ProxyPullSupplier, PullConsumer) -> Reply Connect a consumer to the proxy ProxyPullSupplier = #objref PullConsumer = #objref Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}}

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

pull(ProxyPullSupplier) -> Reply Pull an Any event from the proxy ProxyPullSupplier = #objref Reply = #any | {'EXCEPTION', #'CosEventChannelAdmin_Disconnected'{}}

This operation pulls next #any{} event, and blocks, if the target object have no events to forward, until an event can be delivered. If no client have been connected the Disconnected exception is raised.

try_pull(ProxyPullSupplier) -> Reply Try and pull an Any event from the proxy ProxyPullSupplier = #objref Reply = {#any, HasEvent} | {'EXCEPTION', #'CosEventChannelAdmin_Disconnected'{}} HasEvent = boolean()

This operation pulls next event, but do not block if the target object have no event to forward. If no client have been connected the Disconnected exception is raised.

disconnect_pull_supplier(ProxyPullSupplier) -> ok Close the connection and terminate the proxy ProxyPullSupplier = #objref

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