From 84adefa331c4159d432d22840663c38f155cd4c1 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Fri, 20 Nov 2009 14:54:40 +0000 Subject: The R13B03 release. --- ...ifyChannelAdmin_StructuredProxyPullSupplier.xml | 140 +++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 lib/cosNotification/doc/src/CosNotifyChannelAdmin_StructuredProxyPullSupplier.xml (limited to 'lib/cosNotification/doc/src/CosNotifyChannelAdmin_StructuredProxyPullSupplier.xml') diff --git a/lib/cosNotification/doc/src/CosNotifyChannelAdmin_StructuredProxyPullSupplier.xml b/lib/cosNotification/doc/src/CosNotifyChannelAdmin_StructuredProxyPullSupplier.xml new file mode 100644 index 0000000000..4a454b224a --- /dev/null +++ b/lib/cosNotification/doc/src/CosNotifyChannelAdmin_StructuredProxyPullSupplier.xml @@ -0,0 +1,140 @@ + + + + +
+ + 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_­StructuredProxyPullSupplier + ..._StructuredProxyPullSupplier + Niclas Eklund + Niclas Eklund + + Niclas Eklund + + 2000-02-01 + 1.0 +
+ CosNotifyChannelAdmin_­StructuredProxyPullSupplier + This module implements the OMG CosNotifyChannelAdmin::StructuredProxyPullSupplier 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_pull_consumer(StructuredProxyPullSupplier, PullConsumer) -> Reply + Connect a consumer to the proxy + + StructuredProxyPullSupplier = #objref + PullConsumer = #objref + Reply = ok | {'EXCEPTION', #'CosEventChannelAdmin_AlreadyConnected'{}} + + +

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

+
+
+ + pull_structured_event(StructuredProxyPullSupplier) -> Reply + Pull a structured event from the proxy + + StructuredProxyPullSupplier = #objref + Reply = StructuredEvent | {'EXCEPTION', #'CosEventChannelAdmin_Disconnected'{}} + StructuredEvent = #'CosNotification_StructuredEvent'{header, filterable_data, remainder_of_body} + header = EventHeader + filterable_data = [#'CosNotification_Property'{name, value}] + name = string() + value = #any + remainder_of_body = #any + EventHeader = #'CosNotification_EventHeader'{fixed_header, variable_header} + fixed_header = FixedEventHeader + variable_header = OptionalHeaderFields + FixedEventHeader = #'CosNotification_FixedEventHeader'{event_type, event_name} + event_type = EventType + event_name = string() + EventType = #'CosNotification_EventType'{domain_name, type_name} + domain_name = type_name = string() + OptionalHeaderFields = [#'CosNotification_Property'{name, value}] + + +

This operation pulls next event from the target object; if an event cannot + be delivered this function blocks until an event arrives.

+
+
+ + try_pull_structured_event(StructuredProxyPullSupplier) -> Reply + Try to pull a structured event from the proxy + + StructuredProxyPullSupplier = #objref + Reply = {StructuredEvent, HasEvent} | {'EXCEPTION', #'CosEventChannelAdmin_Disconnected'{}} + HasEvent = boolean() + StructuredEvent = #'CosNotification_StructuredEvent'{header, filterable_data, remainder_of_body} + header = EventHeader + filterable_data = [#'CosNotification_Property'{name, value}] + name = string() + value = #any + remainder_of_body = #any + EventHeader = #'CosNotification_EventHeader'{fixed_header, variable_header} + fixed_header = FixedEventHeader + variable_header = OptionalHeaderFields + FixedEventHeader = #'CosNotification_FixedEventHeader'{event_type, event_name} + event_type = EventType + event_name = string() + EventType = #'CosNotification_EventType'{domain_name, type_name} + domain_name = type_name = string() + OptionalHeaderFields = [#'CosNotification_Property'{name, value}] + + +

This operation try to pull next event from the target object. If no event have arrived + an empty event is returned and the out parameter HasEvent is set to false. Otherwise, + the boolean flag is set to true and an valid event is returned.

+
+
+ + disconnect_structured_pull_supplier(StructuredProxyPullSupplier) -> ok + Close connection and terminate the proxy + + StructuredProxyPullSupplier = #objref + + +

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

+
+
+
+ +
+ -- cgit v1.2.3