Magentix2  2.1.1
es.upv.dsic.gti_ia.cAgents.ShutdownState Class Reference
Inheritance diagram for es.upv.dsic.gti_ia.cAgents.ShutdownState:
Collaboration diagram for es.upv.dsic.gti_ia.cAgents.ShutdownState:

List of all members.

Public Member Functions

void setMethod (ShutdownStateMethod method)
ShutdownStateMethod getMethod ()

Protected Member Functions

 ShutdownState ()

Detailed Description

This class represents a shutdown state during an interaction protocol. When a conversation reaches this state it executes the state's method.

Author:
Agustín Espinosa

Definition at line 10 of file ShutdownState.java.


Constructor & Destructor Documentation

Creates a new shutdown state

Parameters:
nameof the state

Definition at line 18 of file ShutdownState.java.

                                  {
                super("SHUTDOWN");
                type = State.SHUTDOWN;
        }

Member Function Documentation

Returns the method assigned to this state by the setMethod() function

Returns:
This state's method

Definition at line 35 of file ShutdownState.java.

                                               {
                return Method;
        }

Set the method that will be executed when a conversation reaches this state

Parameters:
Themethod of this state

Definition at line 27 of file ShutdownState.java.

                                                          {
                Method = method;
        }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables