- java.lang.Object
-
- swim.runtime.scope.Scope
-
- swim.runtime.scope.HostScope
-
- All Implemented Interfaces:
DownlinkFactory,HostRef,CellContext,Log
public class HostScope extends Scope implements HostRef
-
-
Constructor Summary
Constructors Constructor Description HostScope(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommand(String nodeUri, String laneUri, float prio, Value body)voidcommand(String nodeUri, String laneUri, float prio, Value body, Cont<CommandMessage> cont)voidcommand(String nodeUri, String laneUri, Value body)voidcommand(String nodeUri, String laneUri, Value body, Cont<CommandMessage> cont)voidcommand(Uri nodeUri, Uri laneUri, float prio, Value body)voidcommand(Uri nodeUri, Uri laneUri, float prio, Value body, Cont<CommandMessage> cont)voidcommand(Uri nodeUri, Uri laneUri, Value body)voidcommand(Uri nodeUri, 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()UrihostUri()LaneReflaneRef(String nodeUri, String laneUri)LaneReflaneRef(Uri nodeUri, Uri laneUri)UrimeshUri()NodeRefnodeRef(String nodeUri)NodeRefnodeRef(Uri nodeUri)-
Methods inherited from class swim.runtime.scope.Scope
bindDownlink, cellAddress, cellContext, close, closeDownlink, debug, edgeName, error, fail, info, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store, trace, warn
-
-
-
-
Constructor Detail
-
HostScope
public HostScope(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri)
-
-
Method Detail
-
meshUri
public final Uri meshUri()
- Specified by:
meshUriin interfaceCellContext
-
downlink
public EventDownlink<Value> downlink()
- Specified by:
downlinkin interfaceDownlinkFactory
-
downlinkList
public ListDownlink<Value> downlinkList()
- Specified by:
downlinkListin interfaceDownlinkFactory
-
downlinkMap
public MapDownlink<Value,Value> downlinkMap()
- Specified by:
downlinkMapin interfaceDownlinkFactory
-
downlinkValue
public ValueDownlink<Value> downlinkValue()
- Specified by:
downlinkValuein interfaceDownlinkFactory
-
downlinkHttp
public <V> HttpDownlink<V> downlinkHttp()
- Specified by:
downlinkHttpin interfaceDownlinkFactory
-
downlinkWs
public <I,O> WsDownlink<I,O> downlinkWs()
- Specified by:
downlinkWsin interfaceDownlinkFactory
-
command
public void command(Uri nodeUri, Uri laneUri, float prio, Value body, Cont<CommandMessage> cont)
-
command
public void command(String nodeUri, String laneUri, float prio, Value body, Cont<CommandMessage> cont)
-
command
public void command(Uri nodeUri, Uri laneUri, Value body, Cont<CommandMessage> cont)
-
command
public void command(String nodeUri, String laneUri, Value body, Cont<CommandMessage> cont)
-
-