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

bt.protocol.NotInterested Maven / Gradle / Ivy

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

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

    private NotInterested() {
    }

    private static final NotInterested instance = new NotInterested();

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy