Class ProxyCommandPublisher

java.lang.Object
com.iantapply.orchestra.velocity.ProxyCommandPublisher

public final class ProxyCommandPublisher extends Object
Publishes validated commands understood by a configured Velocity agent.
  • Constructor Details

    • ProxyCommandPublisher

      public ProxyCommandPublisher(com.iantapply.orchestra.port.NetworkTransport transport)
      Creates a publisher over the shared network transport.
      Parameters:
      transport - transport used to reach proxy agents
  • Method Details

    • movePlayer

      public void movePlayer(String proxyId, String playerId, String serverId)
      Requests that a proxy move a player to a backend server.
      Parameters:
      proxyId - destination proxy
      playerId - player UUID
      serverId - destination backend
    • setGroupJoins

      public void setGroupJoins(String proxyId, String group, boolean enabled)
      Requests that a proxy update the advertised join state for a server group.
      Parameters:
      proxyId - destination proxy
      group - backend group
      enabled - desired join state