edu.ksu.cis.projects.bogor.module
Interface IStateFactoryArguments


public interface IStateFactoryArguments

A state factory arguments interface.

Version:
CVS $Revision: 1.1 $ $Date: 2003/09/27 02:00:36 $
Author:
Robby

Method Summary
 IValueArray getGlobalValues()
          Gets the initial globalValues
 IValueArray getLocalValues(int threadId)
          Gets the local values of a thread
 int getLocationDesc(int threadId)
          Gets the location desc of a thread
 int[] getThreadIds()
          Gets the thread ids that are active in the initial state.
 

Method Detail

getGlobalValues

IValueArray getGlobalValues()
Gets the initial globalValues

Returns:
The global values for the initial state. Non-null.

getLocalValues

IValueArray getLocalValues(int threadId)
Gets the local values of a thread

Parameters:
threadId - The thread id whose local values to be retrieved. The thread id must be one of those returned by the getThreadIds method.
Returns:
The local values of the given thread. Non-null.

getLocationDesc

int getLocationDesc(int threadId)
Gets the location desc of a thread

Parameters:
threadId - The thread id whose local values to be retrieved. The thread id must be one of those returned by the getThreadIds method.
Returns:
The initial location of the given thread.

getThreadIds

int[] getThreadIds()
Gets the thread ids that are active in the initial state.

Returns:
The active thread ids. Non-null.