- java.lang.Object
-
- swim.runtime.AbstractWarpRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneView
-
- swim.runtime.warp.WarpLaneView
-
- swim.runtime.lane.CommandLaneView<V>
-
- All Implemented Interfaces:
DownlinkFactory,Lane,CommandLane<V>,WarpRef,WarpLane,Observable<Object>,CellContext,TierBinding,Log
public class CommandLaneView<V> extends WarpLaneView implements CommandLane<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected AgentContextagentContextprotected CommandLaneModellaneBindingprotected Form<V>valueForm-
Fields inherited from class swim.runtime.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
Constructors Constructor Description CommandLaneView(AgentContext agentContext, Form<V> valueForm)CommandLaneView(AgentContext agentContext, Form<V> valueForm, Object observers)
-
Method Summary
-
Methods inherited from class swim.runtime.warp.WarpLaneView
dispatchDidCommand, dispatchDidEnter, dispatchDidLeave, dispatchDidUplink, dispatchWillCommand, dispatchWillEnter, dispatchWillLeave, dispatchWillUplink, laneDidCommand, laneDidEnter, laneDidLeave, laneDidUplink, laneWillCommand, laneWillEnter, laneWillLeave, laneWillUplink
-
Methods inherited from class swim.runtime.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.runtime.AbstractTierBinding
activate, 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.runtime.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 Detail
-
agentContext
protected final AgentContext agentContext
-
laneBinding
protected CommandLaneModel laneBinding
-
-
Constructor Detail
-
CommandLaneView
public CommandLaneView(AgentContext agentContext, Form<V> valueForm, Object observers)
-
CommandLaneView
public CommandLaneView(AgentContext agentContext, Form<V> valueForm)
-
-
Method Detail
-
agentContext
public AgentContext agentContext()
- Specified by:
agentContextin classLaneView
-
laneBinding
public CommandLaneModel laneBinding()
- Specified by:
laneBindingin classLaneView
-
createLaneBinding
public CommandLaneModel createLaneBinding()
- Specified by:
createLaneBindingin classLaneView
-
valueForm
public final Form<V> valueForm()
- Specified by:
valueFormin interfaceCommandLane<V>
-
valueForm
public <V2> CommandLaneView<V2> valueForm(Form<V2> valueForm)
- Specified by:
valueFormin interfaceCommandLane<V>
-
valueClass
public <V2> CommandLaneView<V2> valueClass(Class<V2> valueClass)
- Specified by:
valueClassin interfaceCommandLane<V>
-
close
public void close()
-
observe
public CommandLaneView<V> observe(Object observer)
- Specified by:
observein interfaceCommandLane<V>- Specified by:
observein interfaceLane- Specified by:
observein interfaceObservable<V>- Specified by:
observein interfaceWarpLane- Overrides:
observein classWarpLaneView
-
unobserve
public CommandLaneView<V> unobserve(Object observer)
- Specified by:
unobservein interfaceCommandLane<V>- Specified by:
unobservein interfaceLane- Specified by:
unobservein interfaceObservable<V>- Specified by:
unobservein interfaceWarpLane- Overrides:
unobservein classWarpLaneView
-
onCommand
public CommandLaneView<V> onCommand(OnCommand<V> onCommand)
- Specified by:
onCommandin interfaceCommandLane<V>
-
willCommand
public CommandLaneView<V> willCommand(WillCommand willCommand)
- Specified by:
willCommandin interfaceCommandLane<V>- Specified by:
willCommandin interfaceWarpLane- Specified by:
willCommandin classWarpLaneView
-
didCommand
public CommandLaneView<V> didCommand(DidCommand didCommand)
- Specified by:
didCommandin interfaceCommandLane<V>- Specified by:
didCommandin interfaceWarpLane- Specified by:
didCommandin classWarpLaneView
-
willUplink
public CommandLaneView<V> willUplink(WillUplink willUplink)
- Specified by:
willUplinkin interfaceCommandLane<V>- Specified by:
willUplinkin interfaceWarpLane- Specified by:
willUplinkin classWarpLaneView
-
didUplink
public CommandLaneView<V> didUplink(DidUplink didUplink)
- Specified by:
didUplinkin interfaceCommandLane<V>- Specified by:
didUplinkin interfaceWarpLane- Specified by:
didUplinkin classWarpLaneView
-
willEnter
public CommandLaneView<V> willEnter(WillEnter willEnter)
- Specified by:
willEnterin interfaceCommandLane<V>- Specified by:
willEnterin interfaceWarpLane- Specified by:
willEnterin classWarpLaneView
-
didEnter
public CommandLaneView<V> didEnter(DidEnter didEnter)
- Specified by:
didEnterin interfaceCommandLane<V>- Specified by:
didEnterin interfaceWarpLane- Specified by:
didEnterin classWarpLaneView
-
willLeave
public CommandLaneView<V> willLeave(WillLeave willLeave)
- Specified by:
willLeavein interfaceCommandLane<V>- Specified by:
willLeavein interfaceWarpLane- Specified by:
willLeavein classWarpLaneView
-
didLeave
public CommandLaneView<V> didLeave(DidLeave didLeave)
- Specified by:
didLeavein interfaceCommandLane<V>- Specified by:
didLeavein interfaceWarpLane- Specified by:
didLeavein classWarpLaneView
-
laneOnCommand
public void laneOnCommand(V value)
-
-