-
- All Superinterfaces:
CellContext,swim.util.Log,TierContext
- All Known Implementing Classes:
MeshTablePart,PartProxy
public interface PartContext 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> TbottomPart(Class<T> partClass)PartAddresscellAddress()<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)HostBindingcreateHost(HostAddress hostAddress)LaneBindingcreateLane(LaneAddress laneAddress)LaneBindingcreateLane(NodeBinding node, LaneDef laneDef)NodeBindingcreateNode(NodeAddress nodeAddress)StringedgeName()voidhostDidConnect(swim.uri.Uri hostUri)voidhostDidDisconnect(swim.uri.Uri hostUri)HostBindinginjectHost(HostAddress hostAddress, HostBinding host)LaneBindinginjectLane(LaneAddress laneAddress, LaneBinding lane)NodeBindinginjectNode(NodeAddress nodeAddress, NodeBinding node)MeshBindingmesh()swim.uri.UrimeshUri()voidopenAgents(NodeBinding node)voidopenLanes(NodeBinding node)voidopenMetaHost(HostBinding host, NodeBinding metaHost)voidopenMetaLane(LaneBinding lane, NodeBinding metaLane)voidopenMetaNode(NodeBinding node, NodeBinding metaNode)voidopenMetaPart(PartBinding part, NodeBinding metaPart)voidopenMetaUplink(LinkBinding uplink, NodeBinding metaUplink)swim.structure.ValuepartKey()PartBindingpartWrapper()<T> TunwrapPart(Class<T> partClass)-
Methods inherited from interface swim.runtime.CellContext
bindDownlink, closeDownlink, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store
-
-
-
-
Method Detail
-
mesh
MeshBinding mesh()
-
partWrapper
PartBinding partWrapper()
-
unwrapPart
<T> T unwrapPart(Class<T> partClass)
-
bottomPart
<T> T bottomPart(Class<T> partClass)
-
cellAddress
PartAddress 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()
-
openMetaPart
void openMetaPart(PartBinding part, NodeBinding metaPart)
-
createHost
HostBinding createHost(HostAddress hostAddress)
-
injectHost
HostBinding injectHost(HostAddress hostAddress, HostBinding host)
-
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)
-
hostDidConnect
void hostDidConnect(swim.uri.Uri hostUri)
-
hostDidDisconnect
void hostDidDisconnect(swim.uri.Uri hostUri)
-
-