|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Rmi
Identifies an RMI server object.
| Method Summary | |
|---|---|
java.lang.String |
getBindName()
Returns the name that the RMI server object is bound to in the RMI registry. |
java.lang.String |
getHost()
Returns the host where the RMI server object is located. |
java.net.URL |
getHostAsUrl()
Returns the host, registry port, and bind name where the RMI server object is located. |
int |
getPort()
Returns the RMI registry port where the RMI server object is located. |
void |
setBindName(java.lang.String bindName)
Sets the name that the RMI server object is bound to in the RMI registry. |
void |
setHost(java.lang.String host)
Sets the host where the RMI server object is located. |
void |
setHost(java.net.URL host)
Sets the host, registry port, and bind name where the RMI server object is located. |
void |
setPort(int port)
Sets the registry port where the RMI server object is located. |
| Method Detail |
|---|
java.lang.String getBindName()
java.lang.String getHost()
java.net.URL getHostAsUrl()
throws EngineException
EngineException - If a system error occurs.int getPort()
void setBindName(java.lang.String bindName)
bindName - The name that the RMI server object is bound to in the RMI
registry.
java.lang.IllegalArgumentException - If bindName is null or empty.void setHost(java.lang.String host)
host - The host where the RMI server object is located.
registry.
java.lang.IllegalArgumentException - If bindName is null or empty.
void setHost(java.net.URL host)
throws EngineException
host - The host, registry port and bind name where the RMI server
object is located.
EngineException - If a system error occurs.
void setPort(int port)
throws EngineException
port - Sets the registry port where the RMI server object is located.
EngineException - If a system error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||