- java.lang.Object
-
- swim.system.LaneProxy
-
- All Implemented Interfaces:
CellBinding
,CellContext
,LaneBinding
,LaneContext
,TierBinding
,TierContext
,Log
public class LaneProxy extends Object implements LaneBinding, LaneContext
-
-
Field Summary
Fields Modifier and Type Field Description protected LaneBinding
laneBinding
protected LaneContext
laneContext
-
Constructor Summary
Constructors Constructor Description LaneProxy(LaneBinding laneBinding)
-
Method Summary
-
-
-
Field Detail
-
laneBinding
protected final LaneBinding laneBinding
-
laneContext
protected LaneContext laneContext
-
-
Constructor Detail
-
LaneProxy
public LaneProxy(LaneBinding laneBinding)
-
-
Method Detail
-
tierContext
public final TierContext tierContext()
- Specified by:
tierContext
in interfaceTierBinding
-
node
public final NodeBinding node()
- Specified by:
node
in interfaceLaneBinding
- Specified by:
node
in interfaceLaneContext
-
laneWrapper
public final LaneBinding laneWrapper()
- Specified by:
laneWrapper
in interfaceLaneBinding
- Specified by:
laneWrapper
in interfaceLaneContext
-
laneBinding
public final LaneBinding laneBinding()
-
laneContext
public final LaneContext laneContext()
- Specified by:
laneContext
in interfaceLaneBinding
-
setLaneContext
public void setLaneContext(LaneContext laneContext)
- Specified by:
setLaneContext
in interfaceLaneBinding
-
unwrapLane
public <T> T unwrapLane(Class<T> laneClass)
- Specified by:
unwrapLane
in interfaceLaneBinding
- Specified by:
unwrapLane
in interfaceLaneContext
-
bottomLane
public <T> T bottomLane(Class<T> laneClass)
- Specified by:
bottomLane
in interfaceLaneBinding
- Specified by:
bottomLane
in interfaceLaneContext
-
cellAddress
public LaneAddress cellAddress()
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfaceLaneBinding
- Specified by:
cellAddress
in interfaceLaneContext
-
edgeName
public String edgeName()
- Specified by:
edgeName
in interfaceCellContext
- Specified by:
edgeName
in interfaceLaneContext
-
meshUri
public Uri meshUri()
- Specified by:
meshUri
in interfaceCellContext
- Specified by:
meshUri
in interfaceLaneBinding
- Specified by:
meshUri
in interfaceLaneContext
-
partKey
public Value partKey()
- Specified by:
partKey
in interfaceLaneBinding
- Specified by:
partKey
in interfaceLaneContext
-
hostUri
public Uri hostUri()
- Specified by:
hostUri
in interfaceLaneBinding
- Specified by:
hostUri
in interfaceLaneContext
-
nodeUri
public Uri nodeUri()
- Specified by:
nodeUri
in interfaceLaneBinding
- Specified by:
nodeUri
in interfaceLaneContext
-
laneUri
public Uri laneUri()
- Specified by:
laneUri
in interfaceLaneBinding
- Specified by:
laneUri
in interfaceLaneContext
-
laneType
public String laneType()
- Specified by:
laneType
in interfaceLaneBinding
-
identity
public Identity identity()
- Specified by:
identity
in interfaceLaneContext
-
policy
public Policy policy()
- Specified by:
policy
in interfaceCellContext
-
schedule
public Schedule schedule()
- Specified by:
schedule
in interfaceCellContext
- Specified by:
schedule
in interfaceLaneBinding
-
stage
public Stage stage()
- Specified by:
stage
in interfaceCellContext
- Specified by:
stage
in interfaceLaneBinding
-
store
public StoreBinding store()
- Specified by:
store
in interfaceCellContext
- Specified by:
store
in interfaceLaneBinding
-
getLaneView
public Lane getLaneView(AgentContext agentContext)
- Specified by:
getLaneView
in interfaceLaneBinding
-
openLaneView
public void openLaneView(Lane lane)
- Specified by:
openLaneView
in interfaceLaneBinding
-
closeLaneView
public void closeLaneView(Lane lane)
- Specified by:
closeLaneView
in interfaceLaneBinding
-
isLinked
public boolean isLinked()
- Specified by:
isLinked
in interfaceLaneBinding
-
uplinks
public FingerTrieSeq<LinkContext> uplinks()
- Specified by:
uplinks
in interfaceLaneBinding
-
getUplink
public LinkContext getUplink(Value linkKey)
- Specified by:
getUplink
in interfaceLaneBinding
-
closeUplink
public void closeUplink(Value linkKey)
- Specified by:
closeUplink
in interfaceLaneBinding
-
openMetaLane
public void openMetaLane(LaneBinding lane, NodeBinding metaLane)
- Specified by:
openMetaLane
in interfaceLaneBinding
- Specified by:
openMetaLane
in interfaceLaneContext
-
openMetaUplink
public void openMetaUplink(LinkBinding uplink, NodeBinding metaUplink)
- Specified by:
openMetaUplink
in interfaceLaneBinding
- Specified by:
openMetaUplink
in interfaceLaneContext
-
openMetaDownlink
public void openMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)
- Specified by:
openMetaDownlink
in interfaceCellContext
- Specified by:
openMetaDownlink
in interfaceLaneBinding
-
pushUpCommand
public void pushUpCommand(Push<CommandMessage> push)
- Specified by:
pushUpCommand
in interfaceLaneBinding
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
-
closeDownlink
public void closeDownlink(LinkBinding link)
- Specified by:
closeDownlink
in interfaceCellContext
-
pushDown
public void pushDown(Push<?> push)
- Specified by:
pushDown
in interfaceCellContext
-
reportDown
public void reportDown(Metric metric)
- Specified by:
reportDown
in interfaceCellContext
- Specified by:
reportDown
in interfaceLaneBinding
-
openUplink
public void openUplink(LinkBinding link)
- Specified by:
openUplink
in interfaceCellBinding
-
pushUp
public void pushUp(Push<?> push)
- Specified by:
pushUp
in interfaceCellBinding
-
trace
public void trace(Object message)
Description copied from interface:Log
Logs a trace-level message.
-
debug
public void debug(Object message)
Description copied from interface:Log
Logs a debug-level message.
-
info
public void info(Object message)
Description copied from interface:Log
Logs an info-level message.
-
warn
public void warn(Object message)
Description copied from interface:Log
Logs a warn-level message.
-
error
public void error(Object message)
Description copied from interface:Log
Logs an error-level message.
-
fail
public void fail(Object message)
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
public void didFail(Throwable error)
- Specified by:
didFail
in interfaceTierBinding
-
-