All Implemented Interfaces:
I2NPMessage
Direct Known Subclasses:
OutboundTunnelBuildReplyMessage, ShortTunnelBuildReplyMessage, VariableTunnelBuildReplyMessage

public class TunnelBuildReplyMessageextends TunnelBuildMessageBase
The basic build reply message with 8 records. Transmitted from the new outbound endpoint to the creator through a reply tunnel.
  • Field Details

    • MESSAGE_TYPE

      public static final int MESSAGE_TYPE
      I2NP message type of a build reply.
      See Also:
  • Constructor Details

    • TunnelBuildReplyMessage

      public TunnelBuildReplyMessage(I2PAppContext context)
      Passes the context on with the standard eight-record count.
      Parameters:
      context - the I2P app context, used for message ID generation
    • TunnelBuildReplyMessage

      protected TunnelBuildReplyMessage(I2PAppContext context, int records)
      Create a tunnel build reply message with a custom record count.
      Parameters:
      context - the I2P app context
      records - the number of records
  • Method Details

    • getType

      public int getType()
      The I2NP message type of a build reply.
      Returns:
      MESSAGE_TYPE, 22
    • toString

      public String toString()
      String form for debugging.
      Overrides:
      toString in class Object