| java.lang.Object org.jacorb.imr.ImRPOAInfo
ImRPOAInfo | public class ImRPOAInfo implements java.io.Serializable(Code) | | This class stores information about a POA. It also provides methods
for reactivation, conversion, and for waiting for reactivation.
author: Nicolas Noffke version: $Id: ImRPOAInfo.java,v 1.11 2006/06/27 12:54:33 alphonse.bendt Exp $ |
Method Summary | |
public synchronized boolean | awaitActivation() This method blocks until the POA is reactivated, or the
timeout is exceeded. | public synchronized void | reactivate(String host, int port) Reactivates this POA, i.e. | public POAInfo | toPOAInfo() "Converts" this Object to an instance of the POAInfo class. |
active | protected boolean active(Code) | | |
serialVersionUID | final public static long serialVersionUID(Code) | | |
timeout | protected long timeout(Code) | | |
ImRPOAInfo | public ImRPOAInfo(String name, String host, int port, ImRServerInfo server, long timeout) throws IllegalPOAName(Code) | | The constructor of this class.
Parameters: name - the POAs name. Parameters: host - the POAs host. Parameters: port - the port the POA listens on. Parameters: server - the server the POA is associated with. exception: IllegalPOAName - thrown when name isnull or of length zero. |
awaitActivation | public synchronized boolean awaitActivation()(Code) | | This method blocks until the POA is reactivated, or the
timeout is exceeded.
false, if the timeout has been exceeded, true otherwise. |
reactivate | public synchronized void reactivate(String host, int port)(Code) | | Reactivates this POA, i.e. sets it to active and unblocks any
waiting threads.
Parameters: host - the POAs new host. Parameters: port - the POAs new port. |
toPOAInfo | public POAInfo toPOAInfo()(Code) | | "Converts" this Object to an instance of the POAInfo class.
a POAInfo object. |
|
|