public class LeaveInitiator extends SingleRequestInitiator
Modifier and Type | Field and Description |
---|---|
static Result |
TEAM_LEFT |
FAILURE_EXCEPTION, NOT_UNDERSTOOD_EXCEPTION, REFUSE_EXCEPTION, REPLY_NOT_UNDERSTOOD_EXCEPTION
Constructor and Description |
---|
LeaveInitiator(BehaviorController controller,
TeamDescription description,
AgentIdentifier manager)
Instantiates this leave initiator with the team description of the
respective member and the identifier of team manager.
|
Modifier and Type | Method and Description |
---|---|
ProtocolIdentifier |
getIdentifier()
Returns the identifier of this identifiable object.
|
void |
handleLeft()
A call-back method that is called if the team has been left successfully.
|
handleFailure, handleNotUnderstood, handleRefuse, isFinished, result, run, waitingFor
public static final Result TEAM_LEFT
public LeaveInitiator(BehaviorController controller, TeamDescription description, AgentIdentifier manager)
controller
- the controller of this behaviordescription
- the team description of the team membermanager
- the team managerpublic ProtocolIdentifier getIdentifier()
Identifiable
getIdentifier
in interface Identifiable<ProtocolIdentifier>
getIdentifier
in class SingleRequestInitiator
public void handleLeft()
Copyright © Aimpulse Intelligent Systems GmbH
All rights reserved.