bt.protocol.KeepAlive Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bt-core Show documentation
Show all versions of bt-core Show documentation
BitTorrent Client Library (Core)
package bt.protocol;
/**
* @since 1.0
*/
public final class KeepAlive implements Message {
private KeepAlive() {
}
private static final KeepAlive instance = new KeepAlive();
/**
* @since 1.0
*/
public static KeepAlive instance() {
return instance;
}
@Override
public String toString() {
return "[" + this.getClass().getSimpleName() + "]";
}
@Override
public Integer getMessageId() {
throw new UnsupportedOperationException();
}
}