org.jacorb.imr
Class ImRHostInfo
java.lang.Object
org.jacorb.imr.ImRHostInfo
- java.io.Serializable
public class ImRHostInfo
extends java.lang.Object
implements java.io.Serializable
This class represents a host. It contains information about
a server startup daemon residing on this host and provides
a method for starting a server on that host.
Version:
- Nicolas Noffke
- Serialized Form
void | startServer(String command, ORB orb) - This method tries to start a server with the daemon for this host.
|
HostInfo | toHostInfo() - "Convert" this object to a HostInfo object
|
host
protected String host
ImRHostInfo
public ImRHostInfo(HostInfo host)
The constructor of this class.
host
- the HostInfo object to take the information from.
startServer
public void startServer(String command,
ORB orb)
throws ServerStartupFailed
This method tries to start a server with the daemon for this host.
command
- the startup command of the serverorb
- needed for calling string_to_object().
ServerStartupFailed
- propagated up from the daemon if something
went wrong. Likely to throw CORBA System Exceptions as well, especially
if the daemon is down.
toHostInfo
public HostInfo toHostInfo()
"Convert" this object to a HostInfo object
- a HostInfo instance