- java.lang.Object
-
- swim.runtime.lane.LaneView
-
- swim.runtime.lane.SupplyLaneView<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.api.agent.AgentContextagentContextprotected SupplyLaneModellaneBindingprotected swim.structure.Form<V>valueForm
-
Constructor Summary
Constructors Constructor Description SupplyLaneView(swim.api.agent.AgentContext agentContext, swim.structure.Form<V> valueForm)SupplyLaneView(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()SupplyLaneModelcreateLaneBinding()SupplyLaneView<V>decodeRequest(swim.api.http.function.DecodeRequestHttp<Object> decodeRequest)SupplyLaneView<V>didCommand(swim.api.lane.function.DidCommand didCommand)SupplyLaneView<V>didEnter(swim.api.lane.function.DidEnter didEnter)SupplyLaneView<V>didLeave(swim.api.lane.function.DidLeave didLeave)SupplyLaneView<V>didRequest(swim.api.http.function.DidRequestHttp<Object> didRequest)SupplyLaneView<V>didRespond(swim.api.http.function.DidRespondHttp<?> didRespond)SupplyLaneView<V>didUplink(swim.api.lane.function.DidUplink didUplink)SupplyLaneView<V>doRespond(swim.api.http.function.DoRespondHttp<Object> doRespond)SupplyLaneModelgetLaneBinding()booleanisSigned()SupplyLaneView<V>isSigned(boolean isSigned)SupplyLaneView<V>observe(Object observer)voidpush(V value)voidsetValueForm(swim.structure.Form<V> valueForm)SupplyLaneView<V>unobserve(Object observer)<V2> SupplyLaneView<V2>valueClass(Class<V2> valueClass)swim.structure.Form<V>valueForm()<V2> SupplyLaneView<V2>valueForm(swim.structure.Form<V2> valueForm)SupplyLaneView<V>willCommand(swim.api.lane.function.WillCommand willCommand)SupplyLaneView<V>willEnter(swim.api.lane.function.WillEnter willEnter)SupplyLaneView<V>willLeave(swim.api.lane.function.WillLeave willLeave)SupplyLaneView<V>willRequest(swim.api.http.function.WillRequestHttp<?> willRequest)SupplyLaneView<V>willRespond(swim.api.http.function.WillRespondHttp<?> willRespond)SupplyLaneView<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 SupplyLaneModel laneBinding
-
-
Method Detail
-
agentContext
public swim.api.agent.AgentContext agentContext()
- Specified by:
agentContextin classLaneView
-
getLaneBinding
public SupplyLaneModel getLaneBinding()
- Specified by:
getLaneBindingin classLaneView
-
createLaneBinding
public SupplyLaneModel createLaneBinding()
- Specified by:
createLaneBindingin classLaneView
-
valueForm
public final swim.structure.Form<V> valueForm()
- Specified by:
valueFormin interfaceswim.api.lane.SupplyLane<V>
-
valueForm
public <V2> SupplyLaneView<V2> valueForm(swim.structure.Form<V2> valueForm)
- Specified by:
valueFormin interfaceswim.api.lane.SupplyLane<V>
-
valueClass
public <V2> SupplyLaneView<V2> valueClass(Class<V2> valueClass)
- Specified by:
valueClassin interfaceswim.api.lane.SupplyLane<V>
-
setValueForm
public void setValueForm(swim.structure.Form<V> valueForm)
-
isSigned
public final boolean isSigned()
- Specified by:
isSignedin interfaceswim.api.lane.Lane
-
isSigned
public SupplyLaneView<V> isSigned(boolean isSigned)
- Specified by:
isSignedin interfaceswim.api.lane.Lane- Specified by:
isSignedin interfaceswim.api.lane.SupplyLane<V>
-
close
public void close()
-
observe
public SupplyLaneView<V> observe(Object observer)
-
unobserve
public SupplyLaneView<V> unobserve(Object observer)
-
willCommand
public SupplyLaneView<V> willCommand(swim.api.lane.function.WillCommand willCommand)
- Specified by:
willCommandin interfaceswim.api.lane.Lane- Specified by:
willCommandin interfaceswim.api.lane.SupplyLane<V>- Specified by:
willCommandin classLaneView
-
didCommand
public SupplyLaneView<V> didCommand(swim.api.lane.function.DidCommand didCommand)
- Specified by:
didCommandin interfaceswim.api.lane.Lane- Specified by:
didCommandin interfaceswim.api.lane.SupplyLane<V>- Specified by:
didCommandin classLaneView
-
willUplink
public SupplyLaneView<V> willUplink(swim.api.lane.function.WillUplink willUplink)
- Specified by:
willUplinkin interfaceswim.api.lane.Lane- Specified by:
willUplinkin interfaceswim.api.lane.SupplyLane<V>- Specified by:
willUplinkin classLaneView
-
didUplink
public SupplyLaneView<V> didUplink(swim.api.lane.function.DidUplink didUplink)
-
willEnter
public SupplyLaneView<V> willEnter(swim.api.lane.function.WillEnter willEnter)
-
didEnter
public SupplyLaneView<V> didEnter(swim.api.lane.function.DidEnter didEnter)
-
willLeave
public SupplyLaneView<V> willLeave(swim.api.lane.function.WillLeave willLeave)
-
didLeave
public SupplyLaneView<V> didLeave(swim.api.lane.function.DidLeave didLeave)
-
decodeRequest
public SupplyLaneView<V> decodeRequest(swim.api.http.function.DecodeRequestHttp<Object> decodeRequest)
- Specified by:
decodeRequestin interfaceswim.api.http.HttpLane<V>- Specified by:
decodeRequestin interfaceswim.api.lane.Lane- Specified by:
decodeRequestin interfaceswim.api.lane.SupplyLane<V>- Specified by:
decodeRequestin classLaneView
-
willRequest
public SupplyLaneView<V> willRequest(swim.api.http.function.WillRequestHttp<?> willRequest)
- Specified by:
willRequestin interfaceswim.api.http.HttpLane<V>- Specified by:
willRequestin interfaceswim.api.lane.Lane- Specified by:
willRequestin interfaceswim.api.lane.SupplyLane<V>- Specified by:
willRequestin classLaneView
-
didRequest
public SupplyLaneView<V> didRequest(swim.api.http.function.DidRequestHttp<Object> didRequest)
- Specified by:
didRequestin interfaceswim.api.http.HttpLane<V>- Specified by:
didRequestin interfaceswim.api.lane.Lane- Specified by:
didRequestin interfaceswim.api.lane.SupplyLane<V>- Specified by:
didRequestin classLaneView
-
doRespond
public SupplyLaneView<V> doRespond(swim.api.http.function.DoRespondHttp<Object> doRespond)
-
willRespond
public SupplyLaneView<V> willRespond(swim.api.http.function.WillRespondHttp<?> willRespond)
- Specified by:
willRespondin interfaceswim.api.http.HttpLane<V>- Specified by:
willRespondin interfaceswim.api.lane.Lane- Specified by:
willRespondin interfaceswim.api.lane.SupplyLane<V>- Specified by:
willRespondin classLaneView
-
didRespond
public SupplyLaneView<V> didRespond(swim.api.http.function.DidRespondHttp<?> didRespond)
- Specified by:
didRespondin interfaceswim.api.http.HttpLane<V>- Specified by:
didRespondin interfaceswim.api.lane.Lane- Specified by:
didRespondin interfaceswim.api.lane.SupplyLane<V>- Specified by:
didRespondin classLaneView
-
-