-
- All Superinterfaces:
CellContext,swim.util.Log,TierContext
- All Known Implementing Classes:
HostProxy,PartTableHost
public interface HostContext extends TierContext, CellContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description swim.api.policy.PolicyDirective<swim.api.auth.Identity>authenticate(swim.api.auth.Credentials credentials)<T> TbottomHost(Class<T> hostClass)HostAddresscellAddress()<A extends swim.api.agent.Agent>
swim.api.agent.AgentFactory<A>createAgentFactory(NodeBinding node, Class<? extends A> agentClass)swim.api.agent.AgentFactory<?>createAgentFactory(NodeBinding node, swim.api.agent.AgentDef agentDef)LaneBindingcreateLane(LaneAddress laneAddress)LaneBindingcreateLane(NodeBinding node, LaneDef laneDef)NodeBindingcreateNode(NodeAddress nodeAddress)voiddidConnect()voiddidDisconnect()StringedgeName()swim.uri.UrihostUri()HostBindinghostWrapper()LaneBindinginjectLane(LaneAddress laneAddress, LaneBinding lane)NodeBindinginjectNode(NodeAddress nodeAddress, NodeBinding node)swim.uri.UrimeshUri()voidopenAgents(NodeBinding node)voidopenLanes(NodeBinding node)voidopenMetaHost(HostBinding host, NodeBinding metaHost)voidopenMetaLane(LaneBinding lane, NodeBinding metaLane)voidopenMetaNode(NodeBinding node, NodeBinding metaNode)voidopenMetaUplink(LinkBinding uplink, NodeBinding metaUplink)PartBindingpart()swim.structure.ValuepartKey()<T> TunwrapHost(Class<T> hostClass)-
Methods inherited from interface swim.runtime.CellContext
bindDownlink, closeDownlink, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store
-
-
-
-
Method Detail
-
part
PartBinding part()
-
hostWrapper
HostBinding hostWrapper()
-
unwrapHost
<T> T unwrapHost(Class<T> hostClass)
-
bottomHost
<T> T bottomHost(Class<T> hostClass)
-
cellAddress
HostAddress cellAddress()
- Specified by:
cellAddressin interfaceCellContext
-
edgeName
String edgeName()
- Specified by:
edgeNamein interfaceCellContext
-
meshUri
swim.uri.Uri meshUri()
- Specified by:
meshUriin interfaceCellContext
-
partKey
swim.structure.Value partKey()
-
hostUri
swim.uri.Uri hostUri()
-
openMetaHost
void openMetaHost(HostBinding host, NodeBinding metaHost)
-
createNode
NodeBinding createNode(NodeAddress nodeAddress)
-
injectNode
NodeBinding injectNode(NodeAddress nodeAddress, NodeBinding node)
-
openMetaNode
void openMetaNode(NodeBinding node, NodeBinding metaNode)
-
createLane
LaneBinding createLane(LaneAddress laneAddress)
-
injectLane
LaneBinding injectLane(LaneAddress laneAddress, LaneBinding lane)
-
openMetaLane
void openMetaLane(LaneBinding lane, NodeBinding metaLane)
-
openMetaUplink
void openMetaUplink(LinkBinding uplink, NodeBinding metaUplink)
-
createLane
LaneBinding createLane(NodeBinding node, LaneDef laneDef)
-
openLanes
void openLanes(NodeBinding node)
-
createAgentFactory
swim.api.agent.AgentFactory<?> createAgentFactory(NodeBinding node, swim.api.agent.AgentDef agentDef)
-
createAgentFactory
<A extends swim.api.agent.Agent> swim.api.agent.AgentFactory<A> createAgentFactory(NodeBinding node, Class<? extends A> agentClass)
-
openAgents
void openAgents(NodeBinding node)
-
authenticate
swim.api.policy.PolicyDirective<swim.api.auth.Identity> authenticate(swim.api.auth.Credentials credentials)
-
didConnect
void didConnect()
-
didDisconnect
void didDisconnect()
-
-