-
- All Superinterfaces:
CellContext,Log,TierContext
- All Known Implementing Classes:
ActorNode,HostTableNode,NodeProxy
public interface NodeContext extends TierContext, CellContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TbottomNode(Class<T> nodeClass)NodeAddresscellAddress()<A extends Agent>
AgentFactory<A>createAgentFactory(NodeBinding node, Class<? extends A> agentClass)AgentFactory<?>createAgentFactory(NodeBinding node, AgentDef agentDef)longcreatedTime()LaneBindingcreateLane(LaneAddress laneAddress)LaneBindingcreateLane(NodeBinding node, LaneDef laneDef)StringedgeName()HostBindinghost()UrihostUri()Identityidentity()LaneBindinginjectLane(LaneAddress laneAddress, LaneBinding lane)UrimeshUri()UrinodeUri()NodeBindingnodeWrapper()voidopenAgents(NodeBinding node)voidopenLanes(NodeBinding node)voidopenMetaLane(LaneBinding lane, NodeBinding metaLane)voidopenMetaNode(NodeBinding node, NodeBinding metaNode)voidopenMetaUplink(LinkBinding uplink, NodeBinding metaUplink)ValuepartKey()<T> TunwrapNode(Class<T> nodeClass)-
Methods inherited from interface swim.runtime.CellContext
bindDownlink, closeDownlink, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store
-
-
-
-
Method Detail
-
host
HostBinding host()
-
nodeWrapper
NodeBinding nodeWrapper()
-
unwrapNode
<T> T unwrapNode(Class<T> nodeClass)
-
bottomNode
<T> T bottomNode(Class<T> nodeClass)
-
cellAddress
NodeAddress cellAddress()
- Specified by:
cellAddressin interfaceCellContext
-
edgeName
String edgeName()
- Specified by:
edgeNamein interfaceCellContext
-
meshUri
Uri meshUri()
- Specified by:
meshUriin interfaceCellContext
-
partKey
Value partKey()
-
hostUri
Uri hostUri()
-
nodeUri
Uri nodeUri()
-
createdTime
long createdTime()
-
identity
Identity identity()
-
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
AgentFactory<?> createAgentFactory(NodeBinding node, AgentDef agentDef)
-
createAgentFactory
<A extends Agent> AgentFactory<A> createAgentFactory(NodeBinding node, Class<? extends A> agentClass)
-
openAgents
void openAgents(NodeBinding node)
-
-