diff options
| author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
|---|---|---|
| committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
| commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
| tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/omniorb | |
| parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/omniorb')
| -rw-r--r-- | packages/omniorb/files/arm_double.patch | 266 | ||||
| -rw-r--r-- | packages/omniorb/files/dynskel.patch | 49 | ||||
| -rw-r--r-- | packages/omniorb/files/omniORB-cross.patch | 31 | ||||
| -rw-r--r-- | packages/omniorb/files/omniORB.cfg | 918 | ||||
| -rw-r--r-- | packages/omniorb/files/omniORB_embedded_appl.patch | 24 | ||||
| -rw-r--r-- | packages/omniorb/files/rm_LongDouble.patch | 14 | ||||
| -rw-r--r-- | packages/omniorb/omniorb-native_4.0.7.bb | 18 | ||||
| -rw-r--r-- | packages/omniorb/omniorb_4.0.7.bb | 38 |
8 files changed, 0 insertions, 1358 deletions
diff --git a/packages/omniorb/files/arm_double.patch b/packages/omniorb/files/arm_double.patch deleted file mode 100644 index cfcfd41630..0000000000 --- a/packages/omniorb/files/arm_double.patch +++ /dev/null @@ -1,266 +0,0 @@ ---- include/omniORB4/CORBA_sysdep.h 30 Dec 2005 17:40:22 -0000 1.2.2.32 -+++ include/omniORB4/CORBA_sysdep.h 12 Apr 2006 16:55:41 -0000 -@@ -125,6 +125,15 @@ - #endif - - // -+// Processor dependencies -+// -+ -+#if defined(__arm__) -+# define OMNI_MIXED_ENDIAN_DOUBLE -+#endif -+ -+ -+// - // Macro to provide const_cast functionality on all platforms. - // - #ifdef HAS_Cplusplus_const_cast ---- include/omniORB4/cdrStream.h 22 Jul 2005 16:57:17 -0000 1.1.2.23 -+++ include/omniORB4/cdrStream.h 12 Apr 2006 16:55:41 -0000 -@@ -428,6 +428,13 @@ - m.l[1] = Swap32(l.l[0]); - l = m; - } -+#ifdef OMNI_MIXED_ENDIAN_DOUBLE -+ { -+ _CORBA_ULong v = l.l[0]; -+ l.l[0] = l.l[1]; -+ l.l[1] = v; -+ } -+#endif - CdrMarshal(s,LongArray2,omni::ALIGN_8,l); - } - -@@ -440,6 +447,13 @@ - m.l[1] = Swap32(l.l[0]); - l = m; - } -+#ifdef OMNI_MIXED_ENDIAN_DOUBLE -+ { -+ _CORBA_ULong v = l.l[0]; -+ l.l[0] = l.l[1]; -+ l.l[1] = v; -+ } -+#endif - convertToFloat(_CORBA_Double, LongArray2); - } - #else -@@ -791,6 +805,19 @@ - p[i] = l; - } - } -+#ifdef OMNI_MIXED_ENDIAN_DOUBLE -+ { -+ struct LongArray2 { -+ _CORBA_ULong l[2]; -+ }; -+ LongArray2* p=(LongArray2*)a; -+ for( int i = 0; i < length; i++ ) { -+ _CORBA_ULong v = p[i].l[0]; -+ p[i].l[0] = p[i].l[1]; -+ p[i].l[1] = v; -+ } -+ } -+#endif - } - #endif - -@@ -957,6 +984,13 @@ - m.l[1] = Swap32(l.l[0]); - l = m; - } -+#ifdef OMNI_MIXED_ENDIAN_DOUBLE -+ { -+ _CORBA_ULong v = l.l[0]; -+ l.l[0] = l.l[1]; -+ l.l[1] = v; -+ } -+#endif - CdrMarshal(s,LongArray2,omni::ALIGN_8,l); - } - -@@ -969,6 +1003,13 @@ - m.l[1] = Swap32(l.l[0]); - l = m; - } -+#ifdef OMNI_MIXED_ENDIAN_DOUBLE -+ { -+ _CORBA_ULong v = l.l[0]; -+ l.l[0] = l.l[1]; -+ l.l[1] = v; -+ } -+#endif - convertToFloat(_CORBA_Double, LongArray2); - } - ---- include/omniORB4/seqTemplatedecls.h 11 Oct 2005 13:17:01 -0000 1.1.2.10 -+++ include/omniORB4/seqTemplatedecls.h 12 Apr 2006 16:55:42 -0000 -@@ -544,43 +544,6 @@ - }; - - -- --////////////////////////////////////////////////////////////////////// --///////////// _CORBA_Sequence_w_FixSizeElement ///////////// --////////////////////////////////////////////////////////////////////// --template <class T,int elmSize,int elmAlignment> --class _CORBA_Sequence_w_FixSizeElement : public _CORBA_Sequence<T> { --protected: -- typedef _CORBA_Sequence_w_FixSizeElement<T,elmSize,elmAlignment> T_seq; -- typedef _CORBA_Sequence<T> Base_T_seq ; -- -- -- inline _CORBA_Sequence_w_FixSizeElement() {} -- -- inline _CORBA_Sequence_w_FixSizeElement(_CORBA_ULong max, -- _CORBA_Boolean bounded=0) : -- Base_T_seq(max,bounded) {} -- -- inline _CORBA_Sequence_w_FixSizeElement(const T_seq& s) : Base_T_seq(s) {} -- -- inline _CORBA_Sequence_w_FixSizeElement(_CORBA_ULong max, -- _CORBA_ULong len, -- T *value, -- _CORBA_Boolean release_ = 0, -- _CORBA_Boolean bounded = 0 -- ) : Base_T_seq(max,len,value,release_,bounded) {} -- -- inline T_seq &operator= (const T_seq &s) { -- Base_T_seq::operator= (s); -- return *this; -- } -- --public: -- inline void operator>>= (cdrStream &s) const; -- inline void operator<<= (cdrStream &s); --}; -- -- - ////////////////////////////////////////////////////////////////////// - ///////////// _CORBA_Unbounded_Sequence_w_FixSizeElement ///////////// - ////////////////////////////////////////////////////////////////////// -@@ -663,6 +626,46 @@ - }; - - -+#ifdef OMNI_MIXED_ENDIAN_DOUBLE -+ -+template <int max> -+class _CORBA_Bounded_Sequence_w_FixSizeElement<_CORBA_Double,max,8,8> : -+ public _CORBA_Bounded_Sequence<_CORBA_Double,max> { -+public: -+ typedef _CORBA_Bounded_Sequence_w_FixSizeElement<_CORBA_Double,max,8,8> T_seq; -+ typedef _CORBA_Bounded_Sequence<_CORBA_Double,max> Base_T_seq; -+ -+ -+ inline _CORBA_Bounded_Sequence_w_FixSizeElement() {} -+ inline _CORBA_Bounded_Sequence_w_FixSizeElement(_CORBA_ULong len, -+ _CORBA_Double *value, -+ _CORBA_Boolean rel = 0) : -+ Base_T_seq(len,value,rel) {} -+ -+ inline _CORBA_Bounded_Sequence_w_FixSizeElement(const T_seq& s) : -+ Base_T_seq(s) {} -+ -+ inline ~_CORBA_Bounded_Sequence_w_FixSizeElement() {} -+ -+ inline T_seq& operator=(const T_seq& s) { -+ Base_T_seq::operator= (s); -+ return *this; -+ } -+ -+ // CORBA 2.3 additions -+ -+ inline void replace(_CORBA_ULong len, _CORBA_Double* data,_CORBA_Boolean release_ = 0) { -+ Base_T_seq::replace(len,data,release_); -+ } -+ -+ inline void operator>>= (cdrStream &s) const; -+ inline void operator<<= (cdrStream &s); -+}; -+ -+#endif -+ -+ -+ - ////////////////////////////////////////////////////////////////////// - ////////////////// _CORBA_Sequence_Char ///////////////////////////// - ////////////////////////////////////////////////////////////////////// ---- include/omniORB4/seqTemplatedefns.h 22 May 2003 13:41:39 -0000 1.1.2.11 -+++ include/omniORB4/seqTemplatedefns.h 12 Apr 2006 16:55:42 -0000 -@@ -266,6 +266,48 @@ - } - - ////////////////////////////////////////////////////////////////////// -+#ifdef OMNI_MIXED_ENDIAN_DOUBLE -+ -+// Template member function specializations to use the base -+// marshalling functions for double, so the doubles are properly -+// word-swapped. -+ -+template<> -+inline -+void -+_CORBA_Unbounded_Sequence_w_FixSizeElement<_CORBA_Double,8,8>::operator>>= (cdrStream& s) const -+{ -+ Base_T_seq::operator>>=(s); -+} -+ -+template<> -+inline -+void -+_CORBA_Unbounded_Sequence_w_FixSizeElement<_CORBA_Double,8,8>::operator<<= (cdrStream& s) -+{ -+ Base_T_seq::operator<<=(s); -+} -+ -+template<int max> -+inline -+void -+_CORBA_Bounded_Sequence_w_FixSizeElement<_CORBA_Double,max,8,8>::operator>>= (cdrStream& s) const -+{ -+ Base_T_seq::operator>>=(s); -+} -+ -+template<int max> -+inline -+void -+_CORBA_Bounded_Sequence_w_FixSizeElement<_CORBA_Double,max,8,8>::operator<<= (cdrStream& s) -+{ -+ Base_T_seq::operator<<=(s); -+} -+ -+#endif -+ -+ -+////////////////////////////////////////////////////////////////////// - inline - void - _CORBA_Sequence_Char::operator>>= (cdrStream& s) const ---- src/lib/omniORB/omniidl_be/cxx/skutil.py 27 Jul 2003 19:24:32 -0000 1.17.2.10 -+++ src/lib/omniORB/omniidl_be/cxx/skutil.py 12 Apr 2006 16:55:42 -0000 -@@ -197,6 +197,11 @@ - if array_marshal_helpers.has_key(d_type.type().kind()): - (alignment,elmsize) = array_marshal_helpers[d_type.type().kind()] - if alignment != "omni::ALIGN_1": -+ is_double = d_type.type().kind() == idltype.tk_double -+ if is_double: -+ to.out(""" -+#ifndef OMNI_MIXED_ENDIAN_DOUBLE""") -+ - to.out("""\ - if (! @where@.marshal_byte_swap()) { - @where@.put_octet_array((CORBA::Octet*)(@slice_cast@@name@),@num@,@align@); -@@ -207,6 +212,11 @@ - slice_cast = slice_cast, - num = str(n_elements * elmsize), - align = alignment) -+ -+ if is_double: -+ to.out("""\ -+#endif""") -+ - # Do not return here. - # let the code below to deal with the else block. - else: diff --git a/packages/omniorb/files/dynskel.patch b/packages/omniorb/files/dynskel.patch deleted file mode 100644 index 469d3eb45e..0000000000 --- a/packages/omniorb/files/dynskel.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- src/lib/omniORB/omniidl_be/cxx/dynskel/main.py 27 Nov 2001 14:37:25 -0000 1.14.2.10 -+++ src/lib/omniORB/omniidl_be/cxx/dynskel/main.py 15 May 2006 13:36:20 -0000 -@@ -474,15 +474,30 @@ - - elementDesc = output.StringStream() - prefix = config.state['Private Prefix'] -+ - # djr and jnw's "Super-Hacky Optimisation" - # (amended by dpg1 to be even more hacky, since char/wchar now don't work) -- if isinstance(d_seqType.type(), idltype.Base) and \ -- not d_seqType.variable() and \ -- not d_seqType.type().kind() in [idltype.tk_char, idltype.tk_wchar] and \ -- not is_array: -+ # (amended again to cope with mixed endian doubles) -+ -+ is_double = d_seqType.type().kind() == idltype.tk_double -+ is_contiguous = (isinstance(d_seqType.type(), idltype.Base) and -+ not d_seqType.variable() and -+ not d_seqType.type().kind() in [idltype.tk_char, -+ idltype.tk_wchar] and -+ not is_array) -+ -+ if is_double: -+ elementDesc.out(""" -+#ifndef OMNI_MIXED_ENDIAN_DOUBLE""") -+ -+ if is_contiguous: - elementDesc.out(template.sequence_elementDesc_contiguous, - sequence = sequence_desc) -- else: -+ if is_double: -+ elementDesc.out(""" -+#else""") -+ -+ if is_double or not is_contiguous: - # <--- - required_symbols = [ prefix + "_buildDesc" + seqType_cname ] - assertDefined(required_symbols) -@@ -492,6 +507,10 @@ - thing_cname = seqType_cname, - thing = thing) - -+ if is_double: -+ elementDesc.out(""" -+#endif""") -+ - # <--- - cname = memberType_cname - # this is the #ifdef guard diff --git a/packages/omniorb/files/omniORB-cross.patch b/packages/omniorb/files/omniORB-cross.patch deleted file mode 100644 index 3206af2b7a..0000000000 --- a/packages/omniorb/files/omniORB-cross.patch +++ /dev/null @@ -1,31 +0,0 @@ -*** omniORB-4.0.5/mk/beforeauto.mk.in 2004-10-17 20:44:56.000000000 -0400 ---- omniORB-4.0.5.new/mk/beforeauto.mk.in 2005-03-21 12:33:05.756947025 -0500 -*************** -*** 48,59 **** - # - # Tool bindir to use depends on make target - # - ifeq ($(MAKECMDGOALS),install) - TOOLBINDIR = $(INSTALLBINDIR) - else - TOOLBINDIR = $(TOP)/$(BINDIR) - endif -! - - ############################################################################# - # ---- 48,60 ---- - # - # Tool bindir to use depends on make target - # -+ ifndef TOOLBINDIR - ifeq ($(MAKECMDGOALS),install) - TOOLBINDIR = $(INSTALLBINDIR) - else - TOOLBINDIR = $(TOP)/$(BINDIR) - endif -! endif - - ############################################################################# - # - diff --git a/packages/omniorb/files/omniORB.cfg b/packages/omniorb/files/omniORB.cfg deleted file mode 100644 index c1c8c24f95..0000000000 --- a/packages/omniorb/files/omniORB.cfg +++ /dev/null @@ -1,918 +0,0 @@ -############################################################################ -# omniORB (4.0 or above) configuration file # -############################################################################ - -############################################################################ -############################################################################ -############################################################################ -# # -# ORB wide options # -# # -############################################################################ - -############################################################################ -# Tracing level -# level 0 - critical errors only -# level 1 - informational messages only -# level 2 - configuration information and warnings -# level 5 - the above plus report server thread creation and -# communication socket shutdown -# level 10 - the above plus execution trace messages -# level 25 - output trace message per send or receive giop message -# level 30 - dump up to 128 bytes of a giop message -# level 40 - dump the complete giop message -# -# Valid values = (n >= 0) -# - -#traceLevel = 1 - -############################################################################ -# Trace Exceptions -# If true, then system exceptions will be logged when they are thrown. -# -# Valid values = 0 or 1 -# -traceExceptions = 0 - -############################################################################ -# Trace Invocations -# If true, then each local and remote invocation will generate a trace -# message. -# -# Valid values = 0 or 1 -# -traceInvocations = 0 - -############################################################################ -# Trace thread id -# If true, all trace messages include the thread id of the thread doing -# the logging. -# -# Valid values = 0 or 1 -# -traceThreadId = 0 - -############################################################################ -# dumpConfiguration -# Set to 1 to cause the ORB to dump the current set of configuration -# parameters. -# -# Valid values = 0 or 1 -# -dumpConfiguration = 0 - -############################################################################ -# maxGIOPVersion -# -# Set the maximum GIOP version the ORB should support. The ORB tries -# to match the <major>.<minor> version as specified. -# -# Valid values = 1.0 | 1.1 | 1.2 -# -maxGIOPVersion = 1.2 - -############################################################################ -# giopMaxMsgSize -# -# This value defines the ORB-wide limit on the size of GIOP message -# (excluding the header). If this limit is exceeded, the ORB will -# refuse to send or receive the message and raise a MARSHAL exception. -# -# Valid values = (n >= 8192) -# -giopMaxMsgSize = 2097152 # 2 MBytes. - -############################################################################ -# strictIIOP flag -# Enable vigorous check on incoming IIOP messages -# -# In some (sloppy) IIOP implementations, the message size value in -# the header can be larger than the actual body size, i.e. there is -# garbage at the end. As the spec does not say the message size -# must match the body size exactly, this is not a clear violation -# of the spec. -# -# If this flag is non-zero, the incoming message is expected to -# be well-behaved. Any messages that have garbage at the end will -# be rejected. -# -# The default value of this flag is true, so invalid messages are -# rejected. If you set it to zero, the ORB will silently skip the -# unread part. The problem with this behaviour is that the header -# message size may actually be garbage, caused by a bug in the -# sender's code. The receiving thread may block forever on the -# strand as it tries to read more data from it. In this case the -# sender won't send any more as it thinks it has marshalled in all -# the data. -# -# Valid values = 0 or 1 -# -strictIIOP = 1 - -############################################################################ -# lcdMode -# -# Set to 1 to enable 'Lowest Common Denominator' Mode. -# This will disable various features of IIOP and GIOP which are -# poorly supported by some ORBs, and disable warnings/errors when -# certain types of erroneous message are received on the wire. -# -# Valid values = 0 or 1 -# -lcdMode = 0 - -############################################################################ -# tcAliasExpand flag -# -# This flag is used to indicate whether TypeCodes associated with Anys -# should have aliases removed. This functionality is included because -# some ORBs will not recognise an Any containing a TypeCode with -# aliases to be the same as the actual type contained in the Any. Note -# that omniORB will always remove top-level aliases, but will not remove -# aliases from TypeCodes that are members of other TypeCodes (e.g. -# TypeCodes for members of structs etc.), unless tcAliasExpand is set to 1. -# There is a performance penalty when inserting into an Any if -# tcAliasExpand is set to 1. The default value is 0 (i.e. aliases of -# member TypeCodes are not expanded). Note that aliases won't be expanded -# when one of the non-type-safe methods of inserting into an Any is -# used (i.e. when the replace() member function or non - type-safe Any -# constructor is used. ) -# -# Valid values = 0 or 1 -# -tcAliasExpand = 0 - -############################################################################ -# useTypeCodeIndirections -# -# If true (the default), typecode indirections will be used. Set -# this to false to disable that. Setting this to false might be -# useful to interoperate with another ORB implementation that cannot -# handle indirections properly. -# -# Valid values = 0 or 1 -useTypeCodeIndirections = 1 - -############################################################################ -# acceptMisalignedTcIndirections -# -# If true, try to fix a mis-aligned indirection in a typecode. This -# is used to work around a bug in some versions of Visibroker's Java -# ORB. -# -# Valid values = 0 or 1 -acceptMisalignedTcIndirections = 0 - -############################################################################ -# scanGranularity -# -# The granularity at which the ORB scans for idle connections. -# This value determines the minimum value that inConScanPeriod or -# outConScanPeriod can be. -# -# Valid values = (n >= 0 in seconds) -# 0 --> do not scan for idle connections. -# -scanGranularity = 5 - -############################################################################ -# nativeCharCodeSet -# -# set the native code set for char and string -# -nativeCharCodeSet = ISO-8859-1 - -############################################################################ -# nativeWCharCodeSet -# -# set the native code set for wchar and wstring -# -nativeWCharCodeSet = UTF-16 - -############################################################################ -# omniORB_27_CompatibleAnyExtraction -# -# In omniORB pre-2.8.0 versions, the CORBA::Any extraction operator for -# 1. unbounded string operator>>=(char*&) -# 2. bounded string operator>>=(to_string) -# 3. object reference operator>>=(A_ptr&) for interface A -# Return a copy of the value. The caller must free the returned -# value later. -# -# With 2.8.0 and later, the semantics becomes non-copy, i.e. the Any -# still own the storage of the returned value. -# This would cause a problem in a program that is written to use the -# pre-2.8.0 semantics. To make it easier for the transition, -# set omniORB_27_CompatibleAnyExtraction to 1. -# This would revert the semantics to the pre-2.8.0 versions. -# -# Valid values = 0 or 1 -# -omniORB_27_CompatibleAnyExtraction = 0 - -############################################################################ -# abortOnInternalError -# -# If the value of this variable is TRUE then the ORB will abort -# instead of throwing an exception when a fatal internal error is -# detected. This is useful for debuging the ORB -- as the stack will -# not be unwound by the exception handler, so a stack trace can be -# obtained. -# It is hoped that this will not often be needed by users of omniORB! -# -# Valid values = 0 or 1 -# -abortOnInternalError = 0 - -############################################################################ -# abortOnNativeException -# -# On Windows, "native" exceptions such as segmentation faults and -# divide by zero appear as C++ exceptions that can be caught with -# catch (...). Setting this parameter to TRUE causes such exceptions -# to abort the process instead. -# -# This parameter has no effect on other platforms. -# -# Valid values = 0 or 1 -# -abortOnNativeException = 0 - -############################################################################ -# maxSocketSend -# maxSocketRecv -# -# On some platforms, calls to send() and recv() have a limit on the -# buffer size that can be used. These parameters set the limits in -# bytes that omniORB uses when sending / receiving bulk data. -# -# The default values are platform specific. It is unlikely that you -# will need to change the values from the defaults. -# -# The minimum valid limit is 8KB, 8192 bytes. -# -# e.g. to limit to 64KB sends / receives: -# -# maxSocketSend = 65536 -# maxSocketRecv = 65536 - -############################################################################ -# sslCAFile -# sslKeyFile -# sslKeyPassword -# sslVerifyMode -# -# SSL transport options -# -# sslCAFile specifies the file containing the SSL Certificate -# Authority certificate. -# -# sslKeyFile specifies the file containing the SSL key. -# -# sslKeyPassword specifies the password to unlock the key. -# -# sslVerifyMode specifies the verify mode, as given to -# SSL_CTX_set_verify. Valid values are "none", representing -# SSL_VERIFY_NONE, and "peer", representing SSL_VERIFY_PEER. If peer -# is selected, additional options "fail" and "once" can also be -# specified, corresponding to SSL_VERIFY_FAIL_IF_NO_PEER_CERT and -# SSL_VERIFY_CLIENT_ONCE respectively. e.g. -# -# sslVerifyMode = peer,fail -# -# These options are only available if the SSL transport is linked. - - -############################################################################ -############################################################################ -############################################################################ -# # -# Client Side Options # -# # -############################################################################ - -############################################################################ -# InitRef -# -# Specify the objects the ORB should return in response to calls to -# resolve_initial_references. -# -# There can be more than one configuration line defining InitRef. -# Each line adds one initial reference to the ORB. -# -# Here are some valid examples: -# -# Specify the root context of the Naming Service. (Notice the end of line -# continuation marker '\' -# -# InitRef = NameService=IOR:010000002800000049444c3a6f6d672e6f72672f436f734\ -#e616d696e672f4e616d696e67436f6e746578743a312e300001000000000000002c000000010\ -#102000c0000003139322e3136382e312e3000f90a00000c000000349568c45cb1e6780000000\ -#100000000 -# -# Alternatively, and more cleanly, specify the Naming service with a -# corbaname URI: -# -InitRef = NameService=corbaname::localhost -# -# -# Specify the Trading service and the interface repository using corbaloc: -# -# InitRef = TradingService=corbaloc:iiop:marrow:5009/MyObjectKey -# = InterfaceRepository=corbaloc::1.2@marrow:5009/Intf -# -# The default for the set of initial references is empty. - -############################################################################ -# DefaultInitRef -# -# DefaultInitRef provides a prefix string which is used to resolve -# otherwise unknown names. When resolve_initial_references() is unable to -# resolve a name which has been specifically configured (with InitRef), -# it constructs a string consisting of the default prefix, a `/' character, -# and the name requested. The string is then fed to string_to_object(). -# For example, if DefaultInitRef is set up like this: -# DefaultInitRef = corbaloc::myhost.example.com -# A call to resolve_initial_references("MyService") will return the object -# reference denoted by `corbaloc::myhost.example.com/MyService'. -# -# The default is empty. - - -############################################################################ -# clientTransportRule -# -# When the client receives an IOR that defines 1 or more ways to contact -# the server, the rules in clientTransportRule filter and prioritise -# the order in which the transports are used. -# -# There can be more than one configuration line of this type. -# Each line adds one rule to the selection process. The rules are applied -# in the order they are defined. The relative positions of the rules define -# the relative priority. The first rule has the highest priority. -# -# The syntax of a rule is as follows: -# clientTransportRule = [^]<address mask> [action]+ -# -# <address mask> can be: -# 1. localhost the address is this machine -# 2. w.x.y.z/m1.m2.m3.m4 IPv4 address with the bits selected by -# the mask. e.g. 172.16.0.0/255.240.0.0 -# 3. * the wildcard that matches any address -# -# <action>+ can be one or more of the following: -# 1. none Do not use this address -# 2. tcp,ssl,unix Use the 3 transports in the specified order -# if any or all of them are available -# 3. bidir Any connection to this address should be -# used bidirectionally. -# -# The optional prefix ^ before <address mask>, if present, causes -# the ORB to remove previously declared clientTransportRules from -# its internal store before adding the current rule. -# -# By default, no rule is defined. The ORB implicitly uses the following -# rule: -# clientTransportRule = * unix,tcp,ssl -# If any rule is specified, no implicit rule will be applied. -# -# Given an IOR, for each of the addresses within it, the ORB matches the -# address to the rules. If one is found, the position of the matched rule -# and the action is noted. If the action is none, the address is discarded. -# If the action does not contain the transport the address is specified for, -# e.g. the action is "ssl" but the address is "tcp", the address is -# discarded. Otherwise, the address and action is entered as one of the -# candidates to use. Having gone through all the addresses, the candidiates -# available are then ordered based on the priority of the matching rules and -# used accordingly. -# -# Here are some example usages: -# -# A) Restrict to only contacting server on the same host: -# clientTransportRule = localhost unix,tcp -# = * none -# B) Use tcp to contact servers in the intranet and must use bidirectional -# ssl otherwise. -# clientTransportRule = 172.16.0.0/255.240.0.0 unix,tcp -# = * bidir,ssl -# C) When a fast network (192.168.1.0) exists in the cluster, use it in -# preference to the external network. -# clientTransportRule = 192.168.1.0/255.255.255.0 unix,tcp -# clientTransportRule = 172.16.0.0/255.240.0.0 unix,tcp -# = * none -# -# - -############################################################################ -# clientCallTimeOutPeriod -# -# Call timeout. On the client side, if a remote call takes longer -# than the timeout value, the ORB will shutdown the connection and -# raise a COMM_FAILURE. -# -# Valid values = (n >= 0 in milliseconds) -# 0 --> no timeout. Block till a reply comes back -# -clientCallTimeOutPeriod = 0 - -############################################################################ -# supportPerThreadTimeOut -# -# If true, each client thread may have its own timeout. This adds -# some overhead to each call, so it is off by default. -# -# Valid values = 0 or 1 -# -supportPerThreadTimeOut = 0 - -############################################################################ -# outConScanPeriod -# -# Idle connections shutdown. The ORB periodically scans all the -# outgoing connections to detect if they are idle. -# If no operation has passed through a connection for a scan period, -# the ORB would treat this connection idle and shut it down. -# -# Valid values = (n >= 0 in seconds) -# 0 --> do not close idle connections. -# -outConScanPeriod = 120 - -############################################################################ -# maxGIOPConnectionPerServer -# -# The ORB could open more than one connection to a server -# depending on the number of concurrent invocations to the same -# server. This variable decides the maximum number of connections -# to use per server. This variable is read only once at ORB_init. -# If the number of concurrent invocations exceeds this number, the -# extra invocations are blocked until the the outstanding ones -# return. -# -# Valid values = (n >= 1) -# -maxGIOPConnectionPerServer = 5 - -############################################################################ -# oneCallPerConnection -# -# 1 means only one call can be in progress at any time per connection. -# -# Valid values = 0 or 1 -# -oneCallPerConnection = 1 - -############################################################################ -# offerBiDirectionalGIOP -# -# Applies to the client side. Set to 1 to indicate that the -# ORB may choose to use a connection to do bidirectional GIOP -# calls. Set to 0 means the ORB should never do bidirectional. -# -# Valid values = 0 or 1 -# -offerBiDirectionalGIOP = 0 - -############################################################################ -# diiThrowsSysExceptions -# -# If the value of this variable is 1 then the Dynamic Invocation Interface -# functions (Request::invoke, send_oneway, send_deferred, get_response, -# poll_response) will throw system exceptions as appropriate. Otherwise -# the exception will be stored in the Environment pseudo object associated -# with the Request. By default system exceptions are passed through the -# Environment object. -# -# Valid values = 0 or 1 -# -diiThrowsSysExceptions = 0 - -############################################################################ -# verifyObjectExistsAndType -# -# If the value of this variable is 0 then the ORB will not -# send a GIOP LOCATE_REQUEST message to verify the existence of -# the object prior to the first invocation. Set this variable -# if the other end is a buggy ORB that cannot handle GIOP -# LOCATE_REQUEST. -# -# Valid values = 0 or 1 -# -verifyObjectExistsAndType = 1 - -############################################################################ -# giopTargetAddressMode -# -# On the client side, if it is to use GIOP 1.2 or above to talk to a -# server, use this Target Address Mode. -# -# Valid values = 0 (GIOP::KeyAddr) -# 1 (GIOP::ProfileAddr) -# 2 (GIOP::ReferenceAddr) -# -giopTargetAddressMode = 0 - -############################################################################ -# bootstrapAgentHostname -# -# Applies to the client side. Non-zero enables the use of Sun's bootstrap -# agent protocol to resolve initial references. The value is the host name -# where requests for initial references should be sent. Only use this -# option to interoperate with Sun's javaIDL. -# -#bootstrapAgentHostname = localhost - -############################################################################ -# bootstrapAgentPort -# -# Applies to the client side. Use this port no. to contact the bootstrap -# agent. -# -bootstrapAgentPort = 900 - -############################################################################ -# principal -# -# The value of the principal field in GIOP 1.0 and 1.1 requests -# -# principal = me - - - -############################################################################ -############################################################################ -############################################################################ -# # -# Server Side Options # -# # -############################################################################ - - -############################################################################ -# endPoint -# endPointNoPublish -# endPointNoListen -# endPointPublishAllIFs -# -# There are 3 possible way to specify the endpoints a server should create. -# The 3 forms differ in the following ways: -# endPoint - create, listen on the connection and publish it in IORs -# endPointNoPublish - same as endPoint but do not publish it in IORs -# endPointNoListen - only publish it in IORs -# -# There can be more than one configuration line defining endPoints. -# Each line adds one endpoint to the server. -# -# Each configuration line can start with the keyword 'endPoint', e.g. -# endPoint = giop:tcp:neem:12345 -# endPoint = giop:ssl:neem:23456 -# -# Or a short hand form can be used, like t |
