All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.i2p.data.i2np.TunnelBuildReplyMessage Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package net.i2p.data.i2np;

import net.i2p.I2PAppContext;

/**
 *  The basic build reply message with 8 records.
 * Transmitted from the new outbound endpoint to the creator through a
 * reply tunnel
 */
public class TunnelBuildReplyMessage extends TunnelBuildMessageBase {

    public static final int MESSAGE_TYPE = 22;

    public TunnelBuildReplyMessage(I2PAppContext context) {
        super(context, MAX_RECORD_COUNT);
    }

    /** @since 0.7.12 */
    protected TunnelBuildReplyMessage(I2PAppContext context, int records) {
        super(context, records);
    }

    public int getType() { return MESSAGE_TYPE; }

    @Override
    public String toString() {
        return "[TunnelBuildReplyMessage]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy