Class VelocityAgent

java.lang.Object
com.iantapply.orchestra.velocity.VelocityAgent
All Implemented Interfaces:
AutoCloseable

public final class VelocityAgent extends Object implements AutoCloseable
Transport-facing Velocity agent; a proxy bootstrap supplies the small ProxyFacade implementation.
  • Constructor Details

    • VelocityAgent

      public VelocityAgent(String proxyId, NetworkTransport transport, ProxyFacade proxy)
      Creates a proxy agent.
      Parameters:
      proxyId - unique proxy identity
      transport - cross-server transport
      proxy - proxy operations facade
  • Method Details

    • start

      public void start()
      Starts command subscription and periodic proxy heartbeats once.
    • close

      public void close()
      Stops heartbeats and closes the command subscription.
      Specified by:
      close in interface AutoCloseable