Uses of Class
com.iohao.net.framework.protocol.ExternalRequestMessage
Packages that use ExternalRequestMessage
Package
Description
Provides communication contracts and adapters used for request/response delivery, broadcasts, and
cross-service messaging within the framework runtime.
Provides the action invocation flow model, context propagation, and execution pipeline contracts
used to process business requests end to end.
Provides protocol metadata and structures used to represent command routes, headers, and payload
conventions across the ionet framework.
Net-server bootstrap, routing, load-balancing, and connection coordination components.
SBE encoders used by logic servers for internal, external, and broadcast traffic.
-
Uses of ExternalRequestMessage in com.iohao.net.framework.communication
Methods in com.iohao.net.framework.communication that return ExternalRequestMessageModifier and TypeMethodDescriptionDefaultCommunication.ofExternalRequestMessage(int templateId, byte[] payload) Create anExternalRequestMessagefor communicating with external servers.default ExternalRequestMessageExternalCommunicationDecorator.ofExternalRequestMessage(int templateId) Create anExternalRequestMessagewith the given template ID and no payload.ExternalCommunicationDecorator.ofExternalRequestMessage(int templateId, byte[] payload) Create anExternalRequestMessagewith the given template ID and payload.Methods in com.iohao.net.framework.communication with parameters of type ExternalRequestMessageModifier and TypeMethodDescriptionExternalCollectCommunication.callCollectExternal(ExternalRequestMessage message) Synchronously call all external servers and collect their responses.ExternalCollectCommunication.callCollectExternalFuture(ExternalRequestMessage message) Asynchronously call all external servers and collect their responses.ExternalCommunication.callExternal(ExternalRequestMessage message) Send a request to an external server and block until a response is received.default ExternalResponseExternalCommunicationDecorator.callExternal(ExternalRequestMessage message) Synchronously call a single external server.default voidExternalCommunicationDecorator.callExternalAsync(ExternalRequestMessage message, Consumer<ExternalResponse> action) Call a single external server asynchronously and invoke the callback on the current executor.default voidExternalCommunicationDecorator.callExternalAsync(ExternalRequestMessage message, Consumer<ExternalResponse> action, Executor executor) Call a single external server asynchronously and invoke the callback on the supplied executor.default ResponseCollectExternalExternalCommunicationDecorator.callExternalCollect(ExternalRequestMessage message) Synchronously call all external servers and collect their aggregated responses.default voidExternalCommunicationDecorator.callExternalCollectAsync(ExternalRequestMessage message, Consumer<ResponseCollectExternal> action) Call all external servers asynchronously and invoke the callback on the current executor.default voidExternalCommunicationDecorator.callExternalCollectAsync(ExternalRequestMessage message, Consumer<ResponseCollectExternal> action, Executor executor) Call all external servers asynchronously and invoke the callback on the supplied executor.default CompletableFuture<ResponseCollectExternal> ExternalCommunicationDecorator.callExternalCollectFuture(ExternalRequestMessage message) Asynchronously call all external servers and collect their aggregated responses.ExternalCommunication.callExternalFuture(ExternalRequestMessage message) Send a request to an external server asynchronously.default CompletableFuture<ExternalResponse> ExternalCommunicationDecorator.callExternalFuture(ExternalRequestMessage message) Asynchronously call a single external server, returning a future. -
Uses of ExternalRequestMessage in com.iohao.net.framework.core.flow
Methods in com.iohao.net.framework.core.flow that return ExternalRequestMessageModifier and TypeMethodDescriptiondefault ExternalRequestMessageFlowExternalCommunication.ofExternalRequestMessage(int templateId, byte[] payload) Create anExternalRequestMessagetargeting the specified external server template ID, with the given payload. -
Uses of ExternalRequestMessage in com.iohao.net.framework.protocol
Methods in com.iohao.net.framework.protocol that return ExternalRequestMessageModifier and TypeMethodDescriptionExternalRequestMessage.ofClone()Create a shallow clone of this request message. -
Uses of ExternalRequestMessage in com.iohao.net.server
Methods in com.iohao.net.server with parameters of type ExternalRequestMessageModifier and TypeMethodDescriptionDefaultCommunicationAggregation.callCollectExternal(ExternalRequestMessage message) DefaultCommunicationAggregation.callCollectExternalFuture(ExternalRequestMessage message) DefaultCommunicationAggregation.callExternal(ExternalRequestMessage message) DefaultCommunicationAggregation.callExternalFuture(ExternalRequestMessage message) -
Uses of ExternalRequestMessage in com.iohao.net.server.logic.codec
Classes in com.iohao.net.server.logic.codec that implement interfaces with type arguments of type ExternalRequestMessageModifier and TypeClassDescriptionfinal classSBE encoder for external request messages.Methods in com.iohao.net.server.logic.codec with parameters of type ExternalRequestMessageModifier and TypeMethodDescriptionvoidExternalRequestMessageSbe.encoder(ExternalRequestMessage message, MessageHeaderEncoder headerEncoder, org.agrona.MutableDirectBuffer buffer)