nl.tudelft.simulation.dsol.interpreter.process
Class ProcessFactory
java.lang.Object
nl.tudelft.simulation.dsol.interpreter.operations.InterpreterFactory
nl.tudelft.simulation.dsol.interpreter.operations.custom.CustomFactory
nl.tudelft.simulation.dsol.interpreter.process.ProcessFactory
- All Implemented Interfaces:
- FactoryInterface
public class ProcessFactory
- extends CustomFactory
A InterpreterFactory
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Version:
- 1.0 Jan 14, 2004
- Author:
- Peter Jacobs
Method Summary |
Operation |
readOperation(int operand,
DataInput dataInput,
int startBytePostion)
reads a sequence of bytes and returns the appropriate bytecode
operations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUSPEND_METHOD
public static Method SUSPEND_METHOD
- the SUSPEND METHOD
ProcessFactory
public ProcessFactory(InterpreterOracleInterface interpreterOracle)
- constructs a new InterpreterFactory
- Parameters:
the
- interpreterOracle to use
readOperation
public Operation readOperation(int operand,
DataInput dataInput,
int startBytePostion)
throws IOException
- reads a sequence of bytes and returns the appropriate bytecode
operations.
- Specified by:
readOperation
in interface FactoryInterface
- Overrides:
readOperation
in class CustomFactory
- Parameters:
operand
- the operatand (short value)dataInput
- the dataInput to read fromstartBytePostion
- the position in the current block of bytecode.
- Returns:
- the assemnbly Operation
- Throws:
IOException
- on IO exception- See Also:
#readOperation(int, java.io.DataInput, int)
Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.