java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.LaneView
swim.system.warp.WarpLaneView
swim.system.lane.CommandLaneView<V>
- All Implemented Interfaces:
DownlinkFactory
,Lane
,CommandLane<V>
,WarpRef
,WarpLane
,Observable<Object>
,CellContext
,TierBinding
,Log
-
Field Summary
FieldsFields inherited from class swim.system.AbstractTierBinding
CLOSED_PHASE, CLOSED_STATE, CLOSING_STATE, FAILED_STATE, FAILING_STATE, LOADED_PHASE, LOADED_STATE, LOADING_STATE, OPENED_PHASE, OPENED_STATE, OPENING_STATE, PHASE_MASK, PHASE_SHIFT, RECOVERING_STATE, STARTED_PHASE, STARTED_STATE, STARTING_STATE, STATE_MASK, status, STATUS, STOPPING_STATE, UNLOADING_STATE
-
Constructor Summary
ConstructorsConstructorDescriptionCommandLaneView
(AgentContext agentContext, Form<V> valueForm) CommandLaneView
(AgentContext agentContext, Form<V> valueForm, Object observers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
didCommand
(DidCommand didCommand) boolean
dispatchOnCommand
(Link link, V value, boolean preemptive) void
laneOnCommand
(V value) void
setValueForm
(Form<V> valueForm) protected Object
typesafeObservers
(Object observers) <V2> CommandLaneView<V2>
valueClass
(Class<V2> valueClass) <V2> CommandLaneView<V2>
willCommand
(WillCommand willCommand) willUplink
(WillUplink willUplink) Methods inherited from class swim.system.warp.WarpLaneView
dispatchDidCommand, dispatchDidEnter, dispatchDidLeave, dispatchDidUplink, dispatchWillCommand, dispatchWillEnter, dispatchWillLeave, dispatchWillUplink, laneDidCommand, laneDidEnter, laneDidLeave, laneDidUplink, laneWillCommand, laneWillEnter, laneWillLeave, laneWillUplink
Methods inherited from class swim.system.LaneView
bindDownlink, bottomLane, cellAddress, closeDownlink, debug, edgeName, error, fail, hostUri, info, laneContext, laneDidFail, laneUri, meshUri, nodeUri, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store, tierContext, trace, unwrapLane, warn
Methods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, didClose, didFail, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload, willClose, willLoad, willOpen, willStart, willStop, willUnload
Methods inherited from class swim.system.AbstractWarpRef
command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
Field Details
-
agentContext
-
valueForm
-
laneBinding
-
-
Constructor Details
-
CommandLaneView
-
CommandLaneView
-
-
Method Details
-
agentContext
- Specified by:
agentContext
in classLaneView
-
laneBinding
- Specified by:
laneBinding
in classLaneView
-
createLaneBinding
- Specified by:
createLaneBinding
in classLaneView
-
valueForm
- Specified by:
valueForm
in interfaceCommandLane<V>
-
valueForm
- Specified by:
valueForm
in interfaceCommandLane<V>
-
valueClass
- Specified by:
valueClass
in interfaceCommandLane<V>
-
setValueForm
-
typesafeObservers
-
close
public void close() -
observe
- Specified by:
observe
in interfaceCommandLane<V>
- Specified by:
observe
in interfaceLane
- Specified by:
observe
in interfaceObservable<V>
- Specified by:
observe
in interfaceWarpLane
- Overrides:
observe
in classWarpLaneView
-
unobserve
- Specified by:
unobserve
in interfaceCommandLane<V>
- Specified by:
unobserve
in interfaceLane
- Specified by:
unobserve
in interfaceObservable<V>
- Specified by:
unobserve
in interfaceWarpLane
- Overrides:
unobserve
in classWarpLaneView
-
onCommand
- Specified by:
onCommand
in interfaceCommandLane<V>
-
willCommand
- Specified by:
willCommand
in interfaceCommandLane<V>
- Specified by:
willCommand
in interfaceWarpLane
- Specified by:
willCommand
in classWarpLaneView
-
didCommand
- Specified by:
didCommand
in interfaceCommandLane<V>
- Specified by:
didCommand
in interfaceWarpLane
- Specified by:
didCommand
in classWarpLaneView
-
willUplink
- Specified by:
willUplink
in interfaceCommandLane<V>
- Specified by:
willUplink
in interfaceWarpLane
- Specified by:
willUplink
in classWarpLaneView
-
didUplink
- Specified by:
didUplink
in interfaceCommandLane<V>
- Specified by:
didUplink
in interfaceWarpLane
- Specified by:
didUplink
in classWarpLaneView
-
willEnter
- Specified by:
willEnter
in interfaceCommandLane<V>
- Specified by:
willEnter
in interfaceWarpLane
- Specified by:
willEnter
in classWarpLaneView
-
didEnter
- Specified by:
didEnter
in interfaceCommandLane<V>
- Specified by:
didEnter
in interfaceWarpLane
- Specified by:
didEnter
in classWarpLaneView
-
willLeave
- Specified by:
willLeave
in interfaceCommandLane<V>
- Specified by:
willLeave
in interfaceWarpLane
- Specified by:
willLeave
in classWarpLaneView
-
didLeave
- Specified by:
didLeave
in interfaceCommandLane<V>
- Specified by:
didLeave
in interfaceWarpLane
- Specified by:
didLeave
in classWarpLaneView
-
laneOnCommand
-
dispatchOnCommand
-