Interface FlowBroadcastCommunication
- All Superinterfaces:
BroadcastMulticastCommunicationDecorator, BroadcastUserCommunicationDecorator, BroadcastUserListCommunicationDecorator, CommonDecorator, FlowCommon
- All Known Subinterfaces:
FlowContext
- All Known Implementing Classes:
DefaultFlowContext
public interface FlowBroadcastCommunication
extends FlowCommon, BroadcastUserCommunicationDecorator, BroadcastUserListCommunicationDecorator, BroadcastMulticastCommunicationDecorator
Flow-level broadcast communication providing methods to broadcast messages to the requesting
user (broadcastMe) with various data type overloads.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-10-09
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidbroadcastMe(CmdInfo cmdInfo) Broadcast an empty message to the requesting user.default voidbroadcastMe(CmdInfo cmdInfo, boolean data) Broadcast a boolean value to the requesting user.default voidbroadcastMe(CmdInfo cmdInfo, byte[] data) Broadcast raw byte data to the requesting user.default voidbroadcastMe(CmdInfo cmdInfo, int data) Broadcast an int value to the requesting user.default voidbroadcastMe(CmdInfo cmdInfo, long data) Broadcast a long value to the requesting user.default voidbroadcastMe(CmdInfo cmdInfo, Object data) Broadcast an Object value to the requesting user.default voidbroadcastMe(CmdInfo cmdInfo, String data) Broadcast a String value to the requesting user.default voidbroadcastMe(CmdInfo cmdInfo, List<?> dataList) Broadcast a list of objects to the requesting user.default voidbroadcastMe(BroadcastUserMessage message) Broadcast a pre-built message to the requesting user.default voidbroadcastMeListBool(CmdInfo cmdInfo, List<Boolean> dataList) Broadcast a list of boolean values to the requesting user.default voidbroadcastMeListInt(CmdInfo cmdInfo, List<Integer> dataList) Broadcast a list of int values to the requesting user.default voidbroadcastMeListLong(CmdInfo cmdInfo, List<Long> dataList) Broadcast a list of long values to the requesting user.default voidbroadcastMeListString(CmdInfo cmdInfo, List<String> dataList) Broadcast a list of String values to the requesting user.Methods inherited from interface BroadcastMulticastCommunicationDecorator
broadcast, broadcastMulticast, broadcastMulticast, broadcastMulticast, broadcastMulticast, broadcastMulticast, broadcastMulticast, broadcastMulticast, broadcastMulticast, broadcastMulticastListBool, broadcastMulticastListInt, broadcastMulticastListLong, broadcastMulticastListStringMethods inherited from interface BroadcastUserCommunicationDecorator
broadcast, broadcastUser, broadcastUser, broadcastUser, broadcastUser, broadcastUser, broadcastUser, broadcastUser, broadcastUser, broadcastUserListBool, broadcastUserListInt, broadcastUserListLong, broadcastUserListStringMethods inherited from interface BroadcastUserListCommunicationDecorator
broadcast, broadcastUsers, broadcastUsers, broadcastUsers, broadcastUsers, broadcastUsers, broadcastUsers, broadcastUsers, broadcastUsers, broadcastUsersListBool, broadcastUsersListInt, broadcastUsersListLong, broadcastUsersListStringMethods inherited from interface CommonDecorator
getCommunicationAggregationMethods inherited from interface FlowCommon
execute, executeUser, executeVirtual, getBarSkeleton, getCmdInfo, getCommunicationType, getCurrentExecutor, getCurrentThreadExecutor, getExecutorRegion, getRequest, getServer, getServerId, getThreadIndex, getTraceId, getUserId, getUserThreadExecutor, getVirtualThreadExecutor, setMethodResult, setUserId
-
Method Details
-
broadcastMe
Broadcast a pre-built message to the requesting user.- Parameters:
message- the broadcast message with user identity and data already set
-
broadcastMe
Broadcast raw byte data to the requesting user. @see #broadcastMe(CmdInfo, byte[], Object) -
broadcastMe
Broadcast an empty message to the requesting user. @see #broadcastMe(CmdInfo, byte[], Object) -
broadcastMe
Broadcast an int value to the requesting user. @see #broadcastMe(CmdInfo, byte[], Object) -
broadcastMe
Broadcast a long value to the requesting user. @see #broadcastMe(CmdInfo, byte[], Object) -
broadcastMe
Broadcast a boolean value to the requesting user. @see #broadcastMe(CmdInfo, byte[], Object) -
broadcastMe
-
broadcastMe
-
broadcastMe
-
broadcastMeListInt
-
broadcastMeListBool
-
broadcastMeListLong
-
broadcastMeListString
-