|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Routine
A Routine
provides a VMXState with the information
that is needed to construct a stack frame in which the
routine can be executed. It is a callback interface and used in the
methods VMXState.invoke(Routine, int, Authorization)
and
VMXState.createDescriptor(Routine, int, Authorization)
.
Method Summary | |
---|---|
AbruptCompletion.Return |
execute(VMXState s)
This callback method is invoked by the executing VMXState . |
int |
getFrameSize()
Computes the number of VMXState stack elements for the frame of this routine. |
int |
getJavaFrameSize()
Computes the number of VMXState stack elements for the Java frame of this routine. |
int |
getParameterSize()
Computes the number of VMXState stack elements for the parameters of this routine. |
boolean |
hasJavaParameters()
Determines whether this routine expects its parameters on the Java frame or the normal frame. |
Method Detail |
---|
AbruptCompletion.Return execute(VMXState s)
VMXState
.
A return value has to be wrapped in an instance of
AbruptCompletion.Return
.
s
- the executing VMXState
int getFrameSize()
int getJavaFrameSize()
int getParameterSize()
boolean hasJavaParameters()
true
iff parameters are expected on the Java frame
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |