|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectguarana.toolkit.adapter.rmi.AbstractRMIAdapter
public abstract class AbstractRMIAdapter
An abstract RMI adapter.
Constructor Summary | |
---|---|
AbstractRMIAdapter(String jndiName,
String host,
int port)
Constructs a new RMI Adapter. |
Method Summary | |
---|---|
String |
getHost()
Returns the host for the remote registry. |
String |
getJndiName()
Returns the JNDI name of the remote object. |
int |
getPort()
Returns the port on which the registry accepts requests. |
void |
setHost(String host)
Sets the host for the remote registry. |
void |
setJndiName(String jndiName)
Sets the JNDI name of the remote object. |
void |
setPort(int port)
Sets the port on which the registry accepts requests. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractRMIAdapter(String jndiName, String host, int port) throws RemoteException
jndiName
- JNDI name of the communicator.host
- The host for the remote registry.port
- The port on which the registry accepts requests.
RemoteException
- if any remote exception is raised during this method execution.Method Detail |
---|
public void setJndiName(String jndiName)
jndiName
- The jndiName to set.public String getJndiName()
public void setHost(String host)
host
- The host to set.public String getHost()
public void setPort(int port)
port
- The port to set.public int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |