public class ImRHostInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
host |
static long |
serialVersionUID |
Constructor and Description |
---|
ImRHostInfo(HostInfo host)
The constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
startServer(java.lang.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
|
public static final long serialVersionUID
protected final java.lang.String host
public ImRHostInfo(HostInfo host)
host
- the HostInfo object to take the information from.public HostInfo toHostInfo()
public void startServer(java.lang.String command, ORB orb) throws ServerStartupFailed
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.