Module swim.runtime
Package swim.runtime

Class AbstractSwimRef

  • All Implemented Interfaces:
    swim.api.downlink.DownlinkFactory, swim.api.ref.SwimRef, CellContext, swim.store.StoreContext, swim.util.Log
    Direct Known Subclasses:
    AbstractTierBinding

    public abstract class AbstractSwimRef
    extends Object
    implements swim.api.ref.SwimRef, CellContext
    • Constructor Detail

      • AbstractSwimRef

        public AbstractSwimRef()
    • Method Detail

      • hostRef

        public swim.api.ref.HostRef hostRef​(swim.uri.Uri hostUri)
        Specified by:
        hostRef in interface swim.api.ref.SwimRef
      • hostRef

        public swim.api.ref.HostRef hostRef​(String hostUri)
        Specified by:
        hostRef in interface swim.api.ref.SwimRef
      • nodeRef

        public swim.api.ref.NodeRef nodeRef​(swim.uri.Uri hostUri,
                                            swim.uri.Uri nodeUri)
        Specified by:
        nodeRef in interface swim.api.ref.SwimRef
      • nodeRef

        public swim.api.ref.NodeRef nodeRef​(String hostUri,
                                            String nodeUri)
        Specified by:
        nodeRef in interface swim.api.ref.SwimRef
      • nodeRef

        public swim.api.ref.NodeRef nodeRef​(swim.uri.Uri nodeUri)
        Specified by:
        nodeRef in interface swim.api.ref.SwimRef
      • nodeRef

        public swim.api.ref.NodeRef nodeRef​(String nodeUri)
        Specified by:
        nodeRef in interface swim.api.ref.SwimRef
      • laneRef

        public swim.api.ref.LaneRef laneRef​(swim.uri.Uri hostUri,
                                            swim.uri.Uri nodeUri,
                                            swim.uri.Uri laneUri)
        Specified by:
        laneRef in interface swim.api.ref.SwimRef
      • laneRef

        public swim.api.ref.LaneRef laneRef​(String hostUri,
                                            String nodeUri,
                                            String laneUri)
        Specified by:
        laneRef in interface swim.api.ref.SwimRef
      • laneRef

        public swim.api.ref.LaneRef laneRef​(swim.uri.Uri nodeUri,
                                            swim.uri.Uri laneUri)
        Specified by:
        laneRef in interface swim.api.ref.SwimRef
      • laneRef

        public swim.api.ref.LaneRef laneRef​(String nodeUri,
                                            String laneUri)
        Specified by:
        laneRef in interface swim.api.ref.SwimRef
      • downlink

        public swim.api.downlink.EventDownlink<swim.structure.Value> downlink()
        Specified by:
        downlink in interface swim.api.downlink.DownlinkFactory
      • downlinkList

        public swim.api.downlink.ListDownlink<swim.structure.Value> downlinkList()
        Specified by:
        downlinkList in interface swim.api.downlink.DownlinkFactory
      • downlinkMap

        public swim.api.downlink.MapDownlink<swim.structure.Value,​swim.structure.Value> downlinkMap()
        Specified by:
        downlinkMap in interface swim.api.downlink.DownlinkFactory
      • downlinkValue

        public swim.api.downlink.ValueDownlink<swim.structure.Value> downlinkValue()
        Specified by:
        downlinkValue in interface swim.api.downlink.DownlinkFactory
      • downlinkHttp

        public <T> swim.api.http.HttpDownlink<T> downlinkHttp()
        Specified by:
        downlinkHttp in interface swim.api.downlink.DownlinkFactory
      • command

        public void command​(swim.uri.Uri hostUri,
                            swim.uri.Uri nodeUri,
                            swim.uri.Uri laneUri,
                            float prio,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(String hostUri,
                            String nodeUri,
                            String laneUri,
                            float prio,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(swim.uri.Uri hostUri,
                            swim.uri.Uri nodeUri,
                            swim.uri.Uri laneUri,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(String hostUri,
                            String nodeUri,
                            String laneUri,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(swim.uri.Uri nodeUri,
                            swim.uri.Uri laneUri,
                            float prio,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(String nodeUri,
                            String laneUri,
                            float prio,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(swim.uri.Uri nodeUri,
                            swim.uri.Uri laneUri,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(String nodeUri,
                            String laneUri,
                            swim.structure.Value body)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • close

        public abstract void close()
        Specified by:
        close in interface swim.api.ref.SwimRef