- java.lang.Object
-
- swim.system.scope.Scope
-
- swim.system.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 void
command(String nodeUri, String laneUri, float prio, Value body)
void
command(String nodeUri, String laneUri, float prio, Value body, Cont<CommandMessage> cont)
void
command(String nodeUri, String laneUri, Value body)
void
command(String nodeUri, String laneUri, Value body, Cont<CommandMessage> cont)
void
command(Uri nodeUri, Uri laneUri, float prio, Value body)
void
command(Uri nodeUri, Uri laneUri, float prio, Value body, Cont<CommandMessage> cont)
void
command(Uri nodeUri, Uri laneUri, Value body)
void
command(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()
Uri
hostUri()
LaneRef
laneRef(String nodeUri, String laneUri)
LaneRef
laneRef(Uri nodeUri, Uri laneUri)
Uri
meshUri()
NodeRef
nodeRef(String nodeUri)
NodeRef
nodeRef(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
-
HostScope
public HostScope(CellContext cellContext, Stage stage, Uri meshUri, Uri hostUri)
-
-
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 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)
-
-