public class ModifyInitiator extends SingleRequestInitiator
Modifier and Type | Field and Description |
---|---|
static Result |
MODIFIED |
FAILURE_EXCEPTION, NOT_UNDERSTOOD_EXCEPTION, REFUSE_EXCEPTION, REPLY_NOT_UNDERSTOOD_EXCEPTION
Constructor and Description |
---|
ModifyInitiator(BehaviorController controller,
AgentDescription description)
Instantiates this directory modify behavior.
|
Modifier and Type | Method and Description |
---|---|
AgentDescription |
getModifiedDescription()
Returns the description returned by the directory.
|
void |
handleModifiedDescription(AgentDescription description)
Callback method in order to handle a successful modification of the
directory entry.
|
void |
handleReplyNotUnderstood(Message reply)
Callback method in order to handle that messages received from the
directory cannot be interpreted (either because they are unreadable or
because they have unexpected content).
|
getIdentifier, handleFailure, handleNotUnderstood, handleRefuse, isFinished, result, run, waitingFor
public static final Result MODIFIED
public ModifyInitiator(BehaviorController controller, AgentDescription description)
controller
- the agent controller of the initiating agentdescription
- the description to be modifiedpublic void handleModifiedDescription(AgentDescription description)
description
- the description returned by the directorypublic AgentDescription getModifiedDescription()
public void handleReplyNotUnderstood(Message reply)
reply
- the reply that is unreadable or that has unexpected contentCopyright © Aimpulse Intelligent Systems GmbH
All rights reserved.