Package com.iohao.net.framework.core.flow
package com.iohao.net.framework.core.flow
Provides the action invocation flow model, context propagation, and execution pipeline contracts
used to process business requests end to end.
- Author:
- 渔民小镇
- date:
- 2021-12-12
-
ClassDescriptionPost-action processor responsible for handling the action method result, typically encoding and sending the response.Exception handling for ActionMethodInterceptor interface for pre/post processing of action method invocations.Strategy interface for invoking action methods via
MethodHandle.Default implementation ofFlowContextwith Lombok-generated getters and setters.Flow-level attachment communication for reading and writing request-scoped attachment data.Flow-level communication for binding or unbinding a user session to specific logic servers.Flow-level broadcast communication providing methods to broadcast messages to the requesting user (broadcastMe) with various data type overloads.Base interface for flow communication, providing access to the server, request, executor, and communication infrastructure.FlowCommunicationEventBusThe FlowContext's lifecycle is limited to the duration of a single request flow.FlowContextFactory, used to create FlowContextFlow-level communication for sending requests to external servers.Flow-level communication for writing response data back to the external client, supporting various data types and list encodings.Flow-level cross-logic-server collect call communication for broadcasting requests to all logic servers.Flow-level cross-logic-server call communication.Flow-level fire-and-forget message sending to other logic servers.