public static final class ServerPing.Version extends Object
Constructor and Description |
---|
Version(int protocol,
String name)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
int |
getProtocol() |
int |
hashCode() |
String |
toString() |
public Version(int protocol, String name)
protocol
- the protocol version as an integername
- a friendly name for the protocol version