Class OrchestraVelocityPlugin
java.lang.Object
com.iantapply.orchestra.platform.velocity.OrchestraVelocityPlugin
Velocity bootstrap for the proxy-side Orchestra agent.
-
Constructor Summary
ConstructorsConstructorDescriptionOrchestraVelocityPlugin(com.velocitypowered.api.proxy.ProxyServer proxy, org.slf4j.Logger logger) Creates the Velocity entry point. -
Method Summary
Modifier and TypeMethodDescriptionvoidonInitialize(com.velocitypowered.api.event.proxy.ProxyInitializeEvent ignored) Starts Redis transport and the proxy command agent.voidonShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent ignored) Stops the proxy agent and Redis transport.
-
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 proxylogger- 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
-