- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneView
-
- swim.runtime.warp.WarpLaneView
-
- swim.runtime.lane.DemandLaneView<V>
-
- All Implemented Interfaces:
swim.api.downlink.DownlinkFactory,swim.api.Lane,swim.api.lane.DemandLane<V>,swim.api.ref.SwimRef,swim.api.warp.WarpLane,swim.observable.Observable<Object>,CellContext,TierBinding,swim.util.Log
public class DemandLaneView<V> extends WarpLaneView implements swim.api.lane.DemandLane<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.api.agent.AgentContextagentContextprotected DemandLaneModellaneBindingprotected swim.api.lane.function.OnCue<V>onCueprotected swim.structure.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 DemandLaneView(swim.api.agent.AgentContext agentContext, swim.structure.Form<V> valueForm)DemandLaneView(swim.api.agent.AgentContext agentContext, swim.structure.Form<V> valueForm, Object observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description swim.api.agent.AgentContextagentContext()voidclose()DemandLaneModelcreateLaneBinding()voidcue()DemandLaneView<V>didCommand(swim.api.warp.function.DidCommand didCommand)DemandLaneView<V>didEnter(swim.api.warp.function.DidEnter didEnter)DemandLaneView<V>didLeave(swim.api.warp.function.DidLeave didLeave)DemandLaneView<V>didUplink(swim.api.warp.function.DidUplink didUplink)VdispatchOnCue(swim.api.warp.WarpUplink uplink)DemandLaneModellaneBinding()DemandLaneView<V>observe(Object observer)DemandLaneView<V>onCue(swim.api.lane.function.OnCue<V> onCue)voidsetValueForm(swim.structure.Form<V> valueForm)protected ObjecttypesafeObservers(Object observers)DemandLaneView<V>unobserve(Object observer)<V2> DemandLaneView<V2>valueClass(Class<V2> valueClass)swim.structure.Form<V>valueForm()<V2> DemandLaneView<V2>valueForm(swim.structure.Form<V2> valueForm)DemandLaneView<V>willCommand(swim.api.warp.function.WillCommand willCommand)DemandLaneView<V>willEnter(swim.api.warp.function.WillEnter willEnter)DemandLaneView<V>willLeave(swim.api.warp.function.WillLeave willLeave)DemandLaneView<V>willUplink(swim.api.warp.function.WillUplink willUplink)-
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.AbstractSwimRef
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 swim.api.agent.AgentContext agentContext
-
valueForm
protected swim.structure.Form<V> valueForm
-
laneBinding
protected DemandLaneModel laneBinding
-
onCue
protected volatile swim.api.lane.function.OnCue<V> onCue
-
-
Method Detail
-
agentContext
public swim.api.agent.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 swim.structure.Form<V> valueForm()
- Specified by:
valueFormin interfaceswim.api.lane.DemandLane<V>
-
valueForm
public <V2> DemandLaneView<V2> valueForm(swim.structure.Form<V2> valueForm)
- Specified by:
valueFormin interfaceswim.api.lane.DemandLane<V>
-
valueClass
public <V2> DemandLaneView<V2> valueClass(Class<V2> valueClass)
- Specified by:
valueClassin interfaceswim.api.lane.DemandLane<V>
-
setValueForm
public void setValueForm(swim.structure.Form<V> valueForm)
-
close
public void close()
- Specified by:
closein interfaceswim.api.Lane- Specified by:
closein interfaceswim.api.ref.SwimRef- Specified by:
closein interfaceTierBinding- Specified by:
closein classLaneView
-
observe
public DemandLaneView<V> observe(Object observer)
- Specified by:
observein interfaceswim.api.lane.DemandLane<V>- Specified by:
observein interfaceswim.api.Lane- Specified by:
observein interfaceswim.observable.Observable<V>- Specified by:
observein interfaceswim.api.warp.WarpLane- Overrides:
observein classWarpLaneView
-
unobserve
public DemandLaneView<V> unobserve(Object observer)
- Specified by:
unobservein interfaceswim.api.lane.DemandLane<V>- Specified by:
unobservein interfaceswim.api.Lane- Specified by:
unobservein interfaceswim.observable.Observable<V>- Specified by:
unobservein interfaceswim.api.warp.WarpLane- Overrides:
unobservein classWarpLaneView
-
onCue
public DemandLaneView<V> onCue(swim.api.lane.function.OnCue<V> onCue)
- Specified by:
onCuein interfaceswim.api.lane.DemandLane<V>
-
willCommand
public DemandLaneView<V> willCommand(swim.api.warp.function.WillCommand willCommand)
- Specified by:
willCommandin interfaceswim.api.lane.DemandLane<V>- Specified by:
willCommandin interfaceswim.api.warp.WarpLane- Specified by:
willCommandin classWarpLaneView
-
didCommand
public DemandLaneView<V> didCommand(swim.api.warp.function.DidCommand didCommand)
- Specified by:
didCommandin interfaceswim.api.lane.DemandLane<V>- Specified by:
didCommandin interfaceswim.api.warp.WarpLane- Specified by:
didCommandin classWarpLaneView
-
willUplink
public DemandLaneView<V> willUplink(swim.api.warp.function.WillUplink willUplink)
- Specified by:
willUplinkin interfaceswim.api.lane.DemandLane<V>- Specified by:
willUplinkin interfaceswim.api.warp.WarpLane- Specified by:
willUplinkin classWarpLaneView
-
didUplink
public DemandLaneView<V> didUplink(swim.api.warp.function.DidUplink didUplink)
- Specified by:
didUplinkin interfaceswim.api.lane.DemandLane<V>- Specified by:
didUplinkin interfaceswim.api.warp.WarpLane- Specified by:
didUplinkin classWarpLaneView
-
willEnter
public DemandLaneView<V> willEnter(swim.api.warp.function.WillEnter willEnter)
- Specified by:
willEnterin interfaceswim.api.lane.DemandLane<V>- Specified by:
willEnterin interfaceswim.api.warp.WarpLane- Specified by:
willEnterin classWarpLaneView
-
didEnter
public DemandLaneView<V> didEnter(swim.api.warp.function.DidEnter didEnter)
- Specified by:
didEnterin interfaceswim.api.lane.DemandLane<V>- Specified by:
didEnterin interfaceswim.api.warp.WarpLane- Specified by:
didEnterin classWarpLaneView
-
willLeave
public DemandLaneView<V> willLeave(swim.api.warp.function.WillLeave willLeave)
- Specified by:
willLeavein interfaceswim.api.lane.DemandLane<V>- Specified by:
willLeavein interfaceswim.api.warp.WarpLane- Specified by:
willLeavein classWarpLaneView
-
didLeave
public DemandLaneView<V> didLeave(swim.api.warp.function.DidLeave didLeave)
- Specified by:
didLeavein interfaceswim.api.lane.DemandLane<V>- Specified by:
didLeavein interfaceswim.api.warp.WarpLane- Specified by:
didLeavein classWarpLaneView
-
dispatchOnCue
public V dispatchOnCue(swim.api.warp.WarpUplink uplink)
-
cue
public void cue()
- Specified by:
cuein interfaceswim.api.lane.DemandLane<V>
-
-