|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lifl.magique.skill.MagiqueDefaultSkill
fr.lifl.magique.skill.magique.DisconnectionSkill
Skills with ability for disconnection between agent (maybe boss)
ConnectionSkill,
fr.lifl.magique.skill.system.ConnectionToBossSkill| Field Summary |
| Fields inherited from class fr.lifl.magique.skill.MagiqueDefaultSkill |
myAgent |
| Constructor Summary | |
DisconnectionSkill(Agent myAgent)
|
|
| Method Summary | |
java.lang.Boolean |
acknowledgeDisconnection(java.lang.String theOther)
performed by an agent when another agent (theOther) asked for a disconnection from him |
java.lang.Boolean |
askForDisconnectionFrom(java.lang.String theOther)
disconnects me from another agent (not my boss) : disconnection is safe in the sense that no request are lost during disconnection : every request who leaved me or my boss arrived to its its destination. |
java.lang.Boolean |
askForDisconnectionFromMyBoss()
disconnects me from my boss : disconnection is safe in the sense that no request are lost during disconnection : every request who leaved me or my boss arrived to its its destination. |
void |
disconnectFromAll()
disconect from everyone : acquaintances, team and boss |
void |
disconnectFromPlatform(java.lang.String platformName)
disconnect from all agents coming from given platform |
void |
removeFromAgenda(java.lang.String theOther,
java.lang.Boolean fromBoss)
remove theOther from my agenda (due to a disconnection). |
| Methods inherited from class fr.lifl.magique.skill.MagiqueDefaultSkill |
addAgenda, addSkill, addSkill, addSkill, addSkill, addToMyTeam, ask, ask, ask, ask, ask, ask, ask, ask, ask, ask, ask, ask, ask, ask, askNow, askNow, askNow, askNow, askNow, askNow, askNow, askNow, askNow, askNow, askNow, askNow, askNow, askNow, broadcastToAll, broadcastToBasis, concurrentAsk, concurrentAsk, concurrentAsk, concurrentAsk, concurrentAsk, concurrentAsk, concurrentAsk, connectTo, connectToBoss, createOrder, createOrder, createOrder, createOrder, createOrder, createOrder, createQuestion, createQuestion, createQuestion, createQuestion, createQuestion, createQuestion, getAgenda, getMyAgent, getMyBoss, getMyTeam, getName, getPlatform, isAnswerReceived, isBigBoss, isBoss, perform, perform, perform, perform, perform, perform, perform, perform, perform, perform, perform, perform, perform, perform, removeFromMyTeam, removeSkill, removeSkillFromClassName, returnAnswer, returnValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DisconnectionSkill(Agent myAgent)
| Method Detail |
public java.lang.Boolean askForDisconnectionFromMyBoss()
Agent.connectToBoss(java.lang.String)public java.lang.Boolean askForDisconnectionFrom(java.lang.String theOther)
theOther - name of the agent i disconnect fromAtomicAgent.connectTo(java.lang.String)public void disconnectFromAll()
public void disconnectFromPlatform(java.lang.String platformName)
platformName - platform to disconnect from
public void removeFromAgenda(java.lang.String theOther,
java.lang.Boolean fromBoss)
theOther - name of the agent to remove from my agendafromBoss - true iff disconnection from boss
intitiator of the disconnectionpublic java.lang.Boolean acknowledgeDisconnection(java.lang.String theOther)
theOther - name of the agent who disconnect from me
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||