Class VelocityRuntimeHost

java.lang.Object
dev.shamoo.runtime.platform.velocity.VelocityRuntimeHost
All Implemented Interfaces:
dev.shamoo.runtime.core.RuntimeHost

public final class VelocityRuntimeHost extends Object implements dev.shamoo.runtime.core.RuntimeHost
Velocity scheduler and logging adapter for the platform-neutral runtime.
  • Constructor Details

    • VelocityRuntimeHost

      public VelocityRuntimeHost(com.velocitypowered.api.proxy.ProxyServer server, Object plugin)
  • Method Details

    • platformName

      public String platformName()
      Specified by:
      platformName in interface dev.shamoo.runtime.core.RuntimeHost
    • logger

      public System.Logger logger()
      Specified by:
      logger in interface dev.shamoo.runtime.core.RuntimeHost
    • dispatch

      public CompletionStage<Void> dispatch(Runnable task)
      Specified by:
      dispatch in interface dev.shamoo.runtime.core.RuntimeHost