|
||||||||||
| 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
public abstract class Site
Base class for all sites
| 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<Future> args,
Node nextNode)
Invoked by a Call to invoke a site. |
|
| 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 Site()
| Method Detail |
|---|
public void createCall(Token callToken,
java.util.List<Future> args,
Node nextNode)
throws TokenException
createCall in interface CallablecallToken - token for which the call is being made: points to the call nodeargs - argument listnextNode - next node after the call node, to which the result should be sent
TokenExceptionCallable.createCall(orc.runtime.Token, java.util.List, orc.runtime.nodes.Node)
public abstract void callSite(Args args,
Token caller)
throws TokenException
args - list of argument valuescaller - where the result should be sent
TokenExceptionpublic <E> E accept(Visitor<E> visitor)
accept in class Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||