|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--agentland.resource.namer.NamerEHA
Fields inherited from interface metaglue.Agent |
ALIVE,
DIED,
NO_METAGLUE,
NOT_RUNNING,
STARTING |
Fields inherited from interface metaglue.Agent |
ALIVE,
DIED,
NO_METAGLUE,
NOT_RUNNING,
STARTING |
Fields inherited from interface metaglue.Agent |
ALIVE,
DIED,
NO_METAGLUE,
NOT_RUNNING,
STARTING |
Fields inherited from interface metaglue.Agent |
ALIVE,
DIED,
NO_METAGLUE,
NOT_RUNNING,
STARTING |
Fields inherited from interface metaglue.Agent |
ALIVE,
DIED,
NO_METAGLUE,
NOT_RUNNING,
STARTING |
Fields inherited from interface metaglue.Agent |
ALIVE,
DIED,
NO_METAGLUE,
NOT_RUNNING,
STARTING |
Constructor Summary | |
NamerEHA(MetagluePrimitives ap,
AgentID agentID,
Catalog c)
|
Method Summary | |
void |
addMonitor(Spy param0)
Add a log monitor that gets all the screen output. |
void |
addRequestHook(AgentID param0)
This is so agents can watch all resource requests on the java side and add/modify them if necessary/desired. |
void |
addTranslation(String param0,
String param1)
|
void |
addWatchedOccupation(String param0)
|
boolean |
alive()
|
boolean |
connect(AgentID param0,
AgentID param1)
Connect two agents together (in whatever sense makes sense.) |
Agent |
getAgent()
get the internal stub used. |
AgentID |
getAgentID()
|
Collection |
getAgentNames(AgentID param0)
Return any known String names for an agentID. |
AgentID |
getAgtID()
get the internal agentID used. |
Vector |
getHistory()
|
String |
getHistoryElement(int param0)
|
AgentID |
getMetaglueAgentID()
|
void |
instantiate(Agent a)
|
ResourceBunch |
lookup(Request param0,
Context param1,
AgentID param2)
Get a list of things which match the name of request. |
void |
registerInstance(AgentID param0)
Register a Managed Agent as alive and kicking. |
void |
removeRequestHook(AgentID param0)
|
void |
replaceExceptionHandler(AgentExceptionHandler r)
|
void |
replaceFor(AgentID param0,
Resource param1,
Request param2,
Context param3)
On behalf of some agent, replace the resource named with some other requested resource and context as defined by the passed request |
ResourceBunch |
request(Request param0,
Context param1,
AgentID param2)
|
void |
resetHistory()
|
void |
setAgent(Agent a)
set the internal stub used to passed agent. |
void |
setAgtID(AgentID a)
set the internal agentID used to passed agent. |
void |
shutdown()
|
void |
startup()
|
void |
tell(Secret param0)
This is called if the Agent is to recieve a particular secret. |
AgentID |
translate(AgentID param0)
Given an ID, translate it into a new ID. |
AgentID |
translate(String param0)
|
InetAddress |
whereAreYou()
Returns the InetAddress of the machine where the agent is running |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NamerEHA(MetagluePrimitives ap, AgentID agentID, Catalog c) throws RemoteException
Method Detail |
public Agent getAgent()
public void setAgent(Agent a)
public AgentID getAgtID()
public void setAgtID(AgentID a)
public void instantiate(Agent a)
public void replaceExceptionHandler(AgentExceptionHandler r)
public void addRequestHook(AgentID param0) throws RemoteException
public boolean connect(AgentID param0, AgentID param1) throws RemoteException
public Collection getAgentNames(AgentID param0) throws RemoteException
public ResourceBunch lookup(Request param0, Context param1, AgentID param2) throws RemoteException
public void registerInstance(AgentID param0) throws RemoteException
public void removeRequestHook(AgentID param0) throws RemoteException
public void replaceFor(AgentID param0, Resource param1, Request param2, Context param3) throws RemoteException
public ResourceBunch request(Request param0, Context param1, AgentID param2) throws RemoteException
public void tell(Secret param0) throws RemoteException
public void addMonitor(Spy param0) throws RemoteException
public boolean alive() throws RemoteException
public AgentID getAgentID()
public AgentID getMetaglueAgentID() throws RemoteException
public void shutdown() throws RemoteException
public void startup() throws RemoteException
public InetAddress whereAreYou() throws RemoteException
public Vector getHistory() throws RemoteException
public String getHistoryElement(int param0) throws RemoteException
public void resetHistory() throws RemoteException
public void addTranslation(String param0, String param1) throws RemoteException
public void addWatchedOccupation(String param0) throws RemoteException
public AgentID translate(String param0) throws RemoteException
public AgentID translate(AgentID param0) throws RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |