public static interface CommandFuture.FailureListener
CommandFuture
failed.
In that case, handleFailure(QueryError)
will be called with
the error sent by the TeamSpeak server.
A CommandFuture
's FailureListener
can be set by calling
CommandFuture.onFailure(FailureListener)
.
Modifier and Type | Method and Description |
---|---|
void |
handleFailure(QueryError error)
The method to be executed when the command failed.
|
void handleFailure(QueryError error)
error
- the error that was sent back from the TeamSpeak server.Copyright © 2015. All rights reserved.