|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fipaos.ont.fipa.fipaman.AgentID | +--repserver.RepAgentID
RepAgentID is an extension of AgentID to handle replication issues. RepAgentID adds a data field to store the last time this replicant either set or sent its state and it adds a boolean field to indicate that the last ping failed or not.
Constructor Summary | |
RepAgentID()
Constructs a blank RepAgentID. |
|
RepAgentID(fipaos.ont.fipa.fipaman.AgentID aid)
Constructs a RepAgentID from an AgentID |
|
RepAgentID(java.lang.String aid)
Constructs a RepAgentID from an AID string. |
Method Summary | |
boolean |
getPing()
return the current ping flag |
java.util.Date |
getUpdate()
return the update time |
void |
setPing(boolean p)
set the ping flag. |
void |
setUpdate(java.util.Date u)
set the update time |
Methods inherited from class fipaos.ont.fipa.fipaman.AgentID |
clone, equals, getAddresses, getAgentIDs, getDynamicClassHints, getName, getResolvers, hashCode, main, setAddresses, setAddresses, setName, setResolvers, setResolvers, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RepAgentID()
public RepAgentID(java.lang.String aid) throws fipaos.parser.ParserException
public RepAgentID(fipaos.ont.fipa.fipaman.AgentID aid)
Method Detail |
public void setUpdate(java.util.Date u)
u
- date/time to set.public java.util.Date getUpdate()
public void setPing(boolean p)
public boolean getPing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |