org.jacorb.imr
public class ImRHostInfo extends Object implements Serializable
Version: $Id: ImRHostInfo.java,v 1.12 2006/06/27 12:54:33 alphonse.bendt Exp $
| Field Summary | |
|---|---|
| protected String | host |
| static long | serialVersionUID |
| Constructor Summary | |
|---|---|
| ImRHostInfo(HostInfo host)
The constructor of this class.
| |
| Method Summary | |
|---|---|
| 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
|
Parameters: host the HostInfo object to take the information from.
Parameters: command the startup command of the server orb needed for calling string_to_object().
Throws: ServerStartupFailed propagated up from the daemon if something went wrong. Likely to throw CORBA System Exceptions as well, especially if the daemon is down.
Returns: a HostInfo instance