Package net.i2p.data.i2np
Class TunnelBuildReplyMessage
java.lang.Object
net.i2p.data.i2np.I2NPMessageImpl
net.i2p.data.i2np.TunnelBuildMessageBase
net.i2p.data.i2np.TunnelBuildReplyMessage
- All Implemented Interfaces:
I2NPMessage
- Direct Known Subclasses:
OutboundTunnelBuildReplyMessage
,ShortTunnelBuildReplyMessage
,VariableTunnelBuildReplyMessage
public class TunnelBuildReplyMessage extends TunnelBuildMessageBase
The basic build reply message with 8 records.
Transmitted from the new outbound endpoint to the creator through a
reply tunnel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.i2p.data.i2np.I2NPMessageImpl
I2NPMessageImpl.Builder
-
Field Summary
Fields Modifier and Type Field Description static int
MESSAGE_TYPE
Fields inherited from class net.i2p.data.i2np.TunnelBuildMessageBase
_records, MAX_RECORD_COUNT, RECORD_COUNT, RECORD_SIZE
Fields inherited from class net.i2p.data.i2np.I2NPMessageImpl
_context, _expiration, _log, CHECKSUM_LENGTH, DEFAULT_EXPIRATION_MS, HEADER_LENGTH
-
Constructor Summary
Constructors Modifier Constructor Description TunnelBuildReplyMessage(I2PAppContext context)
protected
TunnelBuildReplyMessage(I2PAppContext context, int records)
-
Method Summary
Methods inherited from class net.i2p.data.i2np.TunnelBuildMessageBase
calculateWrittenLength, getRecord, getRecordCount, readMessage, setRecord, writeMessageBody
Methods inherited from class net.i2p.data.i2np.I2NPMessageImpl
createMessage, fromRawByteArray, fromRawByteArrayNTCP2, getMessageExpiration, getMessageSize, getRawMessageSize, getUniqueId, readBytes, readBytes, readBytes, readMessage, registerBuilder, setMessageExpiration, setUniqueId, toByteArray, toByteArray, toByteArray, toRawByteArray, toRawByteArrayNTCP2, writeBytes
-
Field Details
-
MESSAGE_TYPE
public static final int MESSAGE_TYPE- See Also:
- Constant Field Values
-
-
Constructor Details
-
TunnelBuildReplyMessage
-
TunnelBuildReplyMessage
- Since:
- 0.7.12
-
-
Method Details
-
getType
public int getType()Description copied from interface:I2NPMessage
Return the unique identifier for this type of I2NP message, as defined in the I2NP spec -
toString
-