_CORBA class implements constants and operations defined at the highest level of scope within the IDL CORBA module and includes a number of other definitions specific to OrbixWeb. This class includes a set of TypeCode constant definitions (including _tc_null, _tc_short, and _tc_long) which are described in detail in "CORBA.TypeCode". // Java
package IE.Iona.Orbix2;
public class _CORBA {
// Flag constants.
public static final int ARG_IN;
public static final int ARG_OUT;
public static final int ARG_INOUT;
public static final int CTX_RESTRICT_SCOPE;
// Timeout constants.
public static final int IT_DEFAULT_TIMEOUT;
public static final int IT_INFINITE_TIMEOUT;
// Object type constants.
public static final int IT_INTEROPERABLE_OR_KIND;
public static final int IT_ORBIX_OR_KIND;
// Maximum number of locator hops
public static final int _MAX_LOCATOR_HOPS;
// Loader constants.
public static final int processTermination;
public static final int objectDeletion;
public static final int explicitCall;
// _tc Constants.
public static final TypeCode _tc_null;
public static final TypeCode _tc_void;
public static final TypeCode _tc_short;
public static final TypeCode _tc_long;
public static final TypeCode _tc_ushort;
public static final TypeCode _tc_ulong;
public static final TypeCode _tc_float;
public static final TypeCode _tc_double;
public static final TypeCode _tc_boolean;
public static final TypeCode _tc_char;
public static final TypeCode _tc_octet;
public static final TypeCode _tc_any;
public static final TypeCode _tc_TypeCode;
public static final TypeCode _tc_Principal;
public static final TypeCode _tc_Object;
public static final TypeCode _tc_struct;
public static final TypeCode _tc_union;
public static final TypeCode _tc_enum;
public static final TypeCode _tc_string;
public static final TypeCode _tc_NamedValue;
// Methods.
public static boolean
is_nil(IE.Iona.Orbix2.CORBA._ObjectRef obj);
// Configurable member variables.
public static boolean IT_BIND_USING_IIOP;
public static short IT_BUFFER_SIZE;
public static int IT_IIOP_LISTEN_PORT;
public static boolean IT_IIOP_USE_LOCATOR;
public static String IT_LOCAL_DOMAIN;
public static int IT_OBJECT_TABLE_SIZE;
public static short IT_ORBIXD_PORT;
public static short IT_ORBIXD_IIOP_PORT;
// Static member variables.
public static IE.Iona.Orbix2.CORBA.ORB Orbix;
public static IE.Iona.Orbix2.CORBA.locatorClass locator;
public static int _LOCATOR_HOPS;
public static String IT_NS_HOSTNAME;
}
public static final int ARG_IN;
in parameter, when adding the item to an NVList object. This is generally required when adding parameters to a Request object for use with the DII.
CORBA.NVList.add()
CORBA.NVList.add_item()
CORBA.NVList.add_value()
CORBA.Flags
CORBA.Request
public static final int CTX_ARG_INOUT;
inout parameter, when adding the item to an NVList object. This is generally required when adding parameters to a Request object for use with the DII.
CORBA.NVList.add()CORBA.NVList.add_item() CORBA.NVList.add_value() CORBA.Flags CORBA.Request
public static final int ARG_OUT;
inout parameter, when adding the item to an NVList object. This is generally required when adding parameters to a Request object for use with the DII.
CORBA.NVList.add()CORBA.NVList.add_item() CORBA.NVList.add_value() CORBA.Flags CORBA.Request
public static final int CTX_RESTRICT_SCOPE;
Context object.
CORBA.Context.get_values()
CORBA.Flags
public static final int processTermination;
method CORBA.LoaderClass.save() to indicate that save() has been called directly from an application.
_CORBA.objectDeletion
_CORBA.processTermination
CORBA.LoaderClass.save()
public static boolean is_nil(IE.Iona.Orbix2.CORBA._ObjectRef obj);
obj is a nil reference.
true if obj is a nil object reference, returns false otherwise.
CORBA._ObjectRef._isNull()
public static boolean IT_BIND_USING_IIOP;
_bind() in an OrbixWeb application. If IT_BIND_USING_IIOP is true, then IIOP will be used; otherwise the Orbix protocol will be used.The default setting is
true.
Configure, as described in Chapter 3, "OrbixWeb Configuration". public static short IT_BUFFER_SIZE;
IT_BUFFER_SIZE. This value can be configured by application programmers for optimization of operation calls. The default value is 8192.
Configure, as described in Chapter 3, "OrbixWeb Configuration". public static final int IT_DEFAULT_TIMEOUT;
CORBA.BOA.impl_is_ready(), CORBA.BOA.obj_is_ready(), CORBA.BOA.processEvents(), or CORBA.BOA.processNextEvent().
CORBA.BOA.impl_is_ready()
CORBA.BOA.obj_is_ready()
CORBA.BOA.processEvents()
CORBA.BOA.processNextEvent()
public static int IT_IIOP_LISTEN_PORT;
IT_IIOP_USE_LOCATOR is set to true.
Configure, as described in Chapter 3, "OrbixWeb Configuration"._CORBA.IT_IIOP_USE_LOCATORChapter 3, "OrbixWeb Configuration"
public static boolean IT_IIOP_USE_LOCATOR;
true, then the OrbixWeb daemon will automatically manage a well-known IIOP port for a server application. The well-known port assigned by the daemon will be included in all IORs created by the server.
Configure, as described in Chapter 3, "OrbixWeb Configuration"._CORBA.IT_IIOP_LISTEN_PORTChapter 3, "OrbixWeb Configuration"
public static final int IT_INFINITE_TIMEOUT;
CORBA.BOA.impl_is_ready()
CORBA.BOA.obj_is_ready()
CORBA.BOA.processEvents()
CORBA.BOA.processNextEvent()
public static final int IT_INTEROPERABLE_OR_KIND;
CORBA.BaseObject._object_to_string() or CORBA.ORB.object_to_string() in order to convert an object reference to a stringified Interoperable Object Reference (IOR).
CORBA.BaseObject._object_to_string()
CORBA.ORB.object_to_string()
public static String IT_LOCAL_DOMAIN;
Configure, as described in Chapter 3, "OrbixWeb Configuration". public static String IT_NS_HOSTNAME;
CORBA.ORB.resolve_initial_references() with a parameter value "NameService".
Configure, as described in Chapter 3, "OrbixWeb Configuration". CORBA.ORB.resolve_initial_references()
Chapter 3, "OrbixWeb Configuration"
public static int IT_OBJECT_TABLE_SIZE;
Configure, as described in Chapter 3, "OrbixWeb Configuration". public static short IT_ORBIXD_PORT;
The default port number is 1570.
Configure, as described in Chapter 3, "OrbixWeb Configuration". public static short IT_ORBIXD_IIOP_PORT;
The default port number is 1571.
Configure, as described in Chapter 3, "OrbixWeb Configuration". public static final int IT_ORBIX_OR_KIND;
CORBA.BaseObject._object_to_string() or CORBA.ORB.object_to_string() in order to convert an object reference to a stringified Orbix object reference.
CORBA.BaseObject._object_to_string()CORBA.ORB.object_to_string()
public static IE.Iona.Orbix2.CORBA.locatorClass locator;
null, then the OrbixWeb default locator mechanism will be used when required. If the programmer wishes to override the default locator with a new class which inherits from CORBA.locatorClass, then an object of this new class should be assigned to the locator variable.
CORBA.locatorClass
public static int _LOCATOR_HOPS;
_bind() to determine the number of hosts involved in a search. This can be changed by a programmer who wishes to modify how _bind() uses CORBA.locatorClass.lookUp().
_CORBA._MAX_LOCATOR_HOPSCORBA.locatorClass
public static final int _MAX_LOCATOR_HOPS;
_CORBA._LOCATOR_HOPSCORBA.locatorClass
public static final int objectDeletion;
method CORBA.LoaderClass.save() to indicate that save() has been called as the result of a CORBA.BOA.dispose() invocation on an object reference.
_CORBA.explicitCall
_CORBA.processTermination
CORBA.BOA.dispose()
CORBA.LoaderClass.save()
public static IE.Iona.Orbix2.CORBA.ORB Orbix;
CORBA.ORB (for clients only) or type CORBA.BOA (for clients or servers), by altering the instantiation definition in class Configure.
CORBA.BOA
CORBA.ORB
Chapter 3, "OrbixWeb Configuration"
public static final int processTermination;
method CORBA.LoaderClass.save() to indicate that save() has been called due to the termination of the current process.
_CORBA.explicitCall
_CORBA.objectDeletion
CORBA.LoaderClass.save()