Module swim.runtime
Package swim.runtime

Class AbstractSwimRef

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

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

      Constructors 
      Constructor Description
      AbstractSwimRef()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void close()  
      void command​(String nodeUri, String laneUri, float prio, swim.structure.Value body)  
      void command​(String nodeUri, String laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      void command​(String hostUri, String nodeUri, String laneUri, float prio, swim.structure.Value body)  
      void command​(String hostUri, String nodeUri, String laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      void command​(String hostUri, String nodeUri, String laneUri, swim.structure.Value body)  
      void command​(String hostUri, String nodeUri, String laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      void command​(String nodeUri, String laneUri, swim.structure.Value body)  
      void command​(String nodeUri, String laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      void command​(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body)  
      void command​(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      void command​(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body)  
      void command​(swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      void command​(swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body)  
      void command​(swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, float prio, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      void command​(swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body)  
      void command​(swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri, swim.structure.Value body, swim.concurrent.Cont<swim.warp.CommandMessage> cont)  
      swim.api.downlink.EventDownlink<swim.structure.Value> downlink()  
      <V> swim.api.http.HttpDownlink<V> downlinkHttp()  
      swim.api.downlink.ListDownlink<swim.structure.Value> downlinkList()  
      swim.api.downlink.MapDownlink<swim.structure.Value,​swim.structure.Value> downlinkMap()  
      swim.api.downlink.ValueDownlink<swim.structure.Value> downlinkValue()  
      <I,​O>
      swim.api.ws.WsDownlink<I,​O>
      downlinkWs()  
      swim.api.ref.HostRef hostRef​(String hostUri)  
      swim.api.ref.HostRef hostRef​(swim.uri.Uri hostUri)  
      swim.api.ref.LaneRef laneRef​(String nodeUri, String laneUri)  
      swim.api.ref.LaneRef laneRef​(String hostUri, String nodeUri, String laneUri)  
      swim.api.ref.LaneRef laneRef​(swim.uri.Uri nodeUri, swim.uri.Uri laneUri)  
      swim.api.ref.LaneRef laneRef​(swim.uri.Uri hostUri, swim.uri.Uri nodeUri, swim.uri.Uri laneUri)  
      swim.api.ref.NodeRef nodeRef​(String nodeUri)  
      swim.api.ref.NodeRef nodeRef​(String hostUri, String nodeUri)  
      swim.api.ref.NodeRef nodeRef​(swim.uri.Uri nodeUri)  
      swim.api.ref.NodeRef nodeRef​(swim.uri.Uri hostUri, swim.uri.Uri nodeUri)  
      • Methods inherited from interface swim.util.Log

        debug, error, fail, info, trace, warn
    • 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 <V> swim.api.http.HttpDownlink<V> downlinkHttp()
        Specified by:
        downlinkHttp in interface swim.api.downlink.DownlinkFactory
      • downlinkWs

        public <I,​O> swim.api.ws.WsDownlink<I,​O> downlinkWs()
        Specified by:
        downlinkWs 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,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        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,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        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,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(String hostUri,
                            String nodeUri,
                            String laneUri,
                            swim.structure.Value body,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        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,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(String nodeUri,
                            String laneUri,
                            float prio,
                            swim.structure.Value body,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        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,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        Specified by:
        command in interface swim.api.ref.SwimRef
      • command

        public void command​(String nodeUri,
                            String laneUri,
                            swim.structure.Value body,
                            swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        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,
                            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