Interface EventBusRegion
public interface EventBusRegion
Event Bus Management Domain
1. Manages subscriber information of other processes. 2. If multiple logic services are started within one process, the subscribers of these logic services will be added here.
- Since:
- 21
- Author:
- 渔民小镇
- date:
- 2023-12-24
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetEventBus(int serverId) listLocalSubscriber(EventBusMessage eventBusMessage) Gets all subscribers in the current process based on the event messagelistRemoteEventServerMessage(EventBusMessage eventBusMessage) voidloadRemoteEventTopic(EventServerMessage eventServerMessage) voidunloadRemoteTopic(EventServerMessage eventServerMessage)
-
Method Details
-
getEventBus
-
addLocal
-
listLocalSubscriber
Gets all subscribers in the current process based on the event message- Parameters:
eventBusMessage- The event message- Returns:
- All subscribers in the current process
-
loadRemoteEventTopic
-
unloadRemoteTopic
-
listRemoteEventServerMessage
-