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

bt.protocol.Interested Maven / Gradle / Ivy

There is a newer version: 1.10
Show newest version
package bt.protocol;

/**
 * @since 1.0
 */
public final class Interested implements Message {

    private Interested() {
    }

    private static final Interested instance = new Interested();

    /**
     * @since 1.0
     */
    public static Interested instance() {
        return instance;
    }

    @Override
    public String toString() {
        return "[" + this.getClass().getSimpleName() + "]";
    }

    @Override
    public Integer getMessageId() {
        return StandardBittorrentProtocol.INTERESTED_ID;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy