public class TunnelBuildReplyMessage extends TunnelBuildMessageBase
I2NPMessageImpl.Builder| Modifier and Type | Field and Description |
|---|---|
static int | MESSAGE_TYPEdefault constructor |
_records, MAX_RECORD_COUNT, RECORD_COUNT, RECORD_SIZE_context, _expiration, _log, CHECKSUM_LENGTH, DEFAULT_EXPIRATION_MS, HEADER_LENGTHMAX_ID_VALUE, MAX_SIZE| Modifier | Constructor and Description |
|---|---|
| TunnelBuildReplyMessage(I2PAppContext context)TunnelBuildReplyMessage. |
protected | TunnelBuildReplyMessage(I2PAppContext context,
int records)Create a tunnel build reply message with a custom record count. |
| Modifier and Type | Method and Description |
|---|---|
int | getType()Return the unique identifier for this type of I2NP message, as defined in
the I2NP spec |
String | toString()toString. |
calculateWrittenLength, getRecord, getRecordCount, readMessage, setRecord, writeMessageBodycreateMessage, fromRawByteArray, fromRawByteArrayNTCP2, getMessageExpiration, getMessageSize, getRawMessageSize, getUniqueId, getUniqueId, readBytes, readBytes, readMessage, setMessageExpiration, setUniqueId, toByteArray, toByteArray, toByteArray, toRawByteArray, toRawByteArrayNTCP2public static final int MESSAGE_TYPE
public TunnelBuildReplyMessage(I2PAppContext context)
protected TunnelBuildReplyMessage(I2PAppContext context, int records)
context - the I2P app contextrecords - the number of recordspublic int getType()
I2NPMessage