public interface MessagingService
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of this messaging service
|
void |
pushUpdate()
Uses the messaging service to inform other servers about a general
change.
|
void |
pushUserUpdate(@NonNull User user)
Uses the messaging service to inform other servers about a change to a
specific user.
|
String getName()
void pushUpdate()
The standard response by other servers will be to execute a overall
sync of all live data, equivalent to calling
LuckPermsApi.runUpdateTask().
This will push the update asynchronously, and this method will return immediately. Note that this method will not cause an update to be processed on the local server.
void pushUserUpdate(@NonNull User user)
The standard response by other servers is undefined, however the current implementation will reload the corresponding users data if they are online.
This will push the update asynchronously, and this method will return immediately. Note that this method will not cause an update to be processed on the local server.
user - the user to push the update for