java.lang.Object
swim.system.NodeProxy
- All Implemented Interfaces:
CellBinding
,CellContext
,NodeBinding
,NodeContext
,TierBinding
,TierContext
,Log
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentIds()
agents()
bindDownlink
(Downlink downlink) <T> T
bottomNode
(Class<T> nodeClass) void
close()
void
closeDownlink
(LinkBinding link) <A extends Agent>
AgentFactory<A>createAgentFactory
(NodeBinding node, Class<? extends A> agentClass) AgentFactory<?>
createAgentFactory
(NodeBinding node, AgentDef agentDef) long
createLane
(LaneAddress laneAddress) createLane
(NodeBinding node, LaneDef laneDef) void
Logs a debug-level message.void
didClose()
void
void
didLoad()
void
didOpen()
void
didStart()
void
didStop()
void
edgeName()
void
Logs an error-level message.void
Logs an fail-level message.final HostBinding
host()
hostUri()
identity()
void
Logs an info-level message.injectLane
(LaneAddress laneAddress, LaneBinding lane) boolean
isClosed()
boolean
isLoaded()
boolean
isOpened()
boolean
lanes()
void
load()
meshUri()
final NodeBinding
final NodeContext
nodeUri()
final NodeBinding
void
open()
void
openAgents
(NodeBinding node) void
openDownlink
(LinkBinding link) openLane
(Uri laneUri, LaneBinding lane) void
openLanes
(NodeBinding node) void
openMetaDownlink
(LinkBinding downlink, NodeBinding metaDownlink) void
openMetaLane
(LaneBinding lane, NodeBinding metaLane) void
openMetaNode
(NodeBinding node, NodeBinding metaNode) void
openMetaUplink
(LinkBinding uplink, NodeBinding metaUplink) void
openUplink
(LinkBinding link) partKey()
policy()
void
void
void
reportDown
(Metric metric) schedule()
void
setNodeContext
(NodeContext nodeContext) stage()
void
start()
void
stop()
store()
final TierContext
void
Logs a trace-level message.void
unload()
<T> T
unwrapNode
(Class<T> nodeClass) void
Logs a warn-level message.void
void
willLoad()
void
willOpen()
void
void
willStop()
void
-
Field Details
-
nodeBinding
-
nodeContext
-
-
Constructor Details
-
NodeProxy
-
-
Method Details
-
tierContext
- Specified by:
tierContext
in interfaceTierBinding
-
host
- Specified by:
host
in interfaceNodeBinding
- Specified by:
host
in interfaceNodeContext
-
nodeWrapper
- Specified by:
nodeWrapper
in interfaceNodeBinding
- Specified by:
nodeWrapper
in interfaceNodeContext
-
nodeBinding
-
nodeContext
- Specified by:
nodeContext
in interfaceNodeBinding
-
setNodeContext
- Specified by:
setNodeContext
in interfaceNodeBinding
-
unwrapNode
- Specified by:
unwrapNode
in interfaceNodeBinding
- Specified by:
unwrapNode
in interfaceNodeContext
-
bottomNode
- Specified by:
bottomNode
in interfaceNodeBinding
- Specified by:
bottomNode
in interfaceNodeContext
-
cellAddress
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfaceNodeBinding
- Specified by:
cellAddress
in interfaceNodeContext
-
edgeName
- Specified by:
edgeName
in interfaceCellContext
- Specified by:
edgeName
in interfaceNodeContext
-
meshUri
- Specified by:
meshUri
in interfaceCellContext
- Specified by:
meshUri
in interfaceNodeBinding
- Specified by:
meshUri
in interfaceNodeContext
-
partKey
- Specified by:
partKey
in interfaceNodeBinding
- Specified by:
partKey
in interfaceNodeContext
-
hostUri
- Specified by:
hostUri
in interfaceNodeBinding
- Specified by:
hostUri
in interfaceNodeContext
-
nodeUri
- Specified by:
nodeUri
in interfaceNodeBinding
- Specified by:
nodeUri
in interfaceNodeContext
-
createdTime
public long createdTime()- Specified by:
createdTime
in interfaceNodeBinding
- Specified by:
createdTime
in interfaceNodeContext
-
identity
- Specified by:
identity
in interfaceNodeContext
-
policy
- Specified by:
policy
in interfaceCellContext
-
schedule
- Specified by:
schedule
in interfaceCellContext
-
stage
- Specified by:
stage
in interfaceCellContext
-
store
- Specified by:
store
in interfaceCellContext
-
openMetaNode
- Specified by:
openMetaNode
in interfaceNodeBinding
- Specified by:
openMetaNode
in interfaceNodeContext
-
lanes
- Specified by:
lanes
in interfaceNodeBinding
-
getLane
- Specified by:
getLane
in interfaceNodeBinding
-
openLane
- Specified by:
openLane
in interfaceNodeBinding
-
openLane
- Specified by:
openLane
in interfaceNodeBinding
-
createLane
- Specified by:
createLane
in interfaceNodeContext
-
injectLane
- Specified by:
injectLane
in interfaceNodeContext
-
openMetaLane
- Specified by:
openMetaLane
in interfaceNodeBinding
- Specified by:
openMetaLane
in interfaceNodeContext
-
openMetaUplink
- Specified by:
openMetaUplink
in interfaceNodeBinding
- Specified by:
openMetaUplink
in interfaceNodeContext
-
openMetaDownlink
- Specified by:
openMetaDownlink
in interfaceCellContext
-
createLane
- Specified by:
createLane
in interfaceNodeContext
-
openLanes
- Specified by:
openLanes
in interfaceNodeBinding
- Specified by:
openLanes
in interfaceNodeContext
-
agentIds
- Specified by:
agentIds
in interfaceNodeBinding
-
agents
- Specified by:
agents
in interfaceNodeBinding
-
createAgentFactory
- Specified by:
createAgentFactory
in interfaceNodeBinding
- Specified by:
createAgentFactory
in interfaceNodeContext
-
createAgentFactory
public <A extends Agent> AgentFactory<A> createAgentFactory(NodeBinding node, Class<? extends A> agentClass) - Specified by:
createAgentFactory
in interfaceNodeBinding
- Specified by:
createAgentFactory
in interfaceNodeContext
-
openAgents
- Specified by:
openAgents
in interfaceNodeBinding
- Specified by:
openAgents
in interfaceNodeContext
-
bindDownlink
- Specified by:
bindDownlink
in interfaceCellContext
-
openDownlink
- Specified by:
openDownlink
in interfaceCellContext
-
closeDownlink
- Specified by:
closeDownlink
in interfaceCellContext
-
pushDown
- Specified by:
pushDown
in interfaceCellContext
-
reportDown
- Specified by:
reportDown
in interfaceCellContext
-
openUplink
- Specified by:
openUplink
in interfaceCellBinding
-
pushUp
- Specified by:
pushUp
in interfaceCellBinding
-
trace
Description copied from interface:Log
Logs a trace-level message. -
debug
Description copied from interface:Log
Logs a debug-level message. -
info
Description copied from interface:Log
Logs an info-level message. -
warn
Description copied from interface:Log
Logs a warn-level message. -
error
Description copied from interface:Log
Logs an error-level message. -
fail
Description copied from interface:Log
Logs an fail-level message. -
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceTierBinding
-
isOpened
public boolean isOpened()- Specified by:
isOpened
in interfaceTierBinding
-
isLoaded
public boolean isLoaded()- Specified by:
isLoaded
in interfaceTierBinding
-
isStarted
public boolean isStarted()- Specified by:
isStarted
in interfaceTierBinding
-
open
public void open()- Specified by:
open
in interfaceTierBinding
-
load
public void load()- Specified by:
load
in interfaceTierBinding
-
start
public void start()- Specified by:
start
in interfaceTierBinding
-
stop
public void stop()- Specified by:
stop
in interfaceTierBinding
-
unload
public void unload()- Specified by:
unload
in interfaceTierBinding
-
close
public void close()- Specified by:
close
in interfaceTierBinding
- Specified by:
close
in interfaceTierContext
-
willOpen
public void willOpen()- Specified by:
willOpen
in interfaceTierContext
-
didOpen
public void didOpen()- Specified by:
didOpen
in interfaceTierContext
-
willLoad
public void willLoad()- Specified by:
willLoad
in interfaceTierContext
-
didLoad
public void didLoad()- Specified by:
didLoad
in interfaceTierContext
-
willStart
public void willStart()- Specified by:
willStart
in interfaceTierContext
-
didStart
public void didStart()- Specified by:
didStart
in interfaceTierContext
-
willStop
public void willStop()- Specified by:
willStop
in interfaceTierContext
-
didStop
public void didStop()- Specified by:
didStop
in interfaceTierContext
-
willUnload
public void willUnload()- Specified by:
willUnload
in interfaceTierContext
-
didUnload
public void didUnload()- Specified by:
didUnload
in interfaceTierContext
-
willClose
public void willClose()- Specified by:
willClose
in interfaceTierContext
-
didClose
public void didClose()- Specified by:
didClose
in interfaceTierBinding
-
didFail
- Specified by:
didFail
in interfaceTierBinding
-