- java.lang.Object
-
- swim.runtime.lane.LaneView
-
- swim.runtime.lane.DemandMapLaneView<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.api.agent.AgentContextagentContextprotected swim.structure.Form<K>keyFormprotected DemandMapLaneModellaneBindingprotected swim.structure.Form<V>valueForm
-
Constructor Summary
Constructors Constructor Description DemandMapLaneView(swim.api.agent.AgentContext agentContext, swim.structure.Form<K> keyForm, swim.structure.Form<V> valueForm)DemandMapLaneView(swim.api.agent.AgentContext agentContext, swim.structure.Form<K> keyForm, 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()DemandMapLaneModelcreateLaneBinding()voidcue(K key)DemandMapLaneView<K,V>decodeRequest(swim.api.http.function.DecodeRequestHttp<Object> decodeRequest)DemandMapLaneView<K,V>didCommand(swim.api.lane.function.DidCommand didCommand)DemandMapLaneView<K,V>didEnter(swim.api.lane.function.DidEnter didEnter)DemandMapLaneView<K,V>didLeave(swim.api.lane.function.DidLeave didLeave)DemandMapLaneView<K,V>didRequest(swim.api.http.function.DidRequestHttp<Object> didRequest)DemandMapLaneView<K,V>didRespond(swim.api.http.function.DidRespondHttp<?> didRespond)DemandMapLaneView<K,V>didUplink(swim.api.lane.function.DidUplink didUplink)protected VdispatchOnCue(K key, swim.api.uplink.Uplink uplink)protected Iterator<Map.Entry<K,V>>dispatchOnSync(swim.api.uplink.Uplink uplink)DemandMapLaneView<K,V>doRespond(swim.api.http.function.DoRespondHttp<Object> doRespond)DemandMapLaneModelgetLaneBinding()booleanisSigned()DemandMapLaneView<K,V>isSigned(boolean isSigned)<K2> DemandMapLaneView<K2,V>keyClass(Class<K2> keyClass)swim.structure.Form<K>keyForm()<K2> DemandMapLaneView<K2,V>keyForm(swim.structure.Form<K2> keyForm)DemandMapLaneView<K,V>observe(Object observer)DemandMapLaneView<K,V>onCue(swim.api.lane.function.OnCueKey<K,V> onCue)DemandMapLaneView<K,V>onSync(swim.api.lane.function.OnSyncMap<K,V> onSync)voidremove(K key)voidsetKeyForm(swim.structure.Form<K> keyForm)voidsetValueForm(swim.structure.Form<V> valueForm)protected ObjecttypesafeObservers(Object observers)DemandMapLaneView<K,V>unobserve(Object observer)<V2> DemandMapLaneView<K,V2>valueClass(Class<V2> valueClass)swim.structure.Form<V>valueForm()<V2> DemandMapLaneView<K,V2>valueForm(swim.structure.Form<V2> valueForm)DemandMapLaneView<K,V>willCommand(swim.api.lane.function.WillCommand willCommand)DemandMapLaneView<K,V>willEnter(swim.api.lane.function.WillEnter willEnter)DemandMapLaneView<K,V>willLeave(swim.api.lane.function.WillLeave willLeave)DemandMapLaneView<K,V>willRequest(swim.api.http.function.WillRequestHttp<?> willRequest)DemandMapLaneView<K,V>willRespond(swim.api.http.function.WillRespondHttp<?> willRespond)DemandMapLaneView<K,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
-
keyForm
protected swim.structure.Form<K> keyForm
-
valueForm
protected swim.structure.Form<V> valueForm
-
laneBinding
protected DemandMapLaneModel laneBinding
-
-
Method Detail
-
agentContext
public swim.api.agent.AgentContext agentContext()
- Specified by:
agentContextin classLaneView
-
getLaneBinding
public DemandMapLaneModel getLaneBinding()
- Specified by:
getLaneBindingin classLaneView
-
createLaneBinding
public DemandMapLaneModel createLaneBinding()
- Specified by:
createLaneBindingin classLaneView
-
keyForm
public final swim.structure.Form<K> keyForm()
-
keyForm
public <K2> DemandMapLaneView<K2,V> keyForm(swim.structure.Form<K2> keyForm)
-
keyClass
public <K2> DemandMapLaneView<K2,V> keyClass(Class<K2> keyClass)
-
setKeyForm
public void setKeyForm(swim.structure.Form<K> keyForm)
-
valueForm
public final swim.structure.Form<V> valueForm()
-
valueForm
public <V2> DemandMapLaneView<K,V2> valueForm(swim.structure.Form<V2> valueForm)
-
valueClass
public <V2> DemandMapLaneView<K,V2> valueClass(Class<V2> valueClass)
-
setValueForm
public void setValueForm(swim.structure.Form<V> valueForm)
-
isSigned
public final boolean isSigned()
- Specified by:
isSignedin interfaceswim.api.lane.Lane
-
isSigned
public DemandMapLaneView<K,V> isSigned(boolean isSigned)
-
close
public void close()
-
observe
public DemandMapLaneView<K,V> observe(Object observer)
-
unobserve
public DemandMapLaneView<K,V> unobserve(Object observer)
-
onCue
public DemandMapLaneView<K,V> onCue(swim.api.lane.function.OnCueKey<K,V> onCue)
-
onSync
public DemandMapLaneView<K,V> onSync(swim.api.lane.function.OnSyncMap<K,V> onSync)
-
willCommand
public DemandMapLaneView<K,V> willCommand(swim.api.lane.function.WillCommand willCommand)
- Specified by:
willCommandin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willCommandin interfaceswim.api.lane.Lane- Specified by:
willCommandin classLaneView
-
didCommand
public DemandMapLaneView<K,V> didCommand(swim.api.lane.function.DidCommand didCommand)
- Specified by:
didCommandin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
didCommandin interfaceswim.api.lane.Lane- Specified by:
didCommandin classLaneView
-
willUplink
public DemandMapLaneView<K,V> willUplink(swim.api.lane.function.WillUplink willUplink)
- Specified by:
willUplinkin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willUplinkin interfaceswim.api.lane.Lane- Specified by:
willUplinkin classLaneView
-
didUplink
public DemandMapLaneView<K,V> didUplink(swim.api.lane.function.DidUplink didUplink)
-
willEnter
public DemandMapLaneView<K,V> willEnter(swim.api.lane.function.WillEnter willEnter)
-
didEnter
public DemandMapLaneView<K,V> didEnter(swim.api.lane.function.DidEnter didEnter)
-
willLeave
public DemandMapLaneView<K,V> willLeave(swim.api.lane.function.WillLeave willLeave)
-
didLeave
public DemandMapLaneView<K,V> didLeave(swim.api.lane.function.DidLeave didLeave)
-
decodeRequest
public DemandMapLaneView<K,V> decodeRequest(swim.api.http.function.DecodeRequestHttp<Object> decodeRequest)
- Specified by:
decodeRequestin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
decodeRequestin interfaceswim.api.http.HttpLane<K>- Specified by:
decodeRequestin interfaceswim.api.lane.Lane- Specified by:
decodeRequestin classLaneView
-
willRequest
public DemandMapLaneView<K,V> willRequest(swim.api.http.function.WillRequestHttp<?> willRequest)
- Specified by:
willRequestin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willRequestin interfaceswim.api.http.HttpLane<K>- Specified by:
willRequestin interfaceswim.api.lane.Lane- Specified by:
willRequestin classLaneView
-
didRequest
public DemandMapLaneView<K,V> didRequest(swim.api.http.function.DidRequestHttp<Object> didRequest)
- Specified by:
didRequestin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
didRequestin interfaceswim.api.http.HttpLane<K>- Specified by:
didRequestin interfaceswim.api.lane.Lane- Specified by:
didRequestin classLaneView
-
doRespond
public DemandMapLaneView<K,V> doRespond(swim.api.http.function.DoRespondHttp<Object> doRespond)
-
willRespond
public DemandMapLaneView<K,V> willRespond(swim.api.http.function.WillRespondHttp<?> willRespond)
- Specified by:
willRespondin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willRespondin interfaceswim.api.http.HttpLane<K>- Specified by:
willRespondin interfaceswim.api.lane.Lane- Specified by:
willRespondin classLaneView
-
didRespond
public DemandMapLaneView<K,V> didRespond(swim.api.http.function.DidRespondHttp<?> didRespond)
- Specified by:
didRespondin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
didRespondin interfaceswim.api.http.HttpLane<K>- Specified by:
didRespondin interfaceswim.api.lane.Lane- Specified by:
didRespondin classLaneView
-
-