Class SendMessage

All Implemented Interfaces:
FutureMessage, RemoteMessage, Request, UserIdentity

public final class SendMessage extends RequestMessage
Fire-and-forget request message for one-way logic-to-logic server communication.

Extends RequestMessage without expecting a response. Used when a logic server needs to notify another logic server of an event or trigger an action without waiting for a result.

Since:
25.1
Author:
渔民小镇
date:
2025-09-02
  • Constructor Details

    • SendMessage

      public SendMessage()
  • Method Details

    • of

      public static SendMessage of(CmdInfo cmdInfo, byte[] data)
      Create a new SendMessage with the given command route and payload.
      Parameters:
      cmdInfo - the command route descriptor
      data - the serialized payload
      Returns:
      a new send message