NAME
CORBA::omniORB - Perl module implementing CORBA 2.x via omniORB
SYNOPSIS
use CORBA:::omniORB ids => [ 'IDL:Account/Account:1.0' => undef,
'IDL:Account/Counter:1.0' => undef ];
DESCRIPTION
The omniORB module is a Perl interface to the omniORB ORB. It is meant, in the spirit of omniORB, to be a clean, simple, system, at the expense of speed, if necessary.
Arguments to 'use omniORB'
Arguments in the form of key value pairs can be given after the 'use CORBA::omniORB' statement.
ids-
The value of the argument is a array reference which contains pairs of the form:
REPOID => FALLBACK_IDL_FILEREPOID is the repository id of an interface to pre-load. FALLBACK_IDL_FILE is the name of an IDL file to load the interface from if it is not found in the interface repository. This capability is not yet implemented.
Language Mapping
See the description in CORBA::omniORB::mapping.
Functions in the CORBA module
Methods of CORBA::Any
- new ( TYPE, VALUE )
-
Constructs a new any from TYPE (of class CORBA::TypeCode) and VALUE.
- type
-
Returns the type of the any, as a CORBA::TypeCode.
- value
-
Returns the value of the any.
Methods of CORBA::ORB
- object_to_string ( OBJ )
- list_initial_services
- resolve_initial_references ( ID )
- string_to_object ( STRING )
- cdr_encode ( VAL, TC )
- cdr_decode ( CDR, TC)
- preload ( REPOID )
-
Force the interface specified by REPOID to be loaded from the Interface Repository. Returns a true value if REPOID represents interface (dk_Interface), false otherwise.
- run
- shutdown ( WAIT_FOR_COMPLETION )
- perform_work
- work_pending
- destroy
Methods of CORBA::Object
Methods of CORBA::TypeCode
- new ( REPOID )
-
Create a new typecode object for the type with the repository id REPOID. Support for the basic types is provided by the pseudo-repository IDs
'IDL:CORBA/XXX:1.0', where XXX is one of Short, Long, UShort, ULong, UShort, ULong, Float, Double, Boolean, Char, Octet, Any, TypeCode, Principal, Object or String. Note that the capitalization here agrees with the C++ names for the types, not with that found in the typecode constant.In the future, this scheme will probably be revised, or replaced.
- kind
- equal ( TC )
- equivalent ( TC )
- get_compact_typecode
- id
- name
- member_count
- member_name ( INDEX )
- member_type ( INDEX )
- member_label ( INDEX )
- discriminator_type
- default_index
- length
- content_type
- fixed_digits
- fixed_scale
Methods of PortableServer::POA
- _get_the_name
- _get_the_parent
- _get_the_POAManager
- _get_the_activator
- _set_the_activator
- create_POA ( ADAPTER_NAME, MNGR_SV, ... )
- get_servant_manager
- set_servant_manager
- get_servant
- set_servant
- activate_object
- activate_object_with_id
- deactivate_object
- create_reference
- create_reference_with_id
- servant_to_id
- servant_to_reference
- reference_to_servant
- reference_to_id
- id_to_servant
- id_to_reference
Methods of PortableServer::POAManager
- activate
- hold_requests ( WAIT_FOR_COMPLETION )
- discard_requests ( WAIT_FOR_COMPLETION )
- deactivate ( ETHEREALIZE_OBJECTS, WAIT_FOR_COMPLETION )
- get_state
Methods of PortableServer::Current
- get_POA
- get_object_id
AUTHOR
Owen Taylor <otaylor@gtk.org>
SEE ALSO
perl(1).