public class DeregisterInitiator extends SingleRequestInitiator
Modifier and Type | Field and Description |
---|---|
static Result |
DEREGISTERED |
FAILURE_EXCEPTION, NOT_UNDERSTOOD_EXCEPTION, REFUSE_EXCEPTION, REPLY_NOT_UNDERSTOOD_EXCEPTION
Constructor and Description |
---|
DeregisterInitiator(BehaviorController controller,
AgentDescription description)
Instantiates this directory deregister behavior.
|
Modifier and Type | Method and Description |
---|---|
AgentDescription |
getDeregisteredDescription()
Returns the description returned by the directory.
|
void |
handleDeregisteredDescription(AgentDescription description)
Callback method in order to handle a successful deregistration 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 DEREGISTERED
public DeregisterInitiator(BehaviorController controller, AgentDescription description)
controller
- the agent controller of the initiating agentdescription
- the description to be deregisteredpublic void handleDeregisteredDescription(AgentDescription description)
description
- the description returned by the directorypublic AgentDescription getDeregisteredDescription()
public void handleReplyNotUnderstood(Message reply)
reply
- the reply that is unreadable or that has unexpected contentCopyright © Aimpulse Intelligent Systems GmbH
All rights reserved.