net.i2p.data.i2np
Class TunnelBuildReplyMessage

java.lang.Object
  extended by net.i2p.data.DataStructureImpl
      extended by net.i2p.data.i2np.I2NPMessageImpl
          extended by net.i2p.data.i2np.TunnelBuildMessageBase
              extended by net.i2p.data.i2np.TunnelBuildReplyMessage
All Implemented Interfaces:
DataStructure, I2NPMessage
Direct Known Subclasses:
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
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, _uniqueId, CHECKSUM_LENGTH, DEFAULT_EXPIRATION_MS, HEADER_LENGTH
 
Fields inherited from interface net.i2p.data.i2np.I2NPMessage
MAX_ID_VALUE, MAX_SIZE
 
Constructor Summary
  TunnelBuildReplyMessage(I2PAppContext context)
           
protected TunnelBuildReplyMessage(I2PAppContext context, int records)
           
 
Method Summary
 int getType()
          Return the unique identifier for this type of I2NP message, as defined in the I2NP spec
 String toString()
           
 
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, getMessageExpiration, getMessageSize, getRawMessageSize, getUniqueId, readBytes, readBytes, readBytes, readBytes, readMessage, registerBuilder, setMessageExpiration, setUniqueId, toByteArray, toByteArray, toRawByteArray, writeBytes
 
Methods inherited from class net.i2p.data.DataStructureImpl
calculateHash, fromBase64, fromByteArray, read, toBase64
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.i2p.data.DataStructure
calculateHash, fromBase64, fromByteArray, toBase64
 

Field Detail

MESSAGE_TYPE

public static final int MESSAGE_TYPE
See Also:
Constant Field Values
Constructor Detail

TunnelBuildReplyMessage

public TunnelBuildReplyMessage(I2PAppContext context)

TunnelBuildReplyMessage

protected TunnelBuildReplyMessage(I2PAppContext context,
                                  int records)
Since:
0.7.12
Method Detail

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

public String toString()
Overrides:
toString in class Object