Class OrchestraVelocityPlugin

java.lang.Object
com.iantapply.orchestra.platform.velocity.OrchestraVelocityPlugin

public final class OrchestraVelocityPlugin extends Object
Velocity bootstrap for the proxy-side Orchestra agent.
  • Constructor Summary

    Constructors
    Constructor
    Description
    OrchestraVelocityPlugin(com.velocitypowered.api.proxy.ProxyServer proxy, org.slf4j.Logger logger)
    Creates the Velocity entry point.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInitialize(com.velocitypowered.api.event.proxy.ProxyInitializeEvent ignored)
    Starts Redis transport and the proxy command agent.
    void
    onShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent ignored)
    Stops the proxy agent and Redis transport.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OrchestraVelocityPlugin

      @Inject public OrchestraVelocityPlugin(com.velocitypowered.api.proxy.ProxyServer proxy, org.slf4j.Logger logger)
      Creates the Velocity entry point.
      Parameters:
      proxy - active Velocity proxy
      logger - plugin logger
  • Method Details

    • onInitialize

      public void onInitialize(com.velocitypowered.api.event.proxy.ProxyInitializeEvent ignored)
      Starts Redis transport and the proxy command agent.
      Parameters:
      ignored - Velocity initialization event
    • onShutdown

      public void onShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent ignored)
      Stops the proxy agent and Redis transport.
      Parameters:
      ignored - Velocity shutdown event