- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneView
-
- swim.system.warp.WarpLaneView
-
- swim.system.lane.DemandLaneView<V>
-
- All Implemented Interfaces:
DownlinkFactory,Lane,DemandLane<V>,WarpRef,WarpLane,Observable<Object>,CellContext,TierBinding,Log
public class DemandLaneView<V> extends WarpLaneView implements DemandLane<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected AgentContextagentContextprotected DemandLaneModellaneBindingprotected Form<V>valueForm-
Fields 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
Constructors Constructor Description DemandLaneView(AgentContext agentContext, Form<V> valueForm)DemandLaneView(AgentContext agentContext, Form<V> valueForm, Object observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentContextagentContext()voidclose()DemandLaneModelcreateLaneBinding()voidcue()DemandLaneView<V>didCommand(DidCommand didCommand)DemandLaneView<V>didEnter(DidEnter didEnter)DemandLaneView<V>didLeave(DidLeave didLeave)DemandLaneView<V>didUplink(DidUplink didUplink)VdispatchOnCue(WarpUplink uplink)DemandLaneModellaneBinding()DemandLaneView<V>observe(Object observer)DemandLaneView<V>onCue(OnCue<V> onCue)voidsetValueForm(Form<V> valueForm)protected ObjecttypesafeObservers(Object observers)DemandLaneView<V>unobserve(Object observer)<V2> DemandLaneView<V2>valueClass(Class<V2> valueClass)Form<V>valueForm()<V2> DemandLaneView<V2>valueForm(Form<V2> valueForm)DemandLaneView<V>willCommand(WillCommand willCommand)DemandLaneView<V>willEnter(WillEnter willEnter)DemandLaneView<V>willLeave(WillLeave willLeave)DemandLaneView<V>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 Detail
-
agentContext
protected final AgentContext agentContext
-
laneBinding
protected DemandLaneModel laneBinding
-
-
Constructor Detail
-
DemandLaneView
public DemandLaneView(AgentContext agentContext, Form<V> valueForm, Object observers)
-
DemandLaneView
public DemandLaneView(AgentContext agentContext, Form<V> valueForm)
-
-
Method Detail
-
agentContext
public AgentContext agentContext()
- Specified by:
agentContextin classLaneView
-
laneBinding
public DemandLaneModel laneBinding()
- Specified by:
laneBindingin classLaneView
-
createLaneBinding
public DemandLaneModel createLaneBinding()
- Specified by:
createLaneBindingin classLaneView
-
valueForm
public final Form<V> valueForm()
- Specified by:
valueFormin interfaceDemandLane<V>
-
valueForm
public <V2> DemandLaneView<V2> valueForm(Form<V2> valueForm)
- Specified by:
valueFormin interfaceDemandLane<V>
-
valueClass
public <V2> DemandLaneView<V2> valueClass(Class<V2> valueClass)
- Specified by:
valueClassin interfaceDemandLane<V>
-
close
public void close()
-
observe
public DemandLaneView<V> observe(Object observer)
- Specified by:
observein interfaceDemandLane<V>- Specified by:
observein interfaceLane- Specified by:
observein interfaceObservable<V>- Specified by:
observein interfaceWarpLane- Overrides:
observein classWarpLaneView
-
unobserve
public DemandLaneView<V> unobserve(Object observer)
- Specified by:
unobservein interfaceDemandLane<V>- Specified by:
unobservein interfaceLane- Specified by:
unobservein interfaceObservable<V>- Specified by:
unobservein interfaceWarpLane- Overrides:
unobservein classWarpLaneView
-
onCue
public DemandLaneView<V> onCue(OnCue<V> onCue)
- Specified by:
onCuein interfaceDemandLane<V>
-
willCommand
public DemandLaneView<V> willCommand(WillCommand willCommand)
- Specified by:
willCommandin interfaceDemandLane<V>- Specified by:
willCommandin interfaceWarpLane- Specified by:
willCommandin classWarpLaneView
-
didCommand
public DemandLaneView<V> didCommand(DidCommand didCommand)
- Specified by:
didCommandin interfaceDemandLane<V>- Specified by:
didCommandin interfaceWarpLane- Specified by:
didCommandin classWarpLaneView
-
willUplink
public DemandLaneView<V> willUplink(WillUplink willUplink)
- Specified by:
willUplinkin interfaceDemandLane<V>- Specified by:
willUplinkin interfaceWarpLane- Specified by:
willUplinkin classWarpLaneView
-
didUplink
public DemandLaneView<V> didUplink(DidUplink didUplink)
- Specified by:
didUplinkin interfaceDemandLane<V>- Specified by:
didUplinkin interfaceWarpLane- Specified by:
didUplinkin classWarpLaneView
-
willEnter
public DemandLaneView<V> willEnter(WillEnter willEnter)
- Specified by:
willEnterin interfaceDemandLane<V>- Specified by:
willEnterin interfaceWarpLane- Specified by:
willEnterin classWarpLaneView
-
didEnter
public DemandLaneView<V> didEnter(DidEnter didEnter)
- Specified by:
didEnterin interfaceDemandLane<V>- Specified by:
didEnterin interfaceWarpLane- Specified by:
didEnterin classWarpLaneView
-
willLeave
public DemandLaneView<V> willLeave(WillLeave willLeave)
- Specified by:
willLeavein interfaceDemandLane<V>- Specified by:
willLeavein interfaceWarpLane- Specified by:
willLeavein classWarpLaneView
-
didLeave
public DemandLaneView<V> didLeave(DidLeave didLeave)
- Specified by:
didLeavein interfaceDemandLane<V>- Specified by:
didLeavein interfaceWarpLane- Specified by:
didLeavein classWarpLaneView
-
dispatchOnCue
public V dispatchOnCue(WarpUplink uplink)
-
cue
public void cue()
- Specified by:
cuein interfaceDemandLane<V>
-
-