- java.lang.Object
-
- swim.system.scope.Scope
-
- swim.system.scope.NodeScope
-
- All Implemented Interfaces:
DownlinkFactory
,NodeRef
,CellContext
,Log
public class NodeScope extends Scope implements NodeRef
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
command(String laneUri, float prio, Value body)
void
command(String laneUri, float prio, Value body, Cont<CommandMessage> cont)
void
command(String laneUri, Value body)
void
command(String laneUri, Value body, Cont<CommandMessage> cont)
void
command(Uri laneUri, float prio, Value body)
void
command(Uri laneUri, float prio, Value body, Cont<CommandMessage> cont)
void
command(Uri laneUri, Value body)
void
command(Uri laneUri, Value body, Cont<CommandMessage> cont)
EventDownlink<Value>
downlink()
<V> HttpDownlink<V>
downlinkHttp()
ListDownlink<Value>
downlinkList()
MapDownlink<Value,Value>
downlinkMap()
ValueDownlink<Value>
downlinkValue()
<I,O>
WsDownlink<I,O>downlinkWs()
Uri
hostUri()
LaneRef
laneRef(String laneUri)
LaneRef
laneRef(Uri laneUri)
Uri
meshUri()
Uri
nodeUri()
-
Methods inherited from class swim.system.scope.Scope
bindDownlink, cellAddress, cellContext, close, closeDownlink, debug, edgeName, error, fail, info, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store, trace, warn
-
-
-
-
Constructor Detail
-
NodeScope
public NodeScope(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri, Uri nodeUri)
-
-
Method Detail
-
meshUri
public final Uri meshUri()
- Specified by:
meshUri
in interfaceCellContext
-
downlink
public EventDownlink<Value> downlink()
- Specified by:
downlink
in interfaceDownlinkFactory
-
downlinkList
public ListDownlink<Value> downlinkList()
- Specified by:
downlinkList
in interfaceDownlinkFactory
-
downlinkMap
public MapDownlink<Value,Value> downlinkMap()
- Specified by:
downlinkMap
in interfaceDownlinkFactory
-
downlinkValue
public ValueDownlink<Value> downlinkValue()
- Specified by:
downlinkValue
in interfaceDownlinkFactory
-
downlinkHttp
public <V> HttpDownlink<V> downlinkHttp()
- Specified by:
downlinkHttp
in interfaceDownlinkFactory
-
downlinkWs
public <I,O> WsDownlink<I,O> downlinkWs()
- Specified by:
downlinkWs
in interfaceDownlinkFactory
-
command
public void command(Uri laneUri, float prio, Value body, Cont<CommandMessage> cont)
-
command
public void command(String laneUri, float prio, Value body, Cont<CommandMessage> cont)
-
command
public void command(Uri laneUri, Value body, Cont<CommandMessage> cont)
-
command
public void command(String laneUri, Value body, Cont<CommandMessage> cont)
-
-