Class DispatchServer

java.lang.Object
emu.grasscutter.server.dispatch.DispatchServer

public final class DispatchServer extends Object
  • Field Details

  • Constructor Details

    • DispatchServer

      public DispatchServer()
  • Method Details

    • getServer

      public express.Express getServer()
    • setHttpServer

      public void setHttpServer(express.Express httpServer)
    • getGsonFactory

      public com.google.gson.Gson getGsonFactory()
    • getCurrRegion

      public emu.grasscutter.net.proto.QueryCurrRegionHttpRspOuterClass.QueryCurrRegionHttpRsp getCurrRegion()
    • loadQueries

      public void loadQueries()
    • start

      public void start() throws Exception
      Throws:
      Exception
    • getAuthHandler

      public AuthenticationHandler getAuthHandler()
    • registerAuthHandler

      public boolean registerAuthHandler(AuthenticationHandler authHandler)
    • resetAuthHandler

      public void resetAuthHandler()