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

List of all members.

Public Member Functions

 BeginState (String n)
void setMethod (BeginStateMethod method)
BeginStateMethod getMethod ()

Detailed Description

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

Author:
Ricard Lopez Fogues

Definition at line 11 of file BeginState.java.


Constructor & Destructor Documentation

Create a new begin state

Parameters:
nameof the state

Definition at line 19 of file BeginState.java.

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

Member Function Documentation

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

Returns:
This state's method

Definition at line 36 of file BeginState.java.

                                            {
                return Method;
        }

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

Parameters:
Themethod of this state

Definition at line 28 of file BeginState.java.

                                                       {
                Method = method;
        }

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