org.apache.mina.statemachine.context
Interface StateContextLookup

All Known Implementing Classes:
AbstractStateContextLookup, IoSessionStateContextLookup, SingletonStateContextLookup

public interface StateContextLookup

Lookups a StateContext from a collection of event arguments.

Version:
$Rev: 593479 $, $Date: 2007-11-09 11:21:35 +0100 (ven, 09 nov 2007) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Method Summary
 StateContext lookup(Object[] eventArgs)
          Searches the arguments from an Event and returns a StateContext if any of the arguments holds one.
 

Method Detail

lookup

StateContext lookup(Object[] eventArgs)
Searches the arguments from an Event and returns a StateContext if any of the arguments holds one. NOTE! This method must create a new StateContext if a compatible object is in the arguments and the next time that same object is passed to this method the same StateContext should be returned.



Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.