org.jdiameter.api.app
Interface State


public interface State

This interface must be extended by any class that should implement a certain state in the state machine.

Version:
1.5.1 Final

Method Summary
 void entryAction()
          Action that should be taken each time this state is entered
 void exitAction()
          Action that should be taken each time this state is exited
 boolean processEvent(StateEvent event)
          This method processed received event.
 

Method Detail

entryAction

void entryAction()
Action that should be taken each time this state is entered


exitAction

void exitAction()
Action that should be taken each time this state is exited


processEvent

boolean processEvent(StateEvent event)
This method processed received event.

Parameters:
event - the event to process.
Returns:
true if event is processed


Copyright © 2010. All Rights Reserved.