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

List of all members.

Public Member Functions

 ActionState (String n)
void setMethod (ActionStateMethod method)
ActionStateMethod getMethod ()

Detailed Description

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

Author:
Ricard Lopez Fogues

Definition at line 9 of file ActionState.java.


Constructor & Destructor Documentation

Create a new action state

Parameters:
nameof the state

Definition at line 17 of file ActionState.java.

                                     {
                super(n);
                type = State.ACTION;
        }

Member Function Documentation

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

Returns:
This state's method

Definition at line 34 of file ActionState.java.

                                             {
                return Method;
        }

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

Parameters:
Themethod of this state

Definition at line 26 of file ActionState.java.

                                                        {
                Method = method;
        }

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