Class BungeecordBackendServerCommunicator

java.lang.Object
com.gamersafer.minecraft.auth.bungeecord.platform.BungeecordBackendServerCommunicator
All Implemented Interfaces:
com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator

public class BungeecordBackendServerCommunicator extends Object implements com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator

    com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator.Message
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator

    CHANNEL, NAMESPACE
  • Constructor Summary

    Constructors
    Constructor
    Description
    BungeecordBackendServerCommunicator(net.md_5.bungee.api.ProxyServer server, com.gamersafer.minecraft.auth.common.abstraction.ILogger logger, com.gamersafer.minecraft.auth.common.configuration.ProxyLanguageConfiguration lang)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    hideQR(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user)
     
    void
    sendAuthStatus(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user, com.gamersafer.minecraft.auth.common.shared.messages.GSAuthUserAuthenticationStatus message)
     
    void
    sendDisabled(boolean disabled)
     
    void
    sendDisabled(String servername, boolean disabled)
     
    void
    sendQR(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user, String qr)
     
    void
    sendRequiredStatus(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user, boolean requiredSet)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • BungeecordBackendServerCommunicator

      public BungeecordBackendServerCommunicator(net.md_5.bungee.api.ProxyServer server, com.gamersafer.minecraft.auth.common.abstraction.ILogger logger, com.gamersafer.minecraft.auth.common.configuration.ProxyLanguageConfiguration lang)
  • Method Details

    • sendAuthStatus

      public void sendAuthStatus(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user, com.gamersafer.minecraft.auth.common.shared.messages.GSAuthUserAuthenticationStatus message)
      Specified by:
      sendAuthStatus in interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator
    • sendRequiredStatus

      public void sendRequiredStatus(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user, boolean requiredSet)
      Specified by:
      sendRequiredStatus in interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator
    • sendQR

      public void sendQR(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user, String qr)
      Specified by:
      sendQR in interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator
    • hideQR

      public void hideQR(com.gamersafer.minecraft.auth.common.shared.model.api.UserIdentity user)
      Specified by:
      hideQR in interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator
    • sendDisabled

      public void sendDisabled(boolean disabled)
      Specified by:
      sendDisabled in interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator
    • sendDisabled

      public void sendDisabled(String servername, boolean disabled)
      Specified by:
      sendDisabled in interface com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator