Module swim.api

Class AbstractPlane

    • Constructor Detail

      • AbstractPlane

        public AbstractPlane​(PlaneContext context)
      • AbstractPlane

        public AbstractPlane()
    • Method Detail

      • schedule

        public swim.concurrent.Schedule schedule()
      • stage

        public swim.concurrent.Stage stage()
      • createAgentRoute

        public <A extends AgentAgentRoute<A> createAgentRoute​(Class<? extends A> agentClass)
      • addAgentRoute

        public void addAgentRoute​(String routeName,
                                  swim.uri.UriPattern pattern,
                                  AgentRoute<?> agentRoute)
      • removeAgentRoute

        public void removeAgentRoute​(String routeName)
      • getAgentFactory

        public AgentFactory<?> getAgentFactory​(swim.uri.Uri nodeUri)
      • hostRef

        public HostRef hostRef​(swim.uri.Uri hostUri)
        Specified by:
        hostRef in interface WarpRef
      • nodeRef

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

        public NodeRef nodeRef​(swim.uri.Uri nodeUri)
        Specified by:
        nodeRef in interface WarpRef
      • laneRef

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

        public LaneRef laneRef​(swim.uri.Uri nodeUri,
                               swim.uri.Uri laneUri)
        Specified by:
        laneRef in interface WarpRef
      • command

        public final 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 WarpRef
      • command

        public final 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 WarpRef
      • command

        public final 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 WarpRef
      • command

        public final void command​(String hostUri,
                                  String nodeUri,
                                  String laneUri,
                                  swim.structure.Value body,
                                  swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        Specified by:
        command in interface WarpRef
      • command

        public final 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 WarpRef
      • command

        public final void command​(String nodeUri,
                                  String laneUri,
                                  float prio,
                                  swim.structure.Value body,
                                  swim.concurrent.Cont<swim.warp.CommandMessage> cont)
        Specified by:
        command in interface WarpRef
      • command

        public final 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 WarpRef
      • command

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

        public void command​(String hostUri,
                            String nodeUri,
                            String laneUri,
                            float prio,
                            swim.structure.Value body)
        Specified by:
        command in interface WarpRef
      • 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 WarpRef
      • command

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

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

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

        public void command​(String nodeUri,
                            String laneUri,
                            swim.structure.Value body)
        Specified by:
        command in interface WarpRef
      • trace

        public void trace​(Object message)
        Specified by:
        trace in interface swim.util.Log
      • debug

        public void debug​(Object message)
        Specified by:
        debug in interface swim.util.Log
      • info

        public void info​(Object message)
        Specified by:
        info in interface swim.util.Log
      • warn

        public void warn​(Object message)
        Specified by:
        warn in interface swim.util.Log
      • error

        public void error​(Object message)
        Specified by:
        error in interface swim.util.Log
      • fail

        public void fail​(Object message)
        Specified by:
        fail in interface swim.util.Log
      • close

        public void close()
        Specified by:
        close in interface WarpRef
      • willStart

        public void willStart()
        Specified by:
        willStart in interface Plane
      • didStart

        public void didStart()
        Specified by:
        didStart in interface Plane
      • willStop

        public void willStop()
        Specified by:
        willStop in interface Plane
      • didStop

        public void didStop()
        Specified by:
        didStop in interface Plane
      • willClose

        public void willClose()
        Specified by:
        willClose in interface Plane
      • didClose

        public void didClose()
        Specified by:
        didClose in interface Plane