Class AEpicOnlineService

java.lang.Object
host.anzo.anticheat.server.api.AEpicOnlineService
All Implemented Interfaces:
host.anzo.commons.interfaces.startup.IShutdownable

public abstract class AEpicOnlineService extends Object implements host.anzo.commons.interfaces.startup.IShutdownable
Since:
9/20/2023
  • Constructor Details

    • AEpicOnlineService

      public AEpicOnlineService()
  • Method Details

    • initialize

      protected void initialize()
    • onClientConnected

      public void onClientConnected(IAntiCheatNetworkClient gameClient)
      Event must be called when a new client connected to server
      Parameters:
      gameClient - game client
    • onClientMessage

      public void onClientMessage(IAntiCheatNetworkClient gameClient, byte[] data)
      Event must be called when need to send an EAC message from the client to server
      Parameters:
      gameClient - game client
      data - received bytes
    • onClientDisconnected

      public void onClientDisconnected(@NotNull @NotNull IAntiCheatNetworkClient gameClient)
      Event must be called when a client disconnected from game server
      Parameters:
      gameClient - WebSocket session
    • onShutdown

      public void onShutdown()
      Specified by:
      onShutdown in interface host.anzo.commons.interfaces.startup.IShutdownable