Serializable
, DataStructure
, I2NPMessage
VariableTunnelBuildMessage
public class TunnelBuildMessage extends TunnelBuildMessageBase
I2NPMessageImpl.Builder
Modifier and Type | Field | Description |
---|---|---|
static int |
MESSAGE_TYPE |
MAX_ID_VALUE, MAX_SIZE
_context, _expiration, _log, _uniqueId, CHECKSUM_LENGTH, DEFAULT_EXPIRATION_MS, HEADER_LENGTH
_records, MAX_RECORD_COUNT, RECORD_COUNT, RECORD_SIZE
Modifier | Constructor | Description |
---|---|---|
|
TunnelBuildMessage(I2PAppContext context) |
|
protected |
TunnelBuildMessage(I2PAppContext context,
int records) |
Modifier and Type | Method | Description |
---|---|---|
int |
getType() |
Return the unique identifier for this type of I2NP message, as defined in
the I2NP spec
|
String |
toString() |
calculateHash, fromBase64, fromByteArray, toBase64
calculateHash, fromBase64, fromByteArray, read, toBase64
createMessage, fromRawByteArray, fromRawByteArrayNTCP2, getMessageExpiration, getMessageSize, getRawMessageSize, getUniqueId, readBytes, readBytes, readBytes, readBytes, readMessage, registerBuilder, setMessageExpiration, setUniqueId, toByteArray, toByteArray, toRawByteArray, writeBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calculateWrittenLength, getRecord, getRecordCount, readMessage, setRecord, writeMessageBody
public static final int MESSAGE_TYPE
public TunnelBuildMessage(I2PAppContext context)
protected TunnelBuildMessage(I2PAppContext context, int records)
public int getType()
I2NPMessage