Module swim.runtime

Class SupplyLaneView<V>

  • All Implemented Interfaces:
    swim.api.downlink.DownlinkFactory, swim.api.Lane, swim.api.lane.SupplyLane<V>, swim.api.ref.SwimRef, swim.api.warp.WarpLane, swim.observable.Observable<Object>, CellContext, TierBinding, swim.util.Log

    public class SupplyLaneView<V>
    extends WarpLaneView
    implements swim.api.lane.SupplyLane<V>
    • Field Detail

      • agentContext

        protected final swim.api.agent.AgentContext agentContext
      • valueForm

        protected swim.structure.Form<V> valueForm
    • Constructor Detail

      • SupplyLaneView

        public SupplyLaneView​(swim.api.agent.AgentContext agentContext,
                              swim.structure.Form<V> valueForm,
                              Object observers)
      • SupplyLaneView

        public SupplyLaneView​(swim.api.agent.AgentContext agentContext,
                              swim.structure.Form<V> valueForm)
    • Method Detail

      • agentContext

        public swim.api.agent.AgentContext agentContext()
        Specified by:
        agentContext in class LaneView
      • valueForm

        public final swim.structure.Form<V> valueForm()
        Specified by:
        valueForm in interface swim.api.lane.SupplyLane<V>
      • valueForm

        public <V2> SupplyLaneView<V2> valueForm​(swim.structure.Form<V2> valueForm)
        Specified by:
        valueForm in interface swim.api.lane.SupplyLane<V>
      • valueClass

        public <V2> SupplyLaneView<V2> valueClass​(Class<V2> valueClass)
        Specified by:
        valueClass in interface swim.api.lane.SupplyLane<V>
      • setValueForm

        public void setValueForm​(swim.structure.Form<V> valueForm)
      • close

        public void close()
        Specified by:
        close in interface swim.api.Lane
        Specified by:
        close in interface swim.api.ref.SwimRef
        Specified by:
        close in interface TierBinding
        Specified by:
        close in class LaneView
      • observe

        public SupplyLaneView<V> observe​(Object observer)
        Specified by:
        observe in interface swim.api.Lane
        Specified by:
        observe in interface swim.observable.Observable<V>
        Specified by:
        observe in interface swim.api.lane.SupplyLane<V>
        Specified by:
        observe in interface swim.api.warp.WarpLane
        Overrides:
        observe in class WarpLaneView
      • unobserve

        public SupplyLaneView<V> unobserve​(Object observer)
        Specified by:
        unobserve in interface swim.api.Lane
        Specified by:
        unobserve in interface swim.observable.Observable<V>
        Specified by:
        unobserve in interface swim.api.lane.SupplyLane<V>
        Specified by:
        unobserve in interface swim.api.warp.WarpLane
        Overrides:
        unobserve in class WarpLaneView
      • willCommand

        public SupplyLaneView<V> willCommand​(swim.api.warp.function.WillCommand willCommand)
        Specified by:
        willCommand in interface swim.api.lane.SupplyLane<V>
        Specified by:
        willCommand in interface swim.api.warp.WarpLane
        Specified by:
        willCommand in class WarpLaneView
      • didCommand

        public SupplyLaneView<V> didCommand​(swim.api.warp.function.DidCommand didCommand)
        Specified by:
        didCommand in interface swim.api.lane.SupplyLane<V>
        Specified by:
        didCommand in interface swim.api.warp.WarpLane
        Specified by:
        didCommand in class WarpLaneView
      • willUplink

        public SupplyLaneView<V> willUplink​(swim.api.warp.function.WillUplink willUplink)
        Specified by:
        willUplink in interface swim.api.lane.SupplyLane<V>
        Specified by:
        willUplink in interface swim.api.warp.WarpLane
        Specified by:
        willUplink in class WarpLaneView
      • didUplink

        public SupplyLaneView<V> didUplink​(swim.api.warp.function.DidUplink didUplink)
        Specified by:
        didUplink in interface swim.api.lane.SupplyLane<V>
        Specified by:
        didUplink in interface swim.api.warp.WarpLane
        Specified by:
        didUplink in class WarpLaneView
      • willEnter

        public SupplyLaneView<V> willEnter​(swim.api.warp.function.WillEnter willEnter)
        Specified by:
        willEnter in interface swim.api.lane.SupplyLane<V>
        Specified by:
        willEnter in interface swim.api.warp.WarpLane
        Specified by:
        willEnter in class WarpLaneView
      • didEnter

        public SupplyLaneView<V> didEnter​(swim.api.warp.function.DidEnter didEnter)
        Specified by:
        didEnter in interface swim.api.lane.SupplyLane<V>
        Specified by:
        didEnter in interface swim.api.warp.WarpLane
        Specified by:
        didEnter in class WarpLaneView
      • willLeave

        public SupplyLaneView<V> willLeave​(swim.api.warp.function.WillLeave willLeave)
        Specified by:
        willLeave in interface swim.api.lane.SupplyLane<V>
        Specified by:
        willLeave in interface swim.api.warp.WarpLane
        Specified by:
        willLeave in class WarpLaneView
      • didLeave

        public SupplyLaneView<V> didLeave​(swim.api.warp.function.DidLeave didLeave)
        Specified by:
        didLeave in interface swim.api.lane.SupplyLane<V>
        Specified by:
        didLeave in interface swim.api.warp.WarpLane
        Specified by:
        didLeave in class WarpLaneView
      • push

        public void push​(V value)
        Specified by:
        push in interface swim.api.lane.SupplyLane<V>