|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orc.runtime.values.Value orc.runtime.sites.Site orc.runtime.sites.java.ThreadedObjectProxy
public class ThreadedObjectProxy
Objects whose methods should always be called in new threads. This is to be avoided if possible, but it's safer than allowing native methods to block the interpreter. The main reason you might need this is when wrapping some other proxy, like a webservices proxy.
Field Summary |
---|
Fields inherited from class orc.runtime.values.Value |
---|
futureNotReady |
Constructor Summary | |
---|---|
ThreadedObjectProxy(java.lang.Object instance)
|
Method Summary | |
---|---|
void |
callSite(Args args,
Token caller)
Must be implemented by subclasses to implement the site behavior |
Methods inherited from class orc.runtime.sites.Site |
---|
accept, createCall, type |
Methods inherited from class orc.runtime.values.Value |
---|
forceArg, forceCall, signal, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadedObjectProxy(java.lang.Object instance)
Method Detail |
---|
public void callSite(Args args, Token caller) throws TokenException
Site
callSite
in class Site
args
- list of argument valuescaller
- where the result should be sent
TokenException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |