|
Callback interface for servers. You can supply an implementation of this to receive notification messages from the server. If an added callback ever throws an exception or goes away, it will be automatically removed. Please note that all callbacks are done asynchronously; murmur does not wait for the callback to complete before continuing processing. Note that callbacks are removed when a server is stopped, so you should have a callback for MetaCallback::started which calls Server::addCallback.
Called when a user connects to the server.
Called when a user disconnects from the server. The user has already been removed, so you can no longer use methods like Server::getState to retrieve the user's state.
Called when a user state changes. This is called if the user moves, is renamed, is muted, deafened etc.
Called when a new channel is created.
Called when a channel is removed. The channel has already been removed, you can no longer use methods like Server::getChannelState
Called when a new channel state changes. This is called if the channel is moved, renamed or if new links are added.
|