- java.lang.Object
-
- swim.runtime.lane.LaneView
-
- swim.runtime.lane.DemandLaneView<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
-
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>decodeRequest(swim.api.http.function.DecodeRequestHttp<Object> decodeRequest)DemandLaneView<V>didCommand(swim.api.lane.function.DidCommand didCommand)DemandLaneView<V>didEnter(swim.api.lane.function.DidEnter didEnter)DemandLaneView<V>didLeave(swim.api.lane.function.DidLeave didLeave)DemandLaneView<V>didRequest(swim.api.http.function.DidRequestHttp<Object> didRequest)DemandLaneView<V>didRespond(swim.api.http.function.DidRespondHttp<?> didRespond)DemandLaneView<V>didUplink(swim.api.lane.function.DidUplink didUplink)protected VdispatchOnCue(swim.api.uplink.Uplink uplink)DemandLaneView<V>doRespond(swim.api.http.function.DoRespondHttp<Object> doRespond)DemandLaneModelgetLaneBinding()booleanisSigned()DemandLaneView<V>isSigned(boolean isSigned)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.lane.function.WillCommand willCommand)DemandLaneView<V>willEnter(swim.api.lane.function.WillEnter willEnter)DemandLaneView<V>willLeave(swim.api.lane.function.WillLeave willLeave)DemandLaneView<V>willRequest(swim.api.http.function.WillRequestHttp<?> willRequest)DemandLaneView<V>willRespond(swim.api.http.function.WillRespondHttp<?> willRespond)DemandLaneView<V>willUplink(swim.api.lane.function.WillUplink willUplink)-
Methods inherited from class swim.runtime.lane.LaneView
debug, dispatchDecodeRequest, dispatchDidCommand, dispatchDidEnter, dispatchDidLeave, dispatchDidRequest, dispatchDidRespond, dispatchDidUplink, dispatchDoRespond, dispatchWillCommand, dispatchWillEnter, dispatchWillLeave, dispatchWillRequest, dispatchWillRespond, dispatchWillUplink, error, hostUri, info, laneDecodeRequest, laneDidCommand, laneDidEnter, laneDidFail, laneDidLeave, laneDidRequest, laneDidRespond, laneDidUplink, laneDoRespond, laneUri, laneWillCommand, laneWillEnter, laneWillLeave, laneWillRequest, laneWillRespond, laneWillUplink, nodeUri, trace, unwrapLane, warn
-
-
-
-
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
-
getLaneBinding
public DemandLaneModel getLaneBinding()
- Specified by:
getLaneBindingin 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)
-
isSigned
public final boolean isSigned()
- Specified by:
isSignedin interfaceswim.api.lane.Lane
-
isSigned
public DemandLaneView<V> isSigned(boolean isSigned)
- Specified by:
isSignedin interfaceswim.api.lane.DemandLane<V>- Specified by:
isSignedin interfaceswim.api.lane.Lane
-
close
public void close()
-
observe
public DemandLaneView<V> observe(Object observer)
-
unobserve
public DemandLaneView<V> unobserve(Object observer)
-
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.lane.function.WillCommand willCommand)
- Specified by:
willCommandin interfaceswim.api.lane.DemandLane<V>- Specified by:
willCommandin interfaceswim.api.lane.Lane- Specified by:
willCommandin classLaneView
-
didCommand
public DemandLaneView<V> didCommand(swim.api.lane.function.DidCommand didCommand)
- Specified by:
didCommandin interfaceswim.api.lane.DemandLane<V>- Specified by:
didCommandin interfaceswim.api.lane.Lane- Specified by:
didCommandin classLaneView
-
willUplink
public DemandLaneView<V> willUplink(swim.api.lane.function.WillUplink willUplink)
- Specified by:
willUplinkin interfaceswim.api.lane.DemandLane<V>- Specified by:
willUplinkin interfaceswim.api.lane.Lane- Specified by:
willUplinkin classLaneView
-
didUplink
public DemandLaneView<V> didUplink(swim.api.lane.function.DidUplink didUplink)
-
willEnter
public DemandLaneView<V> willEnter(swim.api.lane.function.WillEnter willEnter)
-
didEnter
public DemandLaneView<V> didEnter(swim.api.lane.function.DidEnter didEnter)
-
willLeave
public DemandLaneView<V> willLeave(swim.api.lane.function.WillLeave willLeave)
-
didLeave
public DemandLaneView<V> didLeave(swim.api.lane.function.DidLeave didLeave)
-
decodeRequest
public DemandLaneView<V> decodeRequest(swim.api.http.function.DecodeRequestHttp<Object> decodeRequest)
- Specified by:
decodeRequestin interfaceswim.api.lane.DemandLane<V>- Specified by:
decodeRequestin interfaceswim.api.http.HttpLane<V>- Specified by:
decodeRequestin interfaceswim.api.lane.Lane- Specified by:
decodeRequestin classLaneView
-
willRequest
public DemandLaneView<V> willRequest(swim.api.http.function.WillRequestHttp<?> willRequest)
- Specified by:
willRequestin interfaceswim.api.lane.DemandLane<V>- Specified by:
willRequestin interfaceswim.api.http.HttpLane<V>- Specified by:
willRequestin interfaceswim.api.lane.Lane- Specified by:
willRequestin classLaneView
-
didRequest
public DemandLaneView<V> didRequest(swim.api.http.function.DidRequestHttp<Object> didRequest)
- Specified by:
didRequestin interfaceswim.api.lane.DemandLane<V>- Specified by:
didRequestin interfaceswim.api.http.HttpLane<V>- Specified by:
didRequestin interfaceswim.api.lane.Lane- Specified by:
didRequestin classLaneView
-
doRespond
public DemandLaneView<V> doRespond(swim.api.http.function.DoRespondHttp<Object> doRespond)
-
willRespond
public DemandLaneView<V> willRespond(swim.api.http.function.WillRespondHttp<?> willRespond)
- Specified by:
willRespondin interfaceswim.api.lane.DemandLane<V>- Specified by:
willRespondin interfaceswim.api.http.HttpLane<V>- Specified by:
willRespondin interfaceswim.api.lane.Lane- Specified by:
willRespondin classLaneView
-
didRespond
public DemandLaneView<V> didRespond(swim.api.http.function.DidRespondHttp<?> didRespond)
- Specified by:
didRespondin interfaceswim.api.lane.DemandLane<V>- Specified by:
didRespondin interfaceswim.api.http.HttpLane<V>- Specified by:
didRespondin interfaceswim.api.lane.Lane- Specified by:
didRespondin classLaneView
-
dispatchOnCue
protected V dispatchOnCue(swim.api.uplink.Uplink uplink)
-
cue
public void cue()
- Specified by:
cuein interfaceswim.api.lane.DemandLane<V>
-
-