All Packages Class Hierarchy This Package Previous Next Index
Class COM.ibm.CORBA.iiop.ORB
java.lang.Object
|
+----COM.omg.CORBA.ORB
|
+----COM.ibm.CORBA.iiop.ORB
- public class ORB
- extends ORB
The ORB class provides the standard CORBA ORB interfaces that allow
CORBA interoperability using the Internet Interoperable Object Protocol
(IIOP) for communication.

buffersize
communicationTimeOut
delegate
globalORB
mainDebugFlag
objectResolver
serverName
serverORB
serverPort
singletonORB
socket
thisORB

ORB()

connect(Object)
- Allows a servant skeleton to be registered with the ORB
debug()
- Returns the status of the main debug flag
debugOff()
- Turns off the global debug flag
debugOn()
- Turns on the global debug flag
disconnect(Object)
- Removes a servant skeleton from the ORB
getImpl(String)
- Returns the object specified by the string
getObjectResolver()
- Returns the current ObjectResolver
init()
- Default (singleton) init
init(Applet,
Properties)
- Applet or Application init
init(String[],
Properties)
- Application init allows an application to create and initialize an
ORB.
object_to_string(Object)
- Returns an IOR stringified reference that represents the object
objectToURL(Object,
String)
- Returns an URL that refers to the object specified
openDebugFile(String)
- Turns debug on redirecting the output to the file name specified
resolve(String,
String)
- Returns an Object implementation of the class name specified using
the ID specified to reference the object.
set_parameters(Applet,
Properties)
- Implemented by subclassed ORB implementations and called by init methods
to pass in their params
set_parameters(String[],
Properties)
- Implemented by subclassed ORB implementations and called by init methods
to pass in their params
setDebugFlag()
- Turns on the flag for the client side ORB if the Debug.JIE file exist
in the c:\ directory.
setObjectResolver(ObjectResolver)
- Allows the resolver to be set after the ORB has been initialized.
setServerDebugFlag()
- Turns on the flag for the server side ORB if the Debug.JIE file exist
in the c:\ directory.
string_to_object(String)
- Returns an object that is represented by the String
URLToObject(String)
- Returns an object that is referenced by the URL specified

mainDebugFlag
public static boolean mainDebugFlag
globalORB
public static ORB globalORB
thisORB
public ORB thisORB
singletonORB
public static ORB singletonORB
objectResolver
public ObjectResolver objectResolver
serverName
public static String serverName
serverPort
public int serverPort
serverORB
public boolean serverORB
buffersize
public static int buffersize
- Set buffersize to fit the requirements of your application. If
you have large pieces of data increase your buffersize. If you have
small or infrequent data, you may want to decrease the buffer size. The
default setting is 256 bytes.
communicationTimeOut
public static int communicationTimeOut
The communicationTimeOut is how long the ORB will
exist without any response to it. To get the equivalent time in millisecs
multiply by 200. The default setting is 15,000 or 5 minutes.

ORB
public ORB()

init
public static ORB init(String args[],
Properties props)
- Application init allows an application to create and initialize an
ORB.
- Parameters:
- args - ORB specific arguments from the main
- props - ORB specific properties
Client activation properties
Name Description
--------------------------------------------------------
server server name
port port number
servlet servlet name to be loaded by HTTP
debug set to true enables debug
Server activation properties
Name Description
--------------------------------------------------------
inputStream input stream connected to client
outputStream output stream connected to client
resolverObject Object resolver specified by application
socket socket connected to the client
setDelegate
public void setDelegate(ORB orb,
int streamType)
getDelegate
public Delegate getDelegate()
init
public static ORB init(Applet applet,
Properties props)
- Applet or Application init
- Parameters:
- applet - applet loaded by HTML page
- props - ORB specific properties
Client activation properties
Name Description
--------------------------------------------------------
server server name
port port number
servlet servlet name to be loaded by HTTP
debug set to true enables debug
init
public static ORB init()
- Default (singleton) init
openDebugFile
public static void openDebugFile(String name)
- Turns debug on redirecting the output to the file name specified
- Parameters:
- name - file name to redirect output
debugOn
public static void debugOn()
- Turns on the global debug flag
debugOff
public static void debugOff()
- Turns off the global debug flag
debug
public static boolean debug()
- Returns the status of the main debug flag
setDebugFlag
public static boolean setDebugFlag()
- Turns on the flag for the client side ORB if the Debug.JIE file exist
in the c:\ directory. If the file is empty the output will go to stdout.
If a the file contains a name the debug will be written to name.server
setServerDebugFlag
public static boolean setServerDebugFlag()
- Turns on the flag for the server side ORB if the Debug.JIE file exist
in the c:\ directory. If the file is empty the output will go to stdout.
If a the file contains a name the debug will be written to name.server
URLToObject
public Object URLToObject(String bcURL)
- Returns an object that is referenced by the URL specified
- Parameters:
- bcURL - URL string that follows one of the specific schemes specified
in the URLToObject specification.
objectToURL
public String objectToURL(Object object,
String scheme)
- Returns an URL that refers to the object specified
- Parameters:
- object - target object
set_parameters
protected void set_parameters(String args[],
Properties props)
- Implemented by subclassed ORB implementations and called by init methods
to pass in their params
- Overrides:
- set_parameters in class ORB
set_parameters
protected void set_parameters(Applet applet,
Properties props)
- Implemented by subclassed ORB implementations and called by init methods
to pass in their params
- Overrides:
- set_parameters in class ORB
getImpl
public Object getImpl(String str)
- Returns the object specified by the string
- Parameters:
- str - specifies the ID of the object
resolve
public Object resolve(String instanceName,
String className)
- Returns an Object implementation of the class name specified using
the ID specified to reference the object.
- Parameters:
- instanceName - object ID
- className - base interface name of the ImplBase object
object_to_string
public String object_to_string(Object obj)
- Returns an IOR stringified reference that represents the object
- Parameters:
- obj - target object
- Overrides:
- object_to_string in class ORB
string_to_object
public Object string_to_object(String str)
- Returns an object that is represented by the String
- Overrides:
- string_to_object in class ORB
connect
public void connect(Object obj)
- Allows a servant skeleton to be registered with the ORB
- Parameters:
- obj - servant skeleton
- Overrides:
- connect in class ORB
disconnect
public void disconnect(Object obj)
- Removes a servant skeleton from the ORB
- Parameters:
- obj - servant skeleton
- Overrides:
- disconnect in class ORB
setObjectResolver
public void setObjectResolver(ObjectResolver resolver)
- Allows the resolver to be set after the ORB has been initialized. The
implementation must call COM.ibm.CORBA.ORB.setObjectResolver(ObjectResolver);
to register the ObjectResolver with the ORB.
getObjectResolver
public ObjectResolver getObjectResolver()
- Returns the current ObjectResolver
Unsupported ORB Methods in release 1
public NVList create_list(int count)
public NVList create_operation_list(OperationDef oper)
public NamedValue create_named_value(String name, Any value,
int flags)
public ExceptionList create_exception_list()
public ContextList create_context_list()
public Context get_default_context()
public Environment create_environment()
public void send_multiple_requests_oneway(Request req[])
public void sent_multiple_requests_deferred(Request req[])
public boolean poll_next_response()
public Request get_next_response()
public TypeCode create_struct_tc(String id, String name, StructMember
members[])
public TypeCode create_union_tc(String id, String name, TypeCode
discriminator_type, UnionMember members[])
public TypeCode create_enum_tc(String id, String name, EnumMember
members[])
public TypeCode create_alias_tc(String id, String name, TypeCode
original_type)
public TypeCode create_exception_tc(String id, String name, StructMember
members[])
public TypeCode create_interface_tc(String id, String name)
public TypeCode create_string_tc(int bound)
public TypeCode create_wstring_tc(int bound)
public TypeCode create_sequence_tc(int bound, TypeCode element_type)
public TypeCode create_recursive_sequence_tc(int bound, int offset)
public TypeCode create_array_tc(int length, TypeCode element_type)
public Current get_current()
public TypeCode get_primitive_tc(TCKind tcKind)
public Any create_any()
public String[] list_initial_services()
public Object resolve_initial_references(String object_name)
throws InvalidName
All Packages Class Hierarchy This Package Previous Next Index