Class AccessTokenConfiguration


  • public class AccessTokenConfiguration
    extends java.lang.Object
    Configuration containing an access token
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessTokenConfiguration​(int client, java.lang.String accessToken, java.lang.String refreshToken)
      Creates a new AccessToken based login configuration instance for the specified client.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKicks()
      This connection is registered to receive the kick messages returned by this procedure.
      void setKicks​(java.lang.String kicks)
      This connection is registered to receive the specified kick messages.
      void setLanguage​(char language)
      Sets the logon language.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccessTokenConfiguration

        public AccessTokenConfiguration​(int client,
                                        java.lang.String accessToken,
                                        java.lang.String refreshToken)
        Creates a new AccessToken based login configuration instance for the specified client. The default value for the logon language is english.
        Parameters:
        client - UC4 client between 0 and 9999
        accessToken - accessToken
        refreshToken - refreshToken
    • Method Detail

      • setLanguage

        public void setLanguage​(char language)
        Sets the logon language.
        Parameters:
        language - E(English), F(French) or D(German)
      • getKicks

        public java.lang.String getKicks()
        This connection is registered to receive the kick messages returned by this procedure. Kick messages are sent from the AE to the connected client when certain events occur in the AE.
        Returns:
        Comma separated list of kick messages.
      • setKicks

        public void setKicks​(java.lang.String kicks)
        This connection is registered to receive the specified kick messages.
        Parameters:
        kicks - Comma separated list of kick messages.