org.malai.interaction
Class IntermediaryState

java.lang.Object
  extended by org.malai.interaction.State
      extended by org.malai.interaction.IntermediaryState
All Implemented Interfaces:
IState, SourceableState, TargetableState

public class IntermediaryState
extends State
implements SourceableState, TargetableState

This state defines a standard state that modifies the state of the interaction.

This file is part of Malai.
Copyright (c) 2009-2012 Arnaud BLOUIN

Malai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Malai is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

05/19/2010

Since:
0.1
Author:
Arnaud BLOUIN

Field Summary
 
Fields inherited from class org.malai.interaction.State
name, stateMachine, transitions
 
Constructor Summary
IntermediaryState(java.lang.String name)
           
 
Method Summary
 void onIngoing()
           
 void onOutgoing()
           
 
Methods inherited from class org.malai.interaction.State
addTransition, getName, getStateMachine, getTransition, getTransitions, setStateMachine, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.malai.stateMachine.IState
addTransition, getName, getStateMachine, getTransition, getTransitions, setStateMachine
 

Constructor Detail

IntermediaryState

public IntermediaryState(java.lang.String name)
See Also:
State.State(String)
Method Detail

onIngoing

public void onIngoing()
               throws MustAbortStateMachineException
Specified by:
onIngoing in interface TargetableState
Throws:
MustAbortStateMachineException - To launch when the state machine must stop.

onOutgoing

public void onOutgoing()
                throws MustAbortStateMachineException
Specified by:
onOutgoing in interface SourceableState
Throws:
MustAbortStateMachineException - To launch when the state machine must stop.