Interface InternalMessagingService

All Known Implementing Classes:
LuckPermsMessagingService

public interface InternalMessagingService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the messaging service
    net.luckperms.api.messenger.Messenger
     
    net.luckperms.api.messenger.MessengerProvider
     
    Gets the name of this messaging service
    Gets the buffer for sending updates to other servers
    void
    pushCustomPayload(String channelId, String payload)
    Pushes a custom payload to connected servers.
    void
    pushLog(net.luckperms.api.actionlog.Action logEntry)
    Pushes a log entry to connected servers.
    void
    Uses the messaging service to inform other servers about a general change.
    void
    Pushes an update for a specific user.
  • Method Details

    • getName

      String getName()
      Gets the name of this messaging service
      Returns:
      the name of this messaging service
    • getMessenger

      net.luckperms.api.messenger.Messenger getMessenger()
    • getMessengerProvider

      net.luckperms.api.messenger.MessengerProvider getMessengerProvider()
    • close

      void close()
      Closes the messaging service
    • getUpdateBuffer

      BufferedRequest<Void> getUpdateBuffer()
      Gets the buffer for sending updates to other servers
      Returns:
      the update buffer
    • pushUpdate

      void pushUpdate()
      Uses the messaging service to inform other servers about a general change.
    • pushUserUpdate

      void pushUserUpdate(User user)
      Pushes an update for a specific user.
      Parameters:
      user - the user
    • pushLog

      void pushLog(net.luckperms.api.actionlog.Action logEntry)
      Pushes a log entry to connected servers.
      Parameters:
      logEntry - the log entry
    • pushCustomPayload

      void pushCustomPayload(String channelId, String payload)
      Pushes a custom payload to connected servers.
      Parameters:
      channelId - the channel id
      payload - the payload