|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lightdev.app.trec.client.AgentAddress
public class AgentAddress
Address of an agent in the context of the Light Development Transparent Remote Computing (TREC) platform.
A Server typically holds handlers for client requests which are
called 'agents'. Agents are identified by a name unique in the list of agents of the
respective server.
Server,
Serialized Form| Constructor Summary | |
|---|---|
AgentAddress(ServerAddress serverAddress,
String agentName)
create a new agent address |
|
| Method Summary | |
|---|---|
String |
getAgentName()
get the name of the agent |
ServerAddress |
getServerAddress()
get the server address of this agent address |
void |
setAgentName(String agentName)
set the agent name |
void |
setServerAddress(ServerAddress serverAddress)
set the server address of this agent address |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentAddress(ServerAddress serverAddress,
String agentName)
serverAddress - address of the server the agent is hosted byagentName - name of agent| Method Detail |
|---|
public String getAgentName()
public void setAgentName(String agentName)
agentName - name to set this agent address topublic void setServerAddress(ServerAddress serverAddress)
serverAddress - te server address to setpublic ServerAddress getServerAddress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||