- java.lang.Object
-
- swim.runtime.scope.Scope
-
- All Implemented Interfaces:
CellContext,swim.util.Log
public abstract class Scope extends Object implements CellContext
-
-
Field Summary
Fields Modifier and Type Field Description protected CellContextcellContextprotected swim.concurrent.Stagestage
-
Constructor Summary
Constructors Constructor Description Scope(CellContext cellContext)Scope(CellContext cellContext, swim.concurrent.Stage stage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBindingbindDownlink(swim.api.downlink.Downlink downlink)voidclose()voidcloseDownlink(LinkBinding link)voiddebug(Object message)voiderror(Object message)CellContextgetCellContext()voidhttpDownlink(HttpBinding http)voidinfo(Object message)voidopenDownlink(LinkBinding link)swim.api.policy.Policypolicy()voidpushDown(PushRequest pushRequest)swim.concurrent.Scheduleschedule()swim.concurrent.Stagestage()swim.store.StoreBindingstore()voidtrace(Object message)voidwarn(Object message)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.runtime.CellContext
meshUri
-
-
-
-
Field Detail
-
cellContext
protected final CellContext cellContext
-
stage
protected final swim.concurrent.Stage stage
-
-
Constructor Detail
-
Scope
public Scope(CellContext cellContext, swim.concurrent.Stage stage)
-
Scope
public Scope(CellContext cellContext)
-
-
Method Detail
-
getCellContext
public final CellContext getCellContext()
-
policy
public swim.api.policy.Policy policy()
- Specified by:
policyin interfaceCellContext
-
schedule
public swim.concurrent.Schedule schedule()
- Specified by:
schedulein interfaceCellContext
-
stage
public final swim.concurrent.Stage stage()
- Specified by:
stagein interfaceCellContext
-
store
public swim.store.StoreBinding store()
- Specified by:
storein interfaceCellContext
-
bindDownlink
public LinkBinding bindDownlink(swim.api.downlink.Downlink downlink)
- Specified by:
bindDownlinkin interfaceCellContext
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlinkin interfaceCellContext
-
closeDownlink
public void closeDownlink(LinkBinding link)
- Specified by:
closeDownlinkin interfaceCellContext
-
httpDownlink
public void httpDownlink(HttpBinding http)
- Specified by:
httpDownlinkin interfaceCellContext
-
pushDown
public void pushDown(PushRequest pushRequest)
- Specified by:
pushDownin interfaceCellContext
-
trace
public void trace(Object message)
- Specified by:
tracein interfaceswim.util.Log
-
debug
public void debug(Object message)
- Specified by:
debugin interfaceswim.util.Log
-
info
public void info(Object message)
- Specified by:
infoin interfaceswim.util.Log
-
warn
public void warn(Object message)
- Specified by:
warnin interfaceswim.util.Log
-
error
public void error(Object message)
- Specified by:
errorin interfaceswim.util.Log
-
close
public void close()
-
-