- java.lang.Object
-
- swim.runtime.scope.Scope
-
- All Implemented Interfaces:
CellContext
,Log
public abstract class Scope extends Object implements CellContext
-
-
Field Summary
Fields Modifier and Type Field Description protected CellContext
cellContext
protected Stage
stage
-
Constructor Summary
Constructors Constructor Description Scope(CellContext cellContext)
Scope(CellContext cellContext, Stage stage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBinding
bindDownlink(Downlink downlink)
void
close()
void
closeDownlink(LinkBinding link)
void
debug(Object message)
Logs a debug-level message.void
error(Object message)
Logs an error-level message.CellContext
getCellContext()
void
info(Object message)
Logs an info-level message.void
openDownlink(LinkBinding link)
Policy
policy()
void
pushDown(PushRequest pushRequest)
Schedule
schedule()
Stage
stage()
StoreBinding
store()
void
trace(Object message)
Logs a trace-level message.void
warn(Object message)
Logs a warn-level 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 Stage stage
-
-
Constructor Detail
-
Scope
public Scope(CellContext cellContext, Stage stage)
-
Scope
public Scope(CellContext cellContext)
-
-
Method Detail
-
getCellContext
public final CellContext getCellContext()
-
policy
public Policy policy()
- Specified by:
policy
in interfaceCellContext
-
schedule
public Schedule schedule()
- Specified by:
schedule
in interfaceCellContext
-
stage
public final Stage stage()
- Specified by:
stage
in interfaceCellContext
-
store
public StoreBinding store()
- Specified by:
store
in interfaceCellContext
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
-
closeDownlink
public void closeDownlink(LinkBinding link)
- Specified by:
closeDownlink
in interfaceCellContext
-
pushDown
public void pushDown(PushRequest pushRequest)
- Specified by:
pushDown
in interfaceCellContext
-
trace
public void trace(Object message)
Description copied from interface:Log
Logs a trace-level message.
-
debug
public void debug(Object message)
Description copied from interface:Log
Logs a debug-level message.
-
info
public void info(Object message)
Description copied from interface:Log
Logs an info-level message.
-
warn
public void warn(Object message)
Description copied from interface:Log
Logs a warn-level message.
-
error
public void error(Object message)
Description copied from interface:Log
Logs an error-level message.
-
close
public void close()
-
-