Uses of Interface
com.iohao.net.framework.protocol.ExternalResponse
Packages that use ExternalResponse
Package
Description
Provides handlers and callbacks for processing external-server specific internal network events
received from Aeron channels.
Provides communication contracts and adapters used for request/response delivery, broadcasts, and
cross-service messaging within the framework runtime.
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.
-
Uses of ExternalResponse in com.iohao.net.external.core.net.external
Methods in com.iohao.net.external.core.net.external that return ExternalResponseModifier and TypeMethodDescriptionOnExternalContext.response()Returns the value of theresponserecord component.Constructors in com.iohao.net.external.core.net.external with parameters of type ExternalResponseModifierConstructorDescriptionOnExternalContext(UserSessions<?, ?> userSessions, ExternalResponse response, long userId, boolean verifyIdentity, byte[] payload, int payloadLength) Creates an instance of aOnExternalContextrecord class. -
Uses of ExternalResponse in com.iohao.net.framework.communication
Methods in com.iohao.net.framework.communication that return ExternalResponseModifier and TypeMethodDescriptionExternalCommunication.callExternal(ExternalRequestMessage message) Send a request to an external server and block until a response is received.default ExternalResponseExternalCommunicationDecorator.callExternal(int templateId) Synchronously call a single external server with the given template ID and no payload.default ExternalResponseExternalCommunicationDecorator.callExternal(int templateId, byte[] payload) Synchronously call a single external server with the given template ID and payload.default ExternalResponseExternalCommunicationDecorator.callExternal(ExternalRequestMessage message) Synchronously call a single external server.Methods in com.iohao.net.framework.communication that return types with arguments of type ExternalResponseModifier and TypeMethodDescriptionExternalCommunication.callExternalFuture(ExternalRequestMessage message) Send a request to an external server asynchronously.default CompletableFuture<ExternalResponse> ExternalCommunicationDecorator.callExternalFuture(int templateId) Asynchronously call a single external server with the given template ID and no payload.default CompletableFuture<ExternalResponse> ExternalCommunicationDecorator.callExternalFuture(int templateId, byte[] payload) Asynchronously call a single external server with the given template ID and payload.default CompletableFuture<ExternalResponse> ExternalCommunicationDecorator.callExternalFuture(ExternalRequestMessage message) Asynchronously call a single external server, returning a future.Method parameters in com.iohao.net.framework.communication with type arguments of type ExternalResponseModifier and TypeMethodDescriptiondefault voidExternalCommunicationDecorator.callExternalAsync(int templateId, byte[] payload, Consumer<ExternalResponse> action) Call a single external server asynchronously with the given template ID and payload.default voidExternalCommunicationDecorator.callExternalAsync(int templateId, Consumer<ExternalResponse> action) Call a single external server asynchronously with the given template ID and no payload.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. -
Uses of ExternalResponse in com.iohao.net.framework.protocol
Classes in com.iohao.net.framework.protocol that implement ExternalResponseModifier and TypeClassDescriptionfinal classConcrete response message returned from an external (Netty) server to a logic server.Methods in com.iohao.net.framework.protocol that return types with arguments of type ExternalResponseModifier and TypeMethodDescriptionResponseCollectExternal.getResponseList()Get the list of responses collected from external servers.ResponseCollectExternalMessage.getResponseList()Individual responses collected from external servers.default Optional<ExternalResponse> ResponseCollectExternal.optionalAnySuccess()Return anOptionalcontaining any successful response, or empty if none succeeded.Method parameters in com.iohao.net.framework.protocol with type arguments of type ExternalResponseModifier and TypeMethodDescriptionvoidResponseCollectExternalMessage.setResponseList(List<ExternalResponse> responseList) Individual responses collected from external servers. -
Uses of ExternalResponse in com.iohao.net.server
Methods in com.iohao.net.server that return ExternalResponseModifier and TypeMethodDescriptionDefaultCommunicationAggregation.callExternal(ExternalRequestMessage message) Methods in com.iohao.net.server that return types with arguments of type ExternalResponseModifier and TypeMethodDescriptionDefaultCommunicationAggregation.callExternalFuture(ExternalRequestMessage message)