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

net.i2p.data.i2np.TunnelBuildMessage 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 message with 8 records.
 */
public class TunnelBuildMessage extends TunnelBuildMessageBase {

    public static final int MESSAGE_TYPE = 21;

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

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

    public int getType() { return MESSAGE_TYPE; }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy