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_­StructuredProxyPushSupplier ..._StructuredProxyPushSupplier Niclas Eklund Niclas Eklund Niclas Eklund 2000-02-01 1.0
CosNotifyChannelAdmin_­StructuredProxyPushSupplier This module implements the OMG CosNotifyChannelAdmin::StructuredProxyPushSupplier 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_structured_push_consumer(StructuredProxyPushSupplier, PushConsumer) -> Reply Connect a consumer to the proxy 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 Suspend the connection with the target object 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 Resume a previously suspended connection 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 Close the connection and terminate the target object StructuredProxyPushSupplier = #objref

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