Interface BroadcastUserListCommunicationDecorator

All Superinterfaces:
CommonDecorator
All Known Subinterfaces:
Communication, FlowBroadcastCommunication, FlowContext
All Known Implementing Classes:
DefaultCommunication, DefaultFlowContext

public interface BroadcastUserListCommunicationDecorator extends CommonDecorator
Decorator providing broadcast methods to send messages to a list of users by their IDs.
Since:
25.1
Author:
渔民小镇
date:
2025-09-28
  • Method Details

    • broadcast

      default void broadcast(BroadcastUserListMessage message)
      Broadcast a pre-built user-list message. @see #broadcastUsers(Collection, CmdInfo, byte[])
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo, byte[] data)
      Broadcast raw bytes to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo)
      Broadcast with no payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo, int data)
      Broadcast with int payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo, long data)
      Broadcast with long payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo, boolean data)
      Broadcast with boolean payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo, String data)
      Broadcast with String payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo, Object data)
      Broadcast with Object payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsers

      default void broadcastUsers(Collection<Long> userIdList, CmdInfo cmdInfo, List<?> dataList)
      Broadcast with List payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsersListInt

      default void broadcastUsersListInt(Collection<Long> userIdList, CmdInfo cmdInfo, List<Integer> dataList)
      Broadcast with List<Integer> payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsersListLong

      default void broadcastUsersListLong(Collection<Long> userIdList, CmdInfo cmdInfo, List<Long> dataList)
      Broadcast with List<Long> payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsersListBool

      default void broadcastUsersListBool(Collection<Long> userIdList, CmdInfo cmdInfo, List<Boolean> dataList)
      Broadcast with List<Boolean> payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)
    • broadcastUsersListString

      default void broadcastUsersListString(Collection<Long> userIdList, CmdInfo cmdInfo, List<String> dataList)
      Broadcast with List<String> payload to a list of users. @see #broadcastUsers(Collection, CmdInfo, byte[], Object)