Interface FlowBindingLogicServerCommunication
- All Superinterfaces:
CommonDecorator, ExternalCommunicationDecorator, FlowCommon, FlowExternalCommunication
- All Known Subinterfaces:
FlowContext
- All Known Implementing Classes:
DefaultFlowContext
Flow-level communication for binding or unbinding a user session to specific logic servers.
This is an enterprise feature; default implementations throw
EnterpriseSupportException.- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-10-09
-
Method Summary
Modifier and TypeMethodDescriptiondefault CommonResponsebindingLogicServer(BindingEnum operation, int[] logicServerIds) Bind or unbind the current user session to the specified logic servers.default CommonResponseClear all logic server bindings for the current user session.Methods inherited from interface CommonDecorator
getCommunicationAggregationMethods inherited from interface ExternalCommunicationDecorator
bindingLogicServer, callExternal, callExternal, callExternal, callExternalAsync, callExternalAsync, callExternalAsync, callExternalAsync, callExternalCollect, callExternalCollect, callExternalCollect, callExternalCollectAsync, callExternalCollectAsync, callExternalCollectAsync, callExternalCollectAsync, callExternalCollectFuture, callExternalCollectFuture, callExternalCollectFuture, callExternalFuture, callExternalFuture, callExternalFuture, ofExternalRequestMessageMethods inherited from interface FlowCommon
execute, executeUser, executeVirtual, getBarSkeleton, getCmdInfo, getCommunicationType, getCurrentExecutor, getCurrentThreadExecutor, getExecutorRegion, getRequest, getServer, getServerId, getThreadIndex, getTraceId, getUserId, getUserThreadExecutor, getVirtualThreadExecutor, setMethodResult, setUserIdMethods inherited from interface FlowExternalCommunication
ofExternalRequestMessage
-
Method Details
-
bindingLogicServer
Bind or unbind the current user session to the specified logic servers.- Parameters:
operation- the binding operation (bind or unbind)logicServerIds- the IDs of the logic servers to bind or unbind- Returns:
- the response indicating success or failure
-
clearBindingLogicServer
Clear all logic server bindings for the current user session.- Returns:
- the response indicating success or failure
-