- java.lang.Object
-
- swim.runtime.router.PartTableHost
-
- All Implemented Interfaces:
CellContext,HostContext,TierContext,swim.util.Log
public class PartTableHost extends Object implements HostContext
-
-
Field Summary
Fields Modifier and Type Field Description protected HostBindinghostprotected swim.uri.UrihostUriprotected PartTablepart
-
Constructor Summary
Constructors Constructor Description PartTableHost(PartTable part, HostBinding host, swim.uri.Uri hostUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description swim.api.policy.PolicyDirective<swim.api.auth.Identity>authenticate(swim.api.auth.Credentials credentials)LinkBindingbindDownlink(swim.api.downlink.Downlink downlink)voidclose()voidcloseDownlink(LinkBinding link)NodeBindingcreateNode(swim.uri.Uri nodeUri)voiddebug(Object message)voiddidConnect()voiddidDisconnect()voiddidLoad()voiddidOpen()voiddidStart()voiddidStop()voiddidUnload()voiderror(Object message)swim.uri.UrihostUri()voidhttpDownlink(HttpBinding http)voidinfo(Object message)LaneBindinginjectLane(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, LaneBinding lane)NodeBindinginjectNode(swim.uri.Uri nodeUri, NodeBinding node)swim.uri.UrimeshUri()voidopenDownlink(LinkBinding link)swim.structure.ValuepartKey()swim.api.policy.Policypolicy()voidpushDown(PushRequest pushRequest)swim.concurrent.Scheduleschedule()swim.concurrent.Stagestage()swim.store.StoreBindingstore()voidtrace(Object message)voidwarn(Object message)voidwillClose()voidwillLoad()voidwillOpen()voidwillStart()voidwillStop()voidwillUnload()
-
-
-
Field Detail
-
part
protected final PartTable part
-
host
protected final HostBinding host
-
hostUri
protected final swim.uri.Uri hostUri
-
-
Constructor Detail
-
PartTableHost
public PartTableHost(PartTable part, HostBinding host, swim.uri.Uri hostUri)
-
-
Method Detail
-
meshUri
public final swim.uri.Uri meshUri()
- Specified by:
meshUriin interfaceCellContext- Specified by:
meshUriin interfaceHostContext
-
partKey
public final swim.structure.Value partKey()
- Specified by:
partKeyin interfaceHostContext
-
hostUri
public final swim.uri.Uri hostUri()
- Specified by:
hostUriin interfaceHostContext
-
policy
public swim.api.policy.Policy policy()
- Specified by:
policyin interfaceCellContext
-
schedule
public swim.concurrent.Schedule schedule()
- Specified by:
schedulein interfaceCellContext
-
stage
public swim.concurrent.Stage stage()
- Specified by:
stagein interfaceCellContext
-
store
public swim.store.StoreBinding store()
- Specified by:
storein interfaceCellContext
-
createNode
public NodeBinding createNode(swim.uri.Uri nodeUri)
- Specified by:
createNodein interfaceHostContext
-
injectNode
public NodeBinding injectNode(swim.uri.Uri nodeUri, NodeBinding node)
- Specified by:
injectNodein interfaceHostContext
-
injectLane
public LaneBinding injectLane(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, LaneBinding lane)
- Specified by:
injectLanein interfaceHostContext
-
authenticate
public swim.api.policy.PolicyDirective<swim.api.auth.Identity> authenticate(swim.api.auth.Credentials credentials)
- Specified by:
authenticatein interfaceHostContext
-
bindDownlink
public LinkBinding bindDownlink(swim.api.downlink.Downlink downlink)
- Specified by:
bindDownlinkin interfaceCellContext
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlinkin interfaceCellContext
-
closeDownlink
public void closeDownlink(LinkBinding link)
- Specified by:
closeDownlinkin interfaceCellContext
-
httpDownlink
public void httpDownlink(HttpBinding http)
- Specified by:
httpDownlinkin interfaceCellContext
-
pushDown
public void pushDown(PushRequest pushRequest)
- Specified by:
pushDownin interfaceCellContext
-
trace
public void trace(Object message)
- Specified by:
tracein interfaceswim.util.Log
-
debug
public void debug(Object message)
- Specified by:
debugin interfaceswim.util.Log
-
info
public void info(Object message)
- Specified by:
infoin interfaceswim.util.Log
-
warn
public void warn(Object message)
- Specified by:
warnin interfaceswim.util.Log
-
error
public void error(Object message)
- Specified by:
errorin interfaceswim.util.Log
-
close
public void close()
- Specified by:
closein interfaceTierContext
-
willOpen
public void willOpen()
- Specified by:
willOpenin interfaceTierContext
-
didOpen
public void didOpen()
- Specified by:
didOpenin interfaceTierContext
-
willLoad
public void willLoad()
- Specified by:
willLoadin interfaceTierContext
-
didLoad
public void didLoad()
- Specified by:
didLoadin interfaceTierContext
-
willStart
public void willStart()
- Specified by:
willStartin interfaceTierContext
-
didStart
public void didStart()
- Specified by:
didStartin interfaceTierContext
-
didConnect
public void didConnect()
- Specified by:
didConnectin interfaceHostContext
-
didDisconnect
public void didDisconnect()
- Specified by:
didDisconnectin interfaceHostContext
-
willStop
public void willStop()
- Specified by:
willStopin interfaceTierContext
-
didStop
public void didStop()
- Specified by:
didStopin interfaceTierContext
-
willUnload
public void willUnload()
- Specified by:
willUnloadin interfaceTierContext
-
didUnload
public void didUnload()
- Specified by:
didUnloadin interfaceTierContext
-
willClose
public void willClose()
- Specified by:
willClosein interfaceTierContext
-
-