<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- corba</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/orber-3.6.15.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>orber</strong><br><strong>Reference Manual</strong><br><small>Version 3.6.15</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Table of Contents</strong></small></p> <ul class="flipMenu"> <li id="no" title="any " expanded="false">any<ul> <li><a href="any.html"> Top of manual page </a></li> <li title="create-0"><a href="any.html#create-0">create/0</a></li> <li title="create-2"><a href="any.html#create-2">create/2</a></li> <li title="set_typecode-2"><a href="any.html#set_typecode-2">set_typecode/2</a></li> <li title="get_typecode-1"><a href="any.html#get_typecode-1">get_typecode/1</a></li> <li title="set_value-2"><a href="any.html#set_value-2">set_value/2</a></li> <li title="get_value-1"><a href="any.html#get_value-1">get_value/1</a></li> </ul> </li> <li id="no" title="fixed " expanded="false">fixed<ul> <li><a href="fixed.html"> Top of manual page </a></li> <li title="create-3"><a href="fixed.html#create-3">create/3</a></li> <li title="get_typecode-1"><a href="fixed.html#get_typecode-1">get_typecode/1</a></li> <li title="add-2"><a href="fixed.html#add-2">add/2</a></li> <li title="subtract-2"><a href="fixed.html#subtract-2">subtract/2</a></li> <li title="multiply-2"><a href="fixed.html#multiply-2">multiply/2</a></li> <li title="divide-2"><a href="fixed.html#divide-2">divide/2</a></li> <li title="unary_minus-1"><a href="fixed.html#unary_minus-1">unary_minus/1</a></li> </ul> </li> <li id="loadscrollpos" title="corba " expanded="true">corba<ul> <li><a href="corba.html"> Top of manual page </a></li> <li title="create-2"><a href="corba.html#create-2">create/2</a></li> <li title="create-3"><a href="corba.html#create-3">create/3</a></li> <li title="create-4"><a href="corba.html#create-4">create/4</a></li> <li title="create_link-2"><a href="corba.html#create_link-2">create_link/2</a></li> <li title="create_link-3"><a href="corba.html#create_link-3">create_link/3</a></li> <li title="create_link-4"><a href="corba.html#create_link-4">create_link/4</a></li> <li title="dispose-1"><a href="corba.html#dispose-1">dispose/1</a></li> <li title="create_nil_objref-0"><a href="corba.html#create_nil_objref-0">create_nil_objref/0</a></li> <li title="create_subobject_key-2"><a href="corba.html#create_subobject_key-2">create_subobject_key/2</a></li> <li title="get_subobject_key-1"><a href="corba.html#get_subobject_key-1">get_subobject_key/1</a></li> <li title="get_pid-1"><a href="corba.html#get_pid-1">get_pid/1</a></li> <li title="raise-1"><a href="corba.html#raise-1">raise/1</a></li> <li title="reply-2"><a href="corba.html#reply-2">reply/2</a></li> <li title="resolve_initial_references-1"><a href="corba.html#resolve_initial_references-1">resolve_initial_references/1</a></li> <li title="resolve_initial_references-2"><a href="corba.html#resolve_initial_references-2">resolve_initial_references/2</a></li> <li title="add_initial_service-2"><a href="corba.html#add_initial_service-2">add_initial_service/2</a></li> <li title="remove_initial_service-1"><a href="corba.html#remove_initial_service-1">remove_initial_service/1</a></li> <li title="list_initial_services-0"><a href="corba.html#list_initial_services-0">list_initial_services/0</a></li> <li title="resolve_initial_references_remote-2"><a href="corba.html#resolve_initial_references_remote-2">resolve_initial_references_remote/2</a></li> <li title="resolve_initial_references_remote-3"><a href="corba.html#resolve_initial_references_remote-3">resolve_initial_references_remote/3</a></li> <li title="list_initial_services_remote-1"><a href="corba.html#list_initial_services_remote-1">list_initial_services_remote/1</a></li> <li title="list_initial_services_remote-2"><a href="corba.html#list_initial_services_remote-2">list_initial_services_remote/2</a></li> <li title="object_to_string-1"><a href="corba.html#object_to_string-1">object_to_string/1</a></li> <li title="string_to_object-1"><a href="corba.html#string_to_object-1">string_to_object/1</a></li> <li title="string_to_object-2"><a href="corba.html#string_to_object-2">string_to_object/2</a></li> <li title="print_object-1"><a href="corba.html#print_object-1">print_object/1</a></li> <li title="add_alternate_iiop_address-3"><a href="corba.html#add_alternate_iiop_address-3">add_alternate_iiop_address/3</a></li> <li title="orb_init-1"><a href="corba.html#orb_init-1">orb_init/1</a></li> </ul> </li> <li id="no" title="corba_object " expanded="false">corba_object<ul> <li><a href="corba_object.html"> Top of manual page </a></li> <li title="get_interface-1"><a href="corba_object.html#get_interface-1">get_interface/1</a></li> <li title="is_nil-1"><a href="corba_object.html#is_nil-1">is_nil/1</a></li> <li title="is_a-2"><a href="corba_object.html#is_a-2">is_a/2</a></li> <li title="is_a-3"><a href="corba_object.html#is_a-3">is_a/3</a></li> <li title="is_remote-1"><a href="corba_object.html#is_remote-1">is_remote/1</a></li> <li title="non_existent-1"><a href="corba_object.html#non_existent-1">non_existent/1</a></li> <li title="non_existent-2"><a href="corba_object.html#non_existent-2">non_existent/2</a></li> <li title="not_existent-1"><a href="corba_object.html#not_existent-1">not_existent/1</a></li> <li title="not_existent-2"><a href="corba_object.html#not_existent-2">not_existent/2</a></li> <li title="is_equivalent-2"><a href="corba_object.html#is_equivalent-2">is_equivalent/2</a></li> <li title="hash-2"><a href="corba_object.html#hash-2">hash/2</a></li> </ul> </li> <li id="no" title="orber " expanded="false">orber<ul> <li><a href="orber.html"> Top of manual page </a></li> <li title="start-0"><a href="orber.html#start-0">start/0</a></li> <li title="start-1"><a href="orber.html#start-1">start/1</a></li> <li title="jump_start-1"><a href="orber.html#jump_start-1">jump_start/1</a></li> <li title="stop-0"><a href="orber.html#stop-0">stop/0</a></li> <li title="info-0"><a href="orber.html#info-0">info/0</a></li> <li title="info-1"><a href="orber.html#info-1">info/1</a></li> <li title="exception_info-1"><a href="orber.html#exception_info-1">exception_info/1</a></li> <li title="is_system_exception-1"><a href="orber.html#is_system_exception-1">is_system_exception/1</a></li> <li title="get_tables-0"><a href="orber.html#get_tables-0">get_tables/0</a></li> <li title="get_ORBInitRef-0"><a href="orber.html#get_ORBInitRef-0">get_ORBInitRef/0</a></li> <li title="get_ORBDefaultInitRef-0"><a href="orber.html#get_ORBDefaultInitRef-0">get_ORBDefaultInitRef/0</a></li> <li title="domain-0"><a href="orber.html#domain-0">domain/0</a></li> <li title="iiop_port-0"><a href="orber.html#iiop_port-0">iiop_port/0</a></li> <li title="iiop_out_ports-0"><a href="orber.html#iiop_out_ports-0">iiop_out_ports/0</a></li> <li title="iiop_out_ports_random-0"><a href="orber.html#iiop_out_ports_random-0">iiop_out_ports_random/0</a></li> <li title="iiop_out_ports_attempts-0"><a href="orber.html#iiop_out_ports_attempts-0">iiop_out_ports_attempts/0</a></li> <li title="iiop_ssl_port-0"><a href="orber.html#iiop_ssl_port-0">iiop_ssl_port/0</a></li> <li title="iiop_timeout-0"><a href="orber.html#iiop_timeout-0">iiop_timeout/0</a></li> <li title="iiop_connection_timeout-0"><a href="orber.html#iiop_connection_timeout-0">iiop_connection_timeout/0</a></li> <li title="iiop_connections-0"><a href="orber.html#iiop_connections-0">iiop_connections/0</a></li> <li title="iiop_connections-1"><a href="orber.html#iiop_connections-1">iiop_connections/1</a></li> <li title="iiop_connections_pending-0"><a href="orber.html#iiop_connections_pending-0">iiop_connections_pending/0</a></li> <li title="iiop_in_connection_timeout-0"><a href="orber.html#iiop_in_connection_timeout-0">iiop_in_connection_timeout/0</a></li> <li title="iiop_acl-0"><a href="orber.html#iiop_acl-0">iiop_acl/0</a></li> <li title="activate_audit_trail-0"><a href="orber.html#activate_audit_trail-0">activate_audit_trail/0</a></li> <li title="activate_audit_trail-1"><a href="orber.html#activate_audit_trail-1">activate_audit_trail/1</a></li> <li title="deactivate_audit_trail-0"><a href="orber.html#deactivate_audit_trail-0">deactivate_audit_trail/0</a></li> <li title="add_listen_interface-2"><a href="orber.html#add_listen_interface-2">add_listen_interface/2</a></li> <li title="add_listen_interface-3"><a href="orber.html#add_listen_interface-3">add_listen_interface/3</a></li> <li title="add_listen_interface-3"><a href="orber.html#add_listen_interface-3">add_listen_interface/3</a></li> <li title="remove_listen_interface-1"><a href="orber.html#remove_listen_interface-1">remove_listen_interface/1</a></li> <li title="close_connection-1"><a href="orber.html#close_connection-1">close_connection/1</a></li> <li title="close_connection-2"><a href="orber.html#close_connection-2">close_connection/2</a></li> <li title="secure-0"><a href="orber.html#secure-0">secure/0</a></li> <li title="ssl_server_certfile-0"><a href="orber.html#ssl_server_certfile-0">ssl_server_certfile/0</a></li> <li title="ssl_client_certfile-0"><a href="orber.html#ssl_client_certfile-0">ssl_client_certfile/0</a></li> <li title="set_ssl_client_certfile-1"><a href="orber.html#set_ssl_client_certfile-1">set_ssl_client_certfile/1</a></li> <li title="ssl_server_verify-0"><a href="orber.html#ssl_server_verify-0">ssl_server_verify/0</a></li> <li title="ssl_client_verify-0"><a href="orber.html#ssl_client_verify-0">ssl_client_verify/0</a></li> <li title="set_ssl_client_verify-1"><a href="orber.html#set_ssl_client_verify-1">set_ssl_client_verify/1</a></li> <li title="ssl_server_depth-0"><a href="orber.html#ssl_server_depth-0">ssl_server_depth/0</a></li> <li title="ssl_client_depth-0"><a href="orber.html#ssl_client_depth-0">ssl_client_depth/0</a></li> <li title="set_ssl_client_depth-1"><a href="orber.html#set_ssl_client_depth-1">set_ssl_client_depth/1</a></li> <li title="objectkeys_gc_time-0"><a href="orber.html#objectkeys_gc_time-0">objectkeys_gc_time/0</a></li> <li title="orber_nodes-0"><a href="orber.html#orber_nodes-0">orber_nodes/0</a></li> <li title="install-1"><a href="orber.html#install-1">install/1</a></li> <li title="install-2"><a href="orber.html#install-2">install/2</a></li> <li title="uninstall-0"><a href="orber.html#uninstall-0">uninstall/0</a></li> <li title="add_node-2"><a href="orber.html#add_node-2">add_node/2</a></li> <li title="remove_node-1"><a href="orber.html#remove_node-1">remove_node/1</a></li> <li title="configure-2"><a href="orber.html#configure-2">configure/2</a></li> </ul> </li> <li id="no" title="orber_ifr " expanded="false">orber_ifr<ul> <li><a href="orber_ifr.html"> Top of manual page </a></li> <li title="init-2"><a href="orber_ifr.html#init-2">init/2</a></li> <li title="find_repository-0"><a href="orber_ifr.html#find_repository-0">find_repository/0</a></li> <li title="get_def_kind-1"><a href="orber_ifr.html#get_def_kind-1">get_def_kind/1</a></li> <li title="destroy-1"><a href="orber_ifr.html#destroy-1">destroy/1</a></li> <li title="get_id-1"><a href="orber_ifr.html#get_id-1">get_id/1</a></li> <li title="set_id-2"><a href="orber_ifr.html#set_id-2">set_id/2</a></li> <li title="get_name-1"><a href="orber_ifr.html#get_name-1">get_name/1</a></li> <li title="set_name-2"><a href="orber_ifr.html#set_name-2">set_name/2</a></li> <li title="get_version-1"><a href="orber_ifr.html#get_version-1">get_version/1</a></li> <li title="set_version-2"><a href="orber_ifr.html#set_version-2">set_version/2</a></li> <li title="get_defined_in-1"><a href="orber_ifr.html#get_defined_in-1">get_defined_in/1</a></li> <li title="get_absolute_name-1"><a href="orber_ifr.html#get_absolute_name-1">get_absolute_name/1</a></li> <li title="get_containing_repository-1"><a href="orber_ifr.html#get_containing_repository-1">get_containing_repository/1</a></li> <li title="describe-1"><a href="orber_ifr.html#describe-1">describe/1</a></li> <li title="move-4"><a href="orber_ifr.html#move-4">move/4</a></li> <li title="lookup-2"><a href="orber_ifr.html#lookup-2">lookup/2</a></li> <li title="contents-3"><a href="orber_ifr.html#contents-3">contents/3</a></li> <li title="lookup_name-5"><a href="orber_ifr.html#lookup_name-5">lookup_name/5</a></li> <li title="describe_contents-4"><a href="orber_ifr.html#describe_contents-4">describe_contents/4</a></li> <li title="create_module-4"><a href="orber_ifr.html#create_module-4">create_module/4</a></li> <li title="create_constant-6"><a href="orber_ifr.html#create_constant-6">create_constant/6</a></li> <li title="create_struct-5"><a href="orber_ifr.html#create_struct-5">create_struct/5</a></li> <li title="create_union-6"><a href="orber_ifr.html#create_union-6">create_union/6</a></li> <li title="create_enum-5"><a href="orber_ifr.html#create_enum-5">create_enum/5</a></li> <li title="create_alias-5"><a href="orber_ifr.html#create_alias-5">create_alias/5</a></li> <li title="create_interface-5"><a href="orber_ifr.html#create_interface-5">create_interface/5</a></li> <li title="create_exception-5"><a href="orber_ifr.html#create_exception-5">create_exception/5</a></li> <li title="get_type-1"><a href="orber_ifr.html#get_type-1">get_type/1</a></li> <li title="lookup_id-2"><a href="orber_ifr.html#lookup_id-2">lookup_id/2</a></li> <li title="get_primitive-2"><a href="orber_ifr.html#get_primitive-2">get_primitive/2</a></li> <li title="create_string-2"><a href="orber_ifr.html#create_string-2">create_string/2</a></li> <li title="create_wstring-2"><a href="orber_ifr.html#create_wstring-2">create_wstring/2</a></li> <li title="create_fixed-3"><a href="orber_ifr.html#create_fixed-3">create_fixed/3</a></li> <li title="create_sequence-3"><a href="orber_ifr.html#create_sequence-3">create_sequence/3</a></li> <li title="create_array-3"><a href="orber_ifr.html#create_array-3">create_array/3</a></li> <li title="create_idltype-2"><a href="orber_ifr.html#create_idltype-2">create_idltype/2</a></li> <li title="get_type_def-1"><a href="orber_ifr.html#get_type_def-1">get_type_def/1</a></li> <li title="set_type_def-2"><a href="orber_ifr.html#set_type_def-2">set_type_def/2</a></li> <li title="get_value-1"><a href="orber_ifr.html#get_value-1">get_value/1</a></li> <li title="set_value-2"><a href="orber_ifr.html#set_value-2">set_value/2</a></li> <li title="get_members-1"><a href="orber_ifr.html#get_members-1">get_members/1</a></li> <li title="set_members-2"><a href="orber_ifr.html#set_members-2">set_members/2</a></li> <li title="get_discriminator_type-1"><a href="orber_ifr.html#get_discriminator_type-1">get_discriminator_type/1</a></li> <li title="get_discriminator_type_def-1"><a href="orber_ifr.html#get_discriminator_type_def-1">get_discriminator_type_def/1</a></li> <li title="set_discriminator_type_def-2"><a href="orber_ifr.html#set_discriminator_type_def-2">set_discriminator_type_def/2</a></li> <li title="get_original_type_def-1"><a href="orber_ifr.html#get_original_type_def-1">get_original_type_def/1</a></li> <li title="set_original_type_def-2"><a href="orber_ifr.html#set_original_type_def-2">set_original_type_def/2</a></li> <li title="get_kind-1"><a href="orber_ifr.html#get_kind-1">get_kind/1</a></li> <li title="get_bound-1"><a href="orber_ifr.html#get_bound-1">get_bound/1</a></li> <li title="set_bound-2"><a href="orber_ifr.html#set_bound-2">set_bound/2</a></li> <li title="get_element_type-1"><a href="orber_ifr.html#get_element_type-1">get_element_type/1</a></li> <li title="get_element_type_def-1"><a href="orber_ifr.html#get_element_type_def-1">get_element_type_def/1</a></li> <li title="set_element_type_def-2"><a href="orber_ifr.html#set_element_type_def-2">set_element_type_def/2</a></li> <li title="get_length-1"><a href="orber_ifr.html#get_length-1">get_length/1</a></li> <li title="set_length-2"><a href="orber_ifr.html#set_length-2">set_length/2</a></li> <li title="get_mode-1"><a href="orber_ifr.html#get_mode-1">get_mode/1</a></li> <li title="set_mode-2"><a href="orber_ifr.html#set_mode-2">set_mode/2</a></li> <li title="get_result-1"><a href="orber_ifr.html#get_result-1">get_result/1</a></li> <li title="get_result_def-1"><a href="orber_ifr.html#get_result_def-1">get_result_def/1</a></li> <li title="set_result_def-2"><a href="orber_ifr.html#set_result_def-2">set_result_def/2</a></li> <li title="get_params-1"><a href="orber_ifr.html#get_params-1">get_params/1</a></li> <li title="set_params-2"><a href="orber_ifr.html#set_params-2">set_params/2</a></li> <li title="get_contexts-1"><a href="orber_ifr.html#get_contexts-1">get_contexts/1</a></li> <li title="set_contexts-2"><a href="orber_ifr.html#set_contexts-2">set_contexts/2</a></li> <li title="get_exceptions-1"><a href="orber_ifr.html#get_exceptions-1">get_exceptions/1</a></li> <li title="set_exceptions-2"><a href="orber_ifr.html#set_exceptions-2">set_exceptions/2</a></li> <li title="get_base_interfaces-1"><a href="orber_ifr.html#get_base_interfaces-1">get_base_interfaces/1</a></li> <li title="set_base_interfaces-2"><a href="orber_ifr.html#set_base_interfaces-2">set_base_interfaces/2</a></li> <li title="is_a-2"><a href="orber_ifr.html#is_a-2">is_a/2</a></li> <li title="describe_interface-1"><a href="orber_ifr.html#describe_interface-1">describe_interface/1</a></li> <li title="create_attribute-6"><a href="orber_ifr.html#create_attribute-6">create_attribute/6</a></li> <li title="create_operation-9"><a href="orber_ifr.html#create_operation-9">create_operation/9</a></li> </ul> </li> <li id="no" title="orber_tc " expanded="false">orber_tc<ul> <li><a href="orber_tc.html"> Top of manual page </a></li> <li title="null-0"><a href="orber_tc.html#null-0">null/0</a></li> <li title="void-0"><a href="orber_tc.html#void-0">void/0</a></li> <li title="short-0"><a href="orber_tc.html#short-0">short/0</a></li> <li title="unsigned_short-0"><a href="orber_tc.html#unsigned_short-0">unsigned_short/0</a></li> <li title="long-0"><a href="orber_tc.html#long-0">long/0</a></li> <li title="unsigned_long-0"><a href="orber_tc.html#unsigned_long-0">unsigned_long/0</a></li> <li title="long_long-0"><a href="orber_tc.html#long_long-0">long_long/0</a></li> <li title="unsigned_long_long-0"><a href="orber_tc.html#unsigned_long_long-0">unsigned_long_long/0</a></li> <li title="wchar-0"><a href="orber_tc.html#wchar-0">wchar/0</a></li> <li title="float-0"><a href="orber_tc.html#float-0">float/0</a></li> <li title="double-0"><a href="orber_tc.html#double-0">double/0</a></li> <li title="boolean-0"><a href="orber_tc.html#boolean-0">boolean/0</a></li> <li title="char-0"><a href="orber_tc.html#char-0">char/0</a></li> <li title="octet-0"><a href="orber_tc.html#octet-0">octet/0</a></li> <li title="any-0"><a href="orber_tc.html#any-0">any/0</a></li> <li title="typecode-0"><a href="orber_tc.html#typecode-0">typecode/0</a></li> <li title="principal-0"><a href="orber_tc.html#principal-0">principal/0</a></li> <li title="object_reference-2"><a href="orber_tc.html#object_reference-2">object_reference/2</a></li> <li title="struct-3"><a href="orber_tc.html#struct-3">struct/3</a></li> <li title="union-5"><a href="orber_tc.html#union-5">union/5</a></li> <li title="enum-3"><a href="orber_tc.html#enum-3">enum/3</a></li> <li title="string-1"><a href="orber_tc.html#string-1">string/1</a></li> <li title="wstring-1"><a href="orber_tc.html#wstring-1">wstring/1</a></li> <li title="fixed-2"><a href="orber_tc.html#fixed-2">fixed/2</a></li> <li title="sequence-2"><a href="orber_tc.html#sequence-2">sequence/2</a></li> <li title="array-2"><a href="orber_tc.html#array-2">array/2</a></li> <li title="alias-3"><a href="orber_tc.html#alias-3">alias/3</a></li> <li title="exception-3"><a href="orber_tc.html#exception-3">exception/3</a></li> <li title="get_tc-1"><a href="orber_tc.html#get_tc-1">get_tc/1</a></li> <li title="get_tc-1"><a href="orber_tc.html#get_tc-1">get_tc/1</a></li> <li title="check_tc-1"><a href="orber_tc.html#check_tc-1">check_tc/1</a></li> </ul> </li> <li id="no" title="orber_acl " expanded="false">orber_acl<ul> <li><a href="orber_acl.html"> Top of manual page </a></li> <li title="match-2"><a href="orber_acl.html#match-2">match/2</a></li> <li title="match-3"><a href="orber_acl.html#match-3">match/3</a></li> <li title="verify-3"><a href="orber_acl.html#verify-3">verify/3</a></li> <li title="range-2"><a href="orber_acl.html#range-2">range/2</a></li> </ul> </li> <li title="CosNaming"><a href="CosNaming.html">CosNaming</a></li> <li id="no" title="CosNaming_NamingContext " expanded="false">CosNaming_NamingContext<ul> <li><a href="CosNaming_NamingContext.html"> Top of manual page </a></li> <li title="bind-3"><a href="CosNaming_NamingContext.html#bind-3">bind/3</a></li> <li title="rebind-3"><a href="CosNaming_NamingContext.html#rebind-3">rebind/3</a></li> <li title="bind_context-3"><a href="CosNaming_NamingContext.html#bind_context-3">bind_context/3</a></li> <li title="rebind_context-3"><a href="CosNaming_NamingContext.html#rebind_context-3">rebind_context/3</a></li> <li title="resolve-2"><a href="CosNaming_NamingContext.html#resolve-2">resolve/2</a></li> <li title="unbind-2"><a href="CosNaming_NamingContext.html#unbind-2">unbind/2</a></li> <li title="new_context-1"><a href="CosNaming_NamingContext.html#new_context-1">new_context/1</a></li> <li title="bind_new_context-2"><a href="CosNaming_NamingContext.html#bind_new_context-2">bind_new_context/2</a></li> <li title="destroy-1"><a href="CosNaming_NamingContext.html#destroy-1">destroy/1</a></li> <li title="list-2"><a href="CosNaming_NamingContext.html#list-2">list/2</a></li> </ul> </li> <li id="no" title="CosNaming_NamingContextExt " expanded="false">CosNaming_NamingContextExt<ul> <li><a href="CosNaming_NamingContextExt.html"> Top of manual page </a></li> <li title="to_string-2"><a href="CosNaming_NamingContextExt.html#to_string-2">to_string/2</a></li> <li title="to_name-2"><a href="CosNaming_NamingContextExt.html#to_name-2">to_name/2</a></li> <li title="to_url-3"><a href="CosNaming_NamingContextExt.html#to_url-3">to_url/3</a></li> <li title="resolve_str-2"><a href="CosNaming_NamingContextExt.html#resolve_str-2">resolve_str/2</a></li> </ul> </li> <li id="no" title="CosNaming_BindingIterator " expanded="false">CosNaming_BindingIterator<ul> <li><a href="CosNaming_BindingIterator.html"> Top of manual page </a></li> <li title="next_one-1"><a href="CosNaming_BindingIterator.html#next_one-1">next_one/1</a></li> <li title="next_n-2"><a href="CosNaming_BindingIterator.html#next_n-2">next_n/2</a></li> <li title="destroy-1"><a href="CosNaming_BindingIterator.html#destroy-1">destroy/1</a></li> </ul> </li> <li id="no" title="lname " expanded="false">lname<ul> <li><a href="lname.html"> Top of manual page </a></li> <li title="create-0"><a href="lname.html#create-0">create/0</a></li> <li title="insert_component-3"><a href="lname.html#insert_component-3">insert_component/3</a></li> <li title="get_component-2"><a href="lname.html#get_component-2">get_component/2</a></li> <li title="delete_component-2"><a href="lname.html#delete_component-2">delete_component/2</a></li> <li title="num_component-1"><a href="lname.html#num_component-1">num_component/1</a></li> <li title="equal-2"><a href="lname.html#equal-2">equal/2</a></li> <li title="less_than-2"><a href="lname.html#less_than-2">less_than/2</a></li> <li title="to_idl_form-1"><a href="lname.html#to_idl_form-1">to_idl_form/1</a></li> <li title="from_idl_form-1"><a href="lname.html#from_idl_form-1">from_idl_form/1</a></li> </ul> </li> <li id="no" title="lname_component " expanded="false">lname_component<ul> <li><a href="lname_component.html"> Top of manual page </a></li> <li title="create-0"><a href="lname_component.html#create-0">create/0</a></li> <li title="get_id-1"><a href="lname_component.html#get_id-1">get_id/1</a></li> <li title="set_id-2"><a href="lname_component.html#set_id-2">set_id/2</a></li> <li title="get_kind-1"><a href="lname_component.html#get_kind-1">get_kind/1</a></li> <li title="set_kind-2"><a href="lname_component.html#set_kind-2">set_kind/2</a></li> </ul> </li> <li id="no" title="Module_Interface " expanded="false">Module_Interface<ul> <li><a href="Module_Interface.html"> Top of manual page </a></li> <li title="Module_Interface:typeID-0"><a href="Module_Interface.html#Module_Interface:typeID-0">Module_Interface:typeID/0</a></li> <li title="Module_Interface:oe_create-0"><a href="Module_Interface.html#Module_Interface:oe_create-0">Module_Interface:oe_create/0</a></li> <li title="Module_Interface:oe_create_link-0"><a href="Module_Interface.html#Module_Interface:oe_create_link-0">Module_Interface:oe_create_link/0</a></li> <li title="Module_Interface:oe_create-1"><a href="Module_Interface.html#Module_Interface:oe_create-1">Module_Interface:oe_create/1</a></li> <li title="Module_Interface:oe_create_link-1"><a href="Module_Interface.html#Module_Interface:oe_create_link-1">Module_Interface:oe_create_link/1</a></li> <li title="Module_Interface:oe_create-2"><a href="Module_Interface.html#Module_Interface:oe_create-2">Module_Interface:oe_create/2</a></li> <li title="Module_Interface:oe_create_link-2"><a href="Module_Interface.html#Module_Interface:oe_create_link-2">Module_Interface:oe_create_link/2</a></li> <li title="Module_Interface:own_functions-4"><a href="Module_Interface.html#Module_Interface:own_functions-4">Module_Interface:own_functions/4</a></li> <li title="Module_Interface:own_functions-5"><a href="Module_Interface.html#Module_Interface:own_functions-5">Module_Interface:own_functions/5</a></li> <li title="Module_Interface_impl:init-1"><a href="Module_Interface.html#Module_Interface_impl:init-1">Module_Interface_impl:init/1</a></li> <li title="Module_Interface_impl:terminate-2"><a href="Module_Interface.html#Module_Interface_impl:terminate-2">Module_Interface_impl:terminate/2</a></li> <li title="Module_Interface_impl:code_change-3"><a href="Module_Interface.html#Module_Interface_impl:code_change-3">Module_Interface_impl:code_change/3</a></li> <li title="Module_Interface_impl:handle_info-2"><a href="Module_Interface.html#Module_Interface_impl:handle_info-2">Module_Interface_impl:handle_info/2</a></li> <li title="Module_Interface_impl:own_functions-4"><a href="Module_Interface.html#Module_Interface_impl:own_functions-4">Module_Interface_impl:own_functions/4</a></li> <li title="Module_Interface_impl:own_functions-5"><a href="Module_Interface.html#Module_Interface_impl:own_functions-5">Module_Interface_impl:own_functions/5</a></li> <li title="Module_Interface_impl:own_functions-6"><a href="Module_Interface.html#Module_Interface_impl:own_functions-6">Module_Interface_impl:own_functions/6</a></li> <li title="Module_Interface_impl:own_functions-5"><a href="Module_Interface.html#Module_Interface_impl:own_functions-5">Module_Interface_impl:own_functions/5</a></li> <li title="Module_Interface_impl:own_functions-4"><a href="Module_Interface.html#Module_Interface_impl:own_functions-4">Module_Interface_impl:own_functions/4</a></li> <li title="Module_Interface_impl:own_functions-5"><a href="Module_Interface.html#Module_Interface_impl:own_functions-5">Module_Interface_impl:own_functions/5</a></li> </ul> </li> <li id="no" title="interceptors " expanded="false">interceptors<ul> <li><a href="interceptors.html"> Top of manual page </a></li> <li title="new_in_connection-3"><a href="interceptors.html#new_in_connection-3">new_in_connection/3</a></li> <li title="new_in_connection-5"><a href="interceptors.html#new_in_connection-5">new_in_connection/5</a></li> <li title="new_out_connection-3"><a href="interceptors.html#new_out_connection-3">new_out_connection/3</a></li> <li title="new_out_connection-5"><a href="interceptors.html#new_out_connection-5">new_out_connection/5</a></li> <li title="closed_in_connection-1"><a href="interceptors.html#closed_in_connection-1">closed_in_connection/1</a></li> <li title="closed_out_connection-1"><a href="interceptors.html#closed_out_connection-1">closed_out_connection/1</a></li> <li title="in_reply-6"><a href="interceptors.html#in_reply-6">in_reply/6</a></li> <li title="in_reply_encoded-6"><a href="interceptors.html#in_reply_encoded-6">in_reply_encoded/6</a></li> <li title="in_request-6"><a href="interceptors.html#in_request-6">in_request/6</a></li> <li title="in_request_encoded-6"><a href="interceptors.html#in_request_encoded-6">in_request_encoded/6</a></li> <li title="out_reply-6"><a href="interceptors.html#out_reply-6">out_reply/6</a></li> <li title="out_reply_encoded-6"><a href="interceptors.html#out_reply_encoded-6">out_reply_encoded/6</a></li> <li title="out_request-6"><a href="interceptors.html#out_request-6">out_request/6</a></li> <li title="out_request_encoded-6"><a href="interceptors.html#out_request_encoded-6">out_request_encoded/6</a></li> </ul> </li> <li id="no" title="orber_diagnostics " expanded="false">orber_diagnostics<ul> <li><a href="orber_diagnostics.html"> Top of manual page </a></li> <li title="nameservice-0"><a href="orber_diagnostics.html#nameservice-0">nameservice/0</a></li> <li title="nameservice-1"><a href="orber_diagnostics.html#nameservice-1">nameservice/1</a></li> <li title="missing_modules-0"><a href="orber_diagnostics.html#missing_modules-0">missing_modules/0</a></li> </ul> </li> </ul> </div></div> <div id="content"> <div class="innertube"> <!-- refpage --><center><h1>corba</h1></center> <h3>MODULE</h3> <div class="REFBODY">corba</div> <h3>MODULE SUMMARY</h3> <div class="REFBODY">The functions on CORBA module level</div> <h3>DESCRIPTION</h3> <div class="REFBODY"><p> <p>This module contains functions that are specified on the CORBA module level. It also contains some functions for creating and disposing objects.</p> </p></div> <h3>EXPORTS</h3> <p><a name="create-2"><span class="bold_code">create(Module, TypeID) -> Object</span></a><br><a name="create-3"><span class="bold_code">create(Module, TypeID, Env) -> Object</span></a><br><a name="create-4"><span class="bold_code">create(Module, TypeID, Env, Optons1) -> Object</span></a><br><a name="create_link-2"><span class="bold_code">create_link(Module, TypeID) -> Object</span></a><br><a name="create_link-3"><span class="bold_code">create_link(Module, TypeID, Env) -> Object</span></a><br><a name="create_link-4"><span class="bold_code">create_link(Module, TypeID, Env, Options2) -> Reply</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Module = atom()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">TypeID = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Env = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Options1 = [{persistent, Bool} | {regname, RegName} | {local_typecheck, Bool}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Options2 = [{sup_child, Bool} | {persistent, Bool} | {regname, RegName} | {pseudo, Bool} | {local_typecheck, Bool}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">RegName = {local, atom()} | {global, term()}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reply = #objref | {ok, Pid, #objref}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Bool = true | false</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> </div> <div class="REFBODY"><p> <p>These functions start a new server object. If you start it without <strong>RegName</strong> it can only be accessed through the returned object key. Started with a <strong>RegName</strong> the name is registered locally or globally. </p> <p><strong>TypeID</strong> is the repository ID of the server object type and could for example look like "IDL:StackModule/Stack:1.0". </p> <p><strong>Module</strong> is the name of the interface API module. </p> <p><strong>Env</strong> is the arguments passed which will be passed to the implementations <strong>init</strong> call-back function.</p> <p>A server started with create/2, create/3 or create/4 does not care about the parent, which means that the parent is not handled explicitly in the generic process part. </p> <p>A server started with create_link2, create_link/3 or create_link/4 is initially linked to the caller, the parent, and it will terminate whenever the parent process terminates, and with the same reason as the parent. If the server traps exits, the terminate/2 call-back function is called in order to clean up before the termination. These functions should be used if the server is a worker in a supervision tree.</p> <p>If you use the option <span class="code">{sup_child, true}</span> create_link/4 will return <span class="code">{ok, Pid, #objref}</span>, otherwise <span class="code">#objref</span>, and make it possible to start a server as a supervisor child (stdlib-1.7 or later).</p> <p>If you use the option <span class="code">{persistent, true}</span> you also must use the option <span class="code">{regname, {global, Name}}</span>. This combination makes it possible to tell the difference between a server permanently terminated or in the process of restarting.</p> <p>The option <span class="code">{pseudo, true}</span>, allow us to create an object which is not a server. Using <span class="code">{pseudo, true}</span> overrides all other start options. For more information see section <span class="code">Module_Interface</span>.</p> <p>If a server is started using the option <span class="code">{persistent, true}</span> the object key will not be removed unless it terminates with reason <strong>normal</strong> or <strong>shutdown</strong>. Hence, if persistent servers is used as supervisor children they should be <strong>transient</strong> and the <strong>objectkeys_gc_time</strong> should be modified (default equals <span class="code">infinity</span>).</p> <p>The option <span class="code">{local_typecheck, boolean()}</span>, which overrides the <span class="bold_code"><a href="ch_install.html#flags">Local Typechecking</a></span> environment flag, turns on or off typechecking. If activated, parameters, replies and raised exceptions will be checked to ensure that the data is correct, when invoking operations on CORBA Objects within the same Orber domain. Due to the extra overhead, this option <strong>MAY ONLY</strong> be used during testing and development.</p> <div class="example"><pre> Example: corba:create('StackModule_Stack', "IDL:StackModule/Stack:1.0", {10, test}) </pre></div> </p></div> <p><a name="dispose-1"><span class="bold_code">dispose(Object) -> ok</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> </div> <div class="REFBODY"><p> <p>This function is used for terminating the execution of a server object. Invoking this operation on a NIL object reference, e.g., the return value of <span class="code">corba:create_nil_objref/0</span>, always return ok. For valid object references, invoking this operation more than once, will result in a system exception.</p> </p></div> <p><a name="create_nil_objref-0"><span class="bold_code">create_nil_objref() -> Object</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Object = #objref representing NIL.</span><br> </div> </div> <div class="REFBODY"><p> <p>Creates an object reference that represents the NIL value. Attempts to invoke operations using the returned object reference will return a system exception.</p> </p></div> <p><a name="create_subobject_key-2"><span class="bold_code">create_subobject_key(Object, Key) -> Result</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Key = term()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Result = #objref</span><br> </div> </div> <div class="REFBODY"><p> <p>This function is used to create a subobject in a server object. It can for example be useful when one wants unique access to separate rows in a mnesia or an ETS table. The <strong>Result</strong> is an object reference that will be seen as a unique reference to the outside world but will access the same server object where one can use the <strong>get_subobject_key/1</strong> function to get the private key value.</p> <p><strong>Key</strong> is stored in the object reference <strong>Object</strong>. If it is a binary it will be stored as is and otherwise it is converted to a binary before storage.</p> </p></div> <p><a name="get_subobject_key-1"><span class="bold_code">get_subobject_key(Object) -> Result</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Result = #binary</span><br> </div> </div> <div class="REFBODY"><p> <p>This function is used to fetch a subobject key from the object reference <strong>Object</strong>. The result is a always a binary, if it was an Erlang term that was stored with <strong>create_subobject_key/2</strong> one can to do <strong>binary_to_term/1</strong> to get the real value. </p> </p></div> <p><a name="get_pid-1"><span class="bold_code">get_pid(Object) -> Result</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Result = #pid | {error, Reason} | {'EXCEPTION',E}</span><br> </div> </div> <div class="REFBODY"><p> <p>This function is to get the process id from an object, which is a must when CORBA objects is started/handled in a supervisor tree. The function will throw exceptions if the key is not found or some other error occurs.</p> </p></div> <p><a name="raise-1"><span class="bold_code">raise(Exception)</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Exception = record()</span><br> </div> </div> <div class="REFBODY"><p> <p>This function is used for raising corba exceptions as an Erlang user generated exit signal. It will throw the tuple <span class="code">{'EXCEPTION', </span><strong>Exception</strong><span class="code">}</span>.</p> </p></div> <p><a name="reply-2"><span class="bold_code">reply(To, Reply) -> true</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">To = client reference</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reply = IDL type</span><br> </div> </div> <div class="REFBODY"><p> <p>This function can be used by a CORBA object to explicitly send a reply to a client that invoked a two-way operation. If this operation is used, it is <strong>not</strong> possible to return a reply in the call-back module. <br> <strong>To</strong> must be the <strong>From</strong> argument provided to the callback function, which requires that the IC option <strong>from</strong> was used when compiling the IDL-file.</p> </p></div> <p><a name="resolve_initial_references-1"><span class="bold_code">resolve_initial_references(ObjectId) -> Object</span></a><br><a name="resolve_initial_references-2"><span class="bold_code">resolve_initial_references(ObjectId, Contexts) -> Object</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">ObjectId = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Contexts = [Context]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Context = #'IOP_ServiceContext'{context_id = CtxId, context_data = CtxData}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxId = ?ORBER_GENERIC_CTX_ID</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxData = {interface, Interface} | {userspecific, term()} | {configuration, Options}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Interface = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Options = [{Key, Value}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Key = ssl_client_verify | ssl_client_depth | ssl_client_certfile | ssl_client_cacertfile | ssl_client_password | ssl_client_keyfile | ssl_client_ciphers | ssl_client_cachetimeout</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Value = allowed value associated with the given key</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> </div> <div class="REFBODY"><p> <p>This function returns the object reference associated with the given object id. Initially, only <span class="code">"NameService"</span> is available. To add or remove services use <span class="code">add_initial_service/2</span> or <span class="code">remove_initial_service/1</span>.</p> <p>The <strong>configuration</strong> context is used to override the global SSL client side <span class="bold_code"><a href="ch_install.html#config">configuration</a></span>.</p> </p></div> <p><a name="add_initial_service-2"><span class="bold_code">add_initial_service(ObjectId, Object) -> boolean()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">ObjectId = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> </div> <div class="REFBODY"><p> <p>This operation allows us to add initial services, which can be accessed by using <span class="code">resolve_initial_references/1</span> or the <span class="code">corbaloc</span> schema. If using an Id defined by the OMG, the given object must be of the correct type; for more information see the <span class="bold_code"><a href="ch_naming_service.html#interop_ns">Interoperable Naming Service</a></span>. Returns <span class="code">false</span> if the given id already exists.</p> </p></div> <p><a name="remove_initial_service-1"><span class="bold_code">remove_initial_service(ObjectId) -> boolean()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">ObjectId = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>If we don not want a certain service to be accessible, invoking this function will remove the association. Returns <span class="code">true</span> if able to terminate the binding. If no such binding existed <span class="code">false</span> is returned.</p> </p></div> <p><a name="list_initial_services-0"><span class="bold_code">list_initial_services() -> [ObjectId]</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">ObjectId = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>This function returns a list of allowed object id's.</p> </p></div> <p><a name="resolve_initial_references_remote-2"><span class="bold_code">resolve_initial_references_remote(ObjectId, Address) -> Object</span></a><br><a name="resolve_initial_references_remote-3"><span class="bold_code">resolve_initial_references_remote(ObjectId, Address, Contexts) -> Object</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">ObjectId = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Address = [RemoteModifier]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">RemoteModifier = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Contexts = [Context]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Context = #'IOP_ServiceContext'{context_id = CtxId, context_data = CtxData}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxId = ?ORBER_GENERIC_CTX_ID</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxData = {interface, Interface} | {userspecific, term()} | {configuration, Options}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Interface = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Options = [{Key, Value}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Key = ssl_client_verify | ssl_client_depth | ssl_client_certfile | ssl_client_cacertfile | ssl_client_password | ssl_client_keyfile | ssl_client_ciphers | ssl_client_cachetimeout</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Value = allowed value associated with the given key</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> </div> <div class="REFBODY"><p> <p>This function returns the object reference for the object id asked for. The remote modifier string has the following format: <span class="code">"iiop://host:port"</span>.</p> <p>The <strong>configuration</strong> context is used to override the global SSL client side <span class="bold_code"><a href="ch_install.html#config">configuration</a></span>.</p> <div class="warning"> <div class="label">Warning</div> <div class="content"><p> <p>This operation is not supported by most ORB's. Hence, use <span class="code">corba:string_to_object/1</span> instead.</p> </p></div> </div> </p></div> <p><a name="list_initial_services_remote-1"><span class="bold_code">list_initial_services_remote(Address) -> [ObjectId]</span></a><br><a name="list_initial_services_remote-2"><span class="bold_code">list_initial_services_remote(Address, Contexts) -> [ObjectId]</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Address = [RemoteModifier]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">RemoteModifier = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Contexts = [Context]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Context = #'IOP_ServiceContext'{context_id = CtxId, context_data = CtxData}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxId = ?ORBER_GENERIC_CTX_ID</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxData = {interface, Interface} | {userspecific, term()} | {configuration, Options}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Interface = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Options = [{Key, Value}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Key = ssl_client_verify | ssl_client_depth | ssl_client_certfile | ssl_client_cacertfile | ssl_client_password | ssl_client_keyfile | ssl_client_ciphers | ssl_client_cachetimeout</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Value = allowed value associated with the given key</span><br> </div> <div class="REFTYPES"> <span class="bold_code">ObjectId = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>This function returns a list of allowed object id's. The remote modifier string has the following format: <span class="code">"iiop://host:port"</span>.</p> <p>The <strong>configuration</strong> context is used to override the global SSL client side <span class="bold_code"><a href="ch_install.html#config">configuration</a></span>.</p> <div class="warning"> <div class="label">Warning</div> <div class="content"><p> <p>This operation is not supported by most ORB's. Hence, avoid using it.</p> </p></div> </div> </p></div> <p><a name="object_to_string-1"><span class="bold_code">object_to_string(Object) -> IOR_string</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> <div class="REFTYPES"> <span class="bold_code">IOR_string = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>This function returns the object reference as the external string representation of an IOR.</p> </p></div> <p><a name="string_to_object-1"><span class="bold_code">string_to_object(IOR_string) -> Object</span></a><br><a name="string_to_object-2"><span class="bold_code">string_to_object(IOR_string, Contexts) -> Object</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">IOR_string = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Contexts = [Context]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Context = #'IOP_ServiceContext'{context_id = CtxId, context_data = CtxData}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxId = ?ORBER_GENERIC_CTX_ID</span><br> </div> <div class="REFTYPES"> <span class="bold_code">CtxData = {interface, Interface} | {userspecific, term()} | {configuration, Options}</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Interface = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Options = [{Key, Value}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Key = ssl_client_verify | ssl_client_depth | ssl_client_certfile | ssl_client_cacertfile | ssl_client_password | ssl_client_keyfile | ssl_client_ciphers | ssl_client_cachetimeout</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Value = allowed value associated with the given key</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Object = #objref</span><br> </div> </div> <div class="REFBODY"><p> <p>This function takes a <span class="code">corbaname</span>, <span class="code">corbaloc</span> or an IOR on the external string representation and returns the object reference.</p> <p>To lookup the NameService reference, simply use <span class="code">"corbaloc:iiop:1.2@123.0.0.012:4001/NameService"</span></p> <p>We can also resolve an object from the NameService by using <span class="code">"corbaname:iiop:1.2@123.0.0.012:4001/NameService#org/Erlang/MyObj"</span></p> <p>For more information about <span class="code">corbaname</span> and <span class="code">corbaloc</span>, see the User's Guide (Interoperable Naming Service).</p> <p>The <strong>configuration</strong> context is used to override the global SSL client side <span class="bold_code"><a href="ch_install.html#config">configuration</a></span>.</p> <p>How to handle the interface context is further described in the User's Guide.</p> </p></div> <p><a name="print_object-1"><span class="bold_code">print_object(Data [, Type]) -> ok | {'EXCEPTION', E} | {'EXIT', R} | string()</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Data = IOR_string | #objref (local or external) | corbaloc/corbaname string</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Type = IoDevice | error_report | {error_report, Reason} | info_msg | {info_msg, Comment} | string</span><br> </div> <div class="REFTYPES"> <span class="bold_code">IoDevice = see the io-module</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Reason = Comment = string()</span><br> </div> </div> <div class="REFBODY"><p> <p>The object represented by the supplied data is dissected and presented in a more readable form. The Type parameter is optional; if not supplied standard output is used. For <span class="code">error_report</span> and <span class="code">info_msg</span> the <span class="code">error_logger</span> module is used, with or without Reason or Comment. If the atom <span class="code">string</span> is supplied this function will return a flat list. The <span class="code">IoDevice</span> is passed to the operation <span class="code">io:format/2</span>.</p> <p>If the supplied object is a local reference, the output is equivalent to an object exported from the node this function is invoked on.</p> </p></div> <p><a name="add_alternate_iiop_address-3"><span class="bold_code">add_alternate_iiop_address(Object, Host, Port) -> NewObject | {'EXCEPTION', E}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">Object = NewObject = local #objref</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Host = string()</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Port = integer()</span><br> </div> </div> <div class="REFBODY"><p> <p>This operation creates a new instance of the supplied object containing an ALTERNATE_IIOP_ADDRESS component. Only the new instance contains the new component. When this object is passed to another ORB, which supports the ALTERNATE_IIOP_ADDRESS, requests will be routed to the alternate address if it is not possible to communicate with the main address.</p> <p>The ALTERNATE_IIOP_ADDRESS component requires that IIOP-1.2 is used. Hence, make sure both Orber and the other ORB is correctly configured.</p> <p></p> <div class="note"> <div class="label">Note</div> <div class="content"><p> <p>Make sure that the given <span class="code">Object</span> is accessible via the alternate Host/port. For example, if the object is correctly started as <span class="code">local</span> or <span class="code">pseudo</span>, the object should be available on all nodes within a multi-node Orber installation. Since only one instance exists for other object types, it will not be possible to access it if the node it was started on terminates.</p> </p></div> </div> </p></div> <p><a name="orb_init-1"><span class="bold_code">orb_init(KeyValueList) -> ok | {'EXIT', Reason}</span></a><br></p> <div class="REFBODY"> <p>Types:</p> <div class="REFTYPES"> <span class="bold_code">KeyValueList = [{Key, Value}]</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Key = any key listed in the configuration chapter</span><br> </div> <div class="REFTYPES"> <span class="bold_code">Value = allowed value associated with the given key</span><br> </div> </div> <div class="REFBODY"><p> <p>This function allows the user to configure Orber in, for example, an Erlang shell. Orber may <strong>NOT</strong> be started prior to invoking this operation. For more information, see <span class="bold_code"><a href="ch_install.html#config">configuration settings</a></span> in the User's Guide.</p> </p></div> </div> <div class="footer"> <hr> <p>Copyright © 1997-2010 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>