Interface LogicCommunication

All Superinterfaces:
PublisherCommunication
All Known Subinterfaces:
CommunicationAggregation
All Known Implementing Classes:
DefaultCommunicationAggregation

public interface LogicCommunication extends PublisherCommunication
Interface for inter-logic-server communication.

Extends PublisherCommunication and provides fire-and-forget sending, asynchronous call, and blocking call methods for logic-to-logic messaging.

Since:
25.1
Author:
渔民小镇
date:
2025-09-04
  • Method Details

    • send

      void send(SendMessage message)
      Send a message to another logic server without expecting a response (fire-and-forget).
      Parameters:
      message - the send message
    • callFuture

      Call another logic server asynchronously and return a future for the response.
      Parameters:
      message - the request message
      Returns:
      a CompletableFuture that completes with the response
    • call

      Response call(RequestMessage message)
      Call another logic server and block until a response is received.
      Parameters:
      message - the request message
      Returns:
      the response from the target logic server