Package com.uc4.communication
Class AccessTokenConfiguration
java.lang.Object
com.uc4.communication.AccessTokenConfiguration
Configuration containing an access token
-
Constructor Summary
ConstructorsConstructorDescriptionAccessTokenConfiguration
(int client, String accessToken, String refreshToken) Creates a new AccessToken based login configuration instance for the specified client. -
Method Summary
Modifier and TypeMethodDescriptiongetKicks()
This connection is registered to receive the kick messages returned by this procedure.void
This connection is registered to receive the specified kick messages.void
setLanguage
(char language) Sets the logon language.
-
Constructor Details
-
AccessTokenConfiguration
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 9999accessToken
- accessTokenrefreshToken
- refreshToken
-
-
Method Details
-
setLanguage
public void setLanguage(char language) Sets the logon language.- Parameters:
language
- E(English), F(French) or D(German)
-
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
This connection is registered to receive the specified kick messages.- Parameters:
kicks
- Comma separated list of kick messages.
-