org.jacorb.imr
public class ImRPOAInfo extends Object implements Serializable
Version: $Id: ImRPOAInfo.java,v 1.11 2006/06/27 12:54:33 alphonse.bendt Exp $
Field Summary | |
---|---|
protected boolean | active |
protected String | host |
protected String | name |
protected int | port |
static long | serialVersionUID |
protected ImRServerInfo | server |
protected long | timeout |
Constructor Summary | |
---|---|
ImRPOAInfo(String name, String host, int port, ImRServerInfo server, long timeout)
The constructor of this class.
|
Method Summary | |
---|---|
boolean | awaitActivation()
This method blocks until the POA is reactivated, or the
timeout is exceeded.
|
void | reactivate(String host, int port)
Reactivates this POA, i.e. sets it to active and unblocks any
waiting threads.
|
POAInfo | toPOAInfo()
"Converts" this Object to an instance of the POAInfo class.
|
Parameters: name the POAs name. host the POAs host. port the port the POA listens on. server the server the POA is associated with.
Throws: IllegalPOAName thrown when name
is
null
or of length zero.
Returns: false, if the timeout has been exceeded, true otherwise.
Parameters: host the POAs new host. port the POAs new port.
Returns: a POAInfo object.