- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneView
-
- swim.system.warp.WarpLaneView
-
- swim.system.lane.SupplyLaneView<V>
-
- All Implemented Interfaces:
DownlinkFactory,Lane,SupplyLane<V>,WarpRef,WarpLane,Observable<Object>,CellContext,TierBinding,Log
public class SupplyLaneView<V> extends WarpLaneView implements SupplyLane<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected AgentContextagentContextprotected SupplyLaneModellaneBindingprotected 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 SupplyLaneView(AgentContext agentContext, Form<V> valueForm)SupplyLaneView(AgentContext agentContext, Form<V> valueForm, Object observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentContextagentContext()voidclose()SupplyLaneModelcreateLaneBinding()SupplyLaneView<V>didCommand(DidCommand didCommand)SupplyLaneView<V>didEnter(DidEnter didEnter)SupplyLaneView<V>didLeave(DidLeave didLeave)SupplyLaneView<V>didUplink(DidUplink didUplink)SupplyLaneModellaneBinding()SupplyLaneView<V>observe(Object observer)voidpush(V value)voidsetValueForm(Form<V> valueForm)SupplyLaneView<V>unobserve(Object observer)<V2> SupplyLaneView<V2>valueClass(Class<V2> valueClass)Form<V>valueForm()<V2> SupplyLaneView<V2>valueForm(Form<V2> valueForm)SupplyLaneView<V>willCommand(WillCommand willCommand)SupplyLaneView<V>willEnter(WillEnter willEnter)SupplyLaneView<V>willLeave(WillLeave willLeave)SupplyLaneView<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 SupplyLaneModel laneBinding
-
-
Constructor Detail
-
SupplyLaneView
public SupplyLaneView(AgentContext agentContext, Form<V> valueForm, Object observers)
-
SupplyLaneView
public SupplyLaneView(AgentContext agentContext, Form<V> valueForm)
-
-
Method Detail
-
agentContext
public AgentContext agentContext()
- Specified by:
agentContextin classLaneView
-
laneBinding
public SupplyLaneModel laneBinding()
- Specified by:
laneBindingin classLaneView
-
createLaneBinding
public SupplyLaneModel createLaneBinding()
- Specified by:
createLaneBindingin classLaneView
-
valueForm
public final Form<V> valueForm()
- Specified by:
valueFormin interfaceSupplyLane<V>
-
valueForm
public <V2> SupplyLaneView<V2> valueForm(Form<V2> valueForm)
- Specified by:
valueFormin interfaceSupplyLane<V>
-
valueClass
public <V2> SupplyLaneView<V2> valueClass(Class<V2> valueClass)
- Specified by:
valueClassin interfaceSupplyLane<V>
-
close
public void close()
-
observe
public SupplyLaneView<V> observe(Object observer)
- Specified by:
observein interfaceLane- Specified by:
observein interfaceObservable<V>- Specified by:
observein interfaceSupplyLane<V>- Specified by:
observein interfaceWarpLane- Overrides:
observein classWarpLaneView
-
unobserve
public SupplyLaneView<V> unobserve(Object observer)
- Specified by:
unobservein interfaceLane- Specified by:
unobservein interfaceObservable<V>- Specified by:
unobservein interfaceSupplyLane<V>- Specified by:
unobservein interfaceWarpLane- Overrides:
unobservein classWarpLaneView
-
willCommand
public SupplyLaneView<V> willCommand(WillCommand willCommand)
- Specified by:
willCommandin interfaceSupplyLane<V>- Specified by:
willCommandin interfaceWarpLane- Specified by:
willCommandin classWarpLaneView
-
didCommand
public SupplyLaneView<V> didCommand(DidCommand didCommand)
- Specified by:
didCommandin interfaceSupplyLane<V>- Specified by:
didCommandin interfaceWarpLane- Specified by:
didCommandin classWarpLaneView
-
willUplink
public SupplyLaneView<V> willUplink(WillUplink willUplink)
- Specified by:
willUplinkin interfaceSupplyLane<V>- Specified by:
willUplinkin interfaceWarpLane- Specified by:
willUplinkin classWarpLaneView
-
didUplink
public SupplyLaneView<V> didUplink(DidUplink didUplink)
- Specified by:
didUplinkin interfaceSupplyLane<V>- Specified by:
didUplinkin interfaceWarpLane- Specified by:
didUplinkin classWarpLaneView
-
willEnter
public SupplyLaneView<V> willEnter(WillEnter willEnter)
- Specified by:
willEnterin interfaceSupplyLane<V>- Specified by:
willEnterin interfaceWarpLane- Specified by:
willEnterin classWarpLaneView
-
didEnter
public SupplyLaneView<V> didEnter(DidEnter didEnter)
- Specified by:
didEnterin interfaceSupplyLane<V>- Specified by:
didEnterin interfaceWarpLane- Specified by:
didEnterin classWarpLaneView
-
willLeave
public SupplyLaneView<V> willLeave(WillLeave willLeave)
- Specified by:
willLeavein interfaceSupplyLane<V>- Specified by:
willLeavein interfaceWarpLane- Specified by:
willLeavein classWarpLaneView
-
didLeave
public SupplyLaneView<V> didLeave(DidLeave didLeave)
- Specified by:
didLeavein interfaceSupplyLane<V>- Specified by:
didLeavein interfaceWarpLane- Specified by:
didLeavein classWarpLaneView
-
push
public void push(V value)
- Specified by:
pushin interfaceSupplyLane<V>
-
-