public class TunnelBuildMessage extends TunnelBuildMessageBase
I2NPMessageImpl.Builder
Modifier and Type | Field and Description |
---|---|
static int |
MESSAGE_TYPE |
_records, MAX_RECORD_COUNT, RECORD_COUNT, RECORD_SIZE
_context, _expiration, _log, _uniqueId, CHECKSUM_LENGTH, DEFAULT_EXPIRATION_MS, HEADER_LENGTH
MAX_ID_VALUE, MAX_SIZE
Modifier | Constructor and Description |
---|---|
|
TunnelBuildMessage(I2PAppContext context) |
protected |
TunnelBuildMessage(I2PAppContext context,
int records) |
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() |
calculateWrittenLength, getRecord, getRecordCount, readMessage, setRecord, writeMessageBody
createMessage, fromRawByteArray, getMessageExpiration, getMessageSize, getRawMessageSize, getUniqueId, readBytes, readBytes, readBytes, readBytes, readMessage, registerBuilder, setMessageExpiration, setUniqueId, toByteArray, toByteArray, toRawByteArray, writeBytes
calculateHash, fromBase64, fromByteArray, read, toBase64
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calculateHash, fromBase64, fromByteArray, toBase64
public static final int MESSAGE_TYPE
public TunnelBuildMessage(I2PAppContext context)
protected TunnelBuildMessage(I2PAppContext context, int records)
public int getType()
I2NPMessage