Class horb.orb.HORB
All Packages Class Hierarchy This Package Previous Next Index
Class horb.orb.HORB
java.lang.Object
|
+----horb.orb.HORB
- public class HORB
- extends Object
HORB main frame. This class used mainly
at the client side. Server side functions are separated in class HORBServer
in order to keep this class small. This class is donwloaded into client
systems, while HORBServer is not.
- See Also:
- HORBServer
-
major_version
-
-
minor_version
-
-
releaseLevel
-
-
HORB()
- Start Client HORB for default port number.
-
HORB(boolean)
- Start HORB for default port.
-
HORB(boolean, int)
- Start HORB for port.
-
HORB(boolean, int, String)
- Start HORB for port.
-
getIOCIClass()
- Get current default IOCI class.
-
getIOCIClassName()
- Get current default IOCI class.
-
getPort()
- Returns current default port number for IOCI.
-
setIOCIClassName(String)
- Set default IOCI class.
-
setPort(int)
- Set default port number for IOCI (Inter-Object Communication).
major_version
public final static short major_version
minor_version
public final static short minor_version
releaseLevel
public final static String releaseLevel
HORB
public HORB() throws HORBException
- Start Client HORB for default port number. No HORBServer.
HORB
public HORB(boolean server) throws HORBException
- Start HORB for default port. If server flag is true, start a Server HORB.
- Parameters:
- server - if true starts a HORBServer also.
HORB
public HORB(boolean server,
int port) throws HORBException
- Start HORB for port. If server flag is true, start a HORBServer.
- Parameters:
- server - if true starts a HORB server also.
- port - port number for communication.
If 0 or -1, the default port number is used
for outgoing. If -1 and the server flag is true,
a HORB server starts without port server.
HORB
public HORB(boolean server,
int port,
String IOCIClassName) throws HORBException
- Start HORB for port. If server flag is true, start a HORBServer.
- Parameters:
- server - if true starts a HORB server.
- port - port number for communication.
If 0 or -1, the default port number is used
for outgoing. If -1 and the server flag is true,
a HORB server starts without port server.
- IOCIClassName - class name of IOCI.
If null, the default IOCI (BasicIOCI) is used.
setPort
public final static void setPort(int port) throws HORBException
- Set default port number for IOCI (Inter-Object Communication).
Change is effective from the nextly created IOCI entity.
getPort
public final static int getPort()
- Returns current default port number for IOCI.
setIOCIClassName
public final static void setIOCIClassName(String newClass) throws ClassNotFoundException
- Set default IOCI class. The class name must be a fully
qualified class name (package name and class name).
Default "horb.orb.BasicIOCI".
This method affect every creation of proxy objects. If you want to
set IOCI class for a proxy object, follow these steps.
Foo_Proxy foo = new Foo_Proxy();
foo._setIOCI(new yourIOCIClass());
foo._connet(new HorbURL("horb://hostname/"));
foo.methods();
- Parameters:
- newClass - name of IOCI class
getIOCIClassName
public final static String getIOCIClassName()
- Get current default IOCI class.
getIOCIClass
public final static Class getIOCIClass()
- Get current default IOCI class.
All Packages Class Hierarchy This Package Previous Next Index