public class ImRPOAInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected String |
host |
protected String |
name |
protected int |
port |
static long |
serialVersionUID |
protected ImRServerInfo |
server |
protected long |
timeout |
Constructor and Description |
---|
ImRPOAInfo(String name,
String host,
int port,
ImRServerInfo server,
long timeout)
The constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
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.
|
POAInfo |
toPOAInfo()
"Converts" this Object to an instance of the POAInfo class.
|
public static final long serialVersionUID
protected int port
protected ImRServerInfo server
protected String host
protected String name
protected boolean active
protected long timeout
public ImRPOAInfo(String name, String host, int port, ImRServerInfo server, long timeout) throws IllegalPOAName
name
- the POAs name.host
- the POAs host.port
- the port the POA listens on.server
- the server the POA is associated with.IllegalPOAName
- thrown when name
is
null
or of length zero.public POAInfo toPOAInfo()
public void reactivate(String host, int port)
host
- the POAs new host.port
- the POAs new port.public boolean awaitActivation()
Copyright © 2017 JacORB. All rights reserved.