パッケージ org.piax.gtrans.ov.ring

クラス ReplyMessage

java.lang.Object
org.piax.gtrans.ov.ring.ResponseMessage
org.piax.gtrans.ov.ring.ReplyMessage
すべての実装されたインタフェース:
Serializable
直系の既知のサブクラス:
RQReplyMessage

public abstract class ReplyMessage
extends ResponseMessage
a base class for a reply message.
関連項目:
直列化された形式
  • フィールド詳細

    • replyId

      public final int replyId
      reply先のrequestを指定する
    • ackId

      protected final int ackId
      ack先のrequestを指定する.通常はreplyIdと等しいが, isRoot and isDirectReturn の場合には異なる
  • コンストラクタの詳細

    • ReplyMessage

      public ReplyMessage​(RingManager<?> manager, RequestMessage req, List<DdllKey> unavailableKeys)
      compose a reply message for the specified RequestMessage.
      パラメータ:
      manager - the manager
      req - the RequestMessage to which corresponds this ReplyMessage
      unavailableKeys - unavailable keys
  • メソッドの詳細

    • reply

      public void reply()
      send a reply message. the destination node is automatically determined from the request message.
    • getSender

      public Endpoint getSender()