| Package | Description |
|---|---|
| com.github.theholywaffle.teamspeak3 |
| Modifier and Type | Method and Description |
|---|---|
TS3Config |
TS3Config.setCommandTimeout(int commandTimeout)
Sets how long the query should wait for any response to a command before disconnecting.
|
TS3Config |
TS3Config.setConnectionHandler(ConnectionHandler connectionHandler)
Sets the
ConnectionHandler that defines the query's behaviour
when connecting or disconnecting. |
TS3Config |
TS3Config.setEnableCommunicationsLogging(boolean enable)
Setting this value to
true will log the communication between the
query client and the TS3 server at the DEBUG level. |
TS3Config |
TS3Config.setFloodRate(TS3Query.FloodRate rate)
Sets the delay between sending commands.
|
TS3Config |
TS3Config.setHost(String host)
Sets the hostname or IP address of the TeamSpeak3 server to connect to.
|
TS3Config |
TS3Config.setLoginCredentials(String username,
String password)
Authenticates the query with the TeamSpeak3 server using the given login credentials
immediately after connecting.
|
TS3Config |
TS3Config.setProtocol(TS3Query.Protocol protocol)
Defines the protocol used to connect to the TeamSpeak3 server.
|
TS3Config |
TS3Config.setQueryPort(int queryPort)
Sets the query port to use when connecting to the TeamSpeak3 server.
|
TS3Config |
TS3Config.setReconnectStrategy(ReconnectStrategy reconnectStrategy)
Sets what strategy the query uses to reconnect after having been disconnected.
|
| Constructor and Description |
|---|
TS3Query(TS3Config config)
Creates a customized TS3Query that connects to a server
specified by
config. |
Released under the MIT license.