Package com.iohao.net.framework.communication
package com.iohao.net.framework.communication
Provides communication contracts and adapters used for request/response delivery, broadcasts, and
cross-service messaging within the framework runtime.
- Author:
- 渔民小镇
- date:
- 2024-08-05
-
ClassDescriptionAggregate broadcast communication interface combining multicast, unicast, and user-list broadcast capabilities.Decorator providing multicast broadcast methods to send messages to all connected users.Decorator providing unicast broadcast methods to send messages to a specific user by ID.Decorator providing broadcast methods to send messages to a list of users by their IDs.Base decorator interface providing access to the communication aggregation, trace ID, and current executor.Aggregate communication interface combining broadcast, logic call, external, and send capabilities.Framework network communication aggregation interface.Utility class providing static access to the global communication infrastructure.Enum representing the type of communication for a request flow.Default implementation of
Communicationthat delegates to the globalCommunicationAggregation.Default implementation ofFutureManagerbacked by a concurrent map.Communication interface for dispatchingEventBusMessageevents to remote logic servers.Communication interface for collecting aggregated responses from multiple external (client-facing) servers.Interface for communicating with external (client-facing) servers.Decorator interface providing convenience methods for communicating with external (client-facing) servers.Manage the lifecycle ofCompletableFutureinstances used for asynchronous request-response communication between servers.Decorator providing cross-logic-server collect-style calls that aggregate responses from multiple logic servers.Decorator providing cross-logic-server synchronous and asynchronous call methods with various data type overloads.Communication interface for collecting aggregated responses from multiple logic servers.Interface for inter-logic-server communication.Decorator interface that provides convenience factory methods for creatingRequestMessageinstances with various data types.Decorator providing fire-and-forget message sending to other logic servers.Interface for publishing messages to other servers in the cluster.Broadcast message delivery scoped to a specific set of users.