-
- 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> T
bottomNode(Class<T> nodeClass)
NodeAddress
cellAddress()
<A extends Agent>
AgentFactory<A>createAgentFactory(NodeBinding node, Class<? extends A> agentClass)
AgentFactory<?>
createAgentFactory(NodeBinding node, AgentDef agentDef)
long
createdTime()
LaneBinding
createLane(LaneAddress laneAddress)
LaneBinding
createLane(NodeBinding node, LaneDef laneDef)
String
edgeName()
HostBinding
host()
Uri
hostUri()
Identity
identity()
LaneBinding
injectLane(LaneAddress laneAddress, LaneBinding lane)
Uri
meshUri()
Uri
nodeUri()
NodeBinding
nodeWrapper()
void
openAgents(NodeBinding node)
void
openLanes(NodeBinding node)
void
openMetaLane(LaneBinding lane, NodeBinding metaLane)
void
openMetaNode(NodeBinding node, NodeBinding metaNode)
void
openMetaUplink(LinkBinding uplink, NodeBinding metaUplink)
Value
partKey()
<T> T
unwrapNode(Class<T> nodeClass)
-
Methods inherited from interface swim.system.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:
cellAddress
in interfaceCellContext
-
edgeName
String edgeName()
- Specified by:
edgeName
in interfaceCellContext
-
meshUri
Uri meshUri()
- Specified by:
meshUri
in 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)
-
-