|
||||||||||
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
public abstract class Site
Base class for all sites
Field Summary |
---|
Fields inherited from class orc.runtime.values.Value |
---|
futureNotReady |
Constructor Summary | |
---|---|
Site()
|
Method Summary | ||
---|---|---|
|
accept(Visitor<E> visitor)
|
|
abstract void |
callSite(Args args,
Token caller)
Must be implemented by subclasses to implement the site behavior |
|
void |
createCall(Token callToken,
java.util.List<java.lang.Object> args,
TokenContinuation publishContinuation)
Invoked by a Call to invoke a site. |
|
Type |
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 Site()
Method Detail |
---|
public void createCall(Token callToken, java.util.List<java.lang.Object> args, TokenContinuation publishContinuation) throws TokenException
createCall
in interface Callable
callToken
- token for which the call is being made: points to the call nodeargs
- argument listpublishContinuation
- next node after the call node, to which the result should be sent
TokenException
Callable.createCall(Token, List, TokenContinuation)
public abstract void callSite(Args args, Token caller) throws TokenException
args
- list of argument valuescaller
- where the result should be sent
TokenException
public <E> E accept(Visitor<E> visitor)
accept
in class Value
public Type type() throws TypeException
TypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |