Class P_terminate
java.lang.Object
eu.su.mas.dedale.mas.agent.interactions.protocols.P_terminate
- All Implemented Interfaces:
java.io.Serializable
public class P_terminate
extends java.lang.Object
implements java.io.Serializable
This class is used to allow an agent to ask another one to terminate itself. If the agent is not on the platform, the GK will contact its GK's neighbours and transfer the request SimpleCases : GateKeeper --request(terminate) --> A or Someone -- request(terminate,A1) --> Gk GK -- request(terminate) --> A1
- Author:
- Cédric Herpson
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
P_terminate.R1_ReceiveTransferTerminate
Always listening on the Gkclass
P_terminate.R1_SendTerminate
class
P_terminate.R2_ReceiveTerminate
Always listening on the agent to kill it if requested -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROTOCOLNAME
-
Constructor Summary
Constructors Constructor Description P_terminate()
-
Method Summary
-
Field Details
-
PROTOCOLNAME
public static final java.lang.String PROTOCOLNAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
P_terminate
public P_terminate()
-