Constructor and Description |
---|
TS3Config() |
Modifier and Type | Method and Description |
---|---|
TS3Config |
setCommandTimeout(int commandTimeout)
Sets how many milliseconds a call in
TS3Api should block at most until a command
without response fails. |
TS3Config |
setDebugLevel(Level level) |
TS3Config |
setDebugToFile(boolean debugToFile) |
TS3Config |
setFloodRate(TS3Query.FloodRate rate) |
TS3Config |
setHost(String host) |
TS3Config |
setLoginCredentials(String username,
String password) |
TS3Config |
setQueryPort(int queryPort) |
public TS3Config()
public TS3Config setQueryPort(int queryPort)
public TS3Config setFloodRate(TS3Query.FloodRate rate)
public TS3Config setDebugLevel(Level level)
public TS3Config setLoginCredentials(String username, String password)
public TS3Config setDebugToFile(boolean debugToFile)
public TS3Config setCommandTimeout(int commandTimeout)
TS3Api
should block at most until a command
without response fails. By default, this timeout is 4000 milliseconds.commandTimeout
- the maximum time to wait for a response until a synchronous command call failsIllegalArgumentException
- if the timeout value is smaller than or equal to 0
Copyright © 2015. All rights reserved.