|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.runtime.values.Value
orc.runtime.sites.Site
orc.runtime.sites.SimpleSite
orc.runtime.sites.java.MethodProxy
public class MethodProxy
This extends SimpleSite so that methods can use orc.runtime.Continuation to take advantage of Orc's cooperative threading, if desired.
| Constructor Summary | |
|---|---|
MethodProxy(java.util.List<java.lang.reflect.Method> m,
java.lang.Object self,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
Value |
evaluate(Args args)
If this method calls Continuation.suspend(), its return value will be ignored and the engine will expect the method to resume or kill the continuation when ready. |
| Methods inherited from class orc.runtime.sites.SimpleSite |
|---|
callSite |
| Methods inherited from class orc.runtime.sites.Site |
|---|
accept, createCall |
| Methods inherited from class orc.runtime.values.Value |
|---|
forceArg, forceCall, head, isCons, isNil, isNone, isSome, signal, tail, untag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodProxy(java.util.List<java.lang.reflect.Method> m,
java.lang.Object self,
java.lang.String name)
| Method Detail |
|---|
public Value evaluate(Args args)
throws TokenException
SimpleSite
evaluate in class SimpleSiteTokenException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||