- java.lang.Object
-
- swim.runtime.scope.Scope
-
- swim.runtime.scope.HostScope
-
- All Implemented Interfaces:
swim.api.downlink.DownlinkFactory,swim.api.ref.HostRef,CellContext,swim.util.Log
public class HostScope extends Scope implements swim.api.ref.HostRef
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.uri.UrihostUriprotected swim.uri.UrimeshUri-
Fields inherited from class swim.runtime.scope.Scope
cellContext, stage
-
-
Constructor Summary
Constructors Constructor Description HostScope(CellContext cellContext, swim.concurrent.Stage stage, swim.uri.Uri meshUri, swim.uri.Uri hostUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommand(String nodeUri, String laneUri, float prio, swim.structure.Value body)voidcommand(String nodeUri, String laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)voidcommand(String nodeUri, String laneUri, swim.structure.Value body)voidcommand(String nodeUri, String laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)voidcommand(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body)voidcommand(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)voidcommand(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body)voidcommand(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)swim.api.downlink.EventDownlink<swim.structure.Value>downlink()<V> swim.api.http.HttpDownlink<V>downlinkHttp()swim.api.downlink.ListDownlink<swim.structure.Value>downlinkList()swim.api.downlink.MapDownlink<swim.structure.Value,swim.structure.Value>downlinkMap()swim.api.downlink.ValueDownlink<swim.structure.Value>downlinkValue()<I,O>
swim.api.ws.WsDownlink<I,O>downlinkWs()swim.uri.UrihostUri()swim.api.ref.LaneReflaneRef(String nodeUri, String laneUri)swim.api.ref.LaneReflaneRef(swim.uri.Uri nodeUri, swim.uri.Uri laneUri)swim.uri.UrimeshUri()swim.api.ref.NodeRefnodeRef(String nodeUri)swim.api.ref.NodeRefnodeRef(swim.uri.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, swim.concurrent.Stage stage, swim.uri.Uri meshUri, swim.uri.Uri hostUri)
-
-
Method Detail
-
meshUri
public final swim.uri.Uri meshUri()
- Specified by:
meshUriin interfaceCellContext
-
hostUri
public final swim.uri.Uri hostUri()
- Specified by:
hostUriin interfaceswim.api.ref.HostRef
-
nodeRef
public swim.api.ref.NodeRef nodeRef(swim.uri.Uri nodeUri)
- Specified by:
nodeRefin interfaceswim.api.ref.HostRef
-
nodeRef
public swim.api.ref.NodeRef nodeRef(String nodeUri)
- Specified by:
nodeRefin interfaceswim.api.ref.HostRef
-
laneRef
public swim.api.ref.LaneRef laneRef(swim.uri.Uri nodeUri, swim.uri.Uri laneUri)- Specified by:
laneRefin interfaceswim.api.ref.HostRef
-
laneRef
public swim.api.ref.LaneRef laneRef(String nodeUri, String laneUri)
- Specified by:
laneRefin interfaceswim.api.ref.HostRef
-
downlink
public swim.api.downlink.EventDownlink<swim.structure.Value> downlink()
- Specified by:
downlinkin interfaceswim.api.downlink.DownlinkFactory
-
downlinkList
public swim.api.downlink.ListDownlink<swim.structure.Value> downlinkList()
- Specified by:
downlinkListin interfaceswim.api.downlink.DownlinkFactory
-
downlinkMap
public swim.api.downlink.MapDownlink<swim.structure.Value,swim.structure.Value> downlinkMap()
- Specified by:
downlinkMapin interfaceswim.api.downlink.DownlinkFactory
-
downlinkValue
public swim.api.downlink.ValueDownlink<swim.structure.Value> downlinkValue()
- Specified by:
downlinkValuein interfaceswim.api.downlink.DownlinkFactory
-
downlinkHttp
public <V> swim.api.http.HttpDownlink<V> downlinkHttp()
- Specified by:
downlinkHttpin interfaceswim.api.downlink.DownlinkFactory
-
downlinkWs
public <I,O> swim.api.ws.WsDownlink<I,O> downlinkWs()
- Specified by:
downlinkWsin interfaceswim.api.downlink.DownlinkFactory
-
command
public void command(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)- Specified by:
commandin interfaceswim.api.ref.HostRef
-
command
public void command(String nodeUri, String laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)
- Specified by:
commandin interfaceswim.api.ref.HostRef
-
command
public void command(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)- Specified by:
commandin interfaceswim.api.ref.HostRef
-
command
public void command(String nodeUri, String laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)
- Specified by:
commandin interfaceswim.api.ref.HostRef
-
command
public void command(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body)- Specified by:
commandin interfaceswim.api.ref.HostRef
-
command
public void command(String nodeUri, String laneUri, float prio, swim.structure.Value body)
- Specified by:
commandin interfaceswim.api.ref.HostRef
-
command
public void command(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body)- Specified by:
commandin interfaceswim.api.ref.HostRef
-
-