onDone abstract method
Invoked if the connection is closed greacefully by the mumble server.
The MumbleClient will have been closed before onDone
is called, meaning
that no further callbacks will be invoked. You should not attempt to use the
object any more and instead create a new MumbleClient.
This callback will only be called if the connection was terminated greacefully by the mumble server, so it will not be called if you closed the connection using MumbleClient.close. Gracefull termination by the mumlbe server will almost never happen (exception see below), so this callback will also most likly not be called at all. Instead, onError will be used if the connection was not terminated gracefully.
If the server kicks or bans this client, it is considered gracefull and onDone
will be
called instead of onError. Before onDone
will be called, UserListener.onUserRemoved
will have been called with MumbleClient.self (given that a UserListener was registered
for MumbleClient.self first).
Implementation
void onDone();