Class ServerRequestMessage

java.lang.Object
com.iohao.net.framework.protocol.ServerMessage
com.iohao.net.framework.protocol.ServerRequestMessage

public final class ServerRequestMessage extends ServerMessage
Request message sent from one server to another within the cluster.

Extends ServerMessage with a future correlation id so that the caller can match the asynchronous response back to this request.

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

    • ServerRequestMessage

      public ServerRequestMessage()
  • Method Details

    • getFutureId

      public long getFutureId()
      Correlation id used to match the asynchronous response to this request.
    • setFutureId

      public void setFutureId(long futureId)
      Correlation id used to match the asynchronous response to this request.
    • toString

      public String toString()
      Overrides:
      toString in class ServerMessage