public enum MasterServerType extends Enum<MasterServerType>
MasterServerType class.
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getMasterAddress()
Getter for the field
masterAddress . |
static MasterServerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MasterServerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MasterServerType SOURCE
public static final MasterServerType GOLDSRC
public static MasterServerType[] values()
for (MasterServerType c : MasterServerType.values()) System.out.println(c);
public static MasterServerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic InetSocketAddress getMasterAddress()
Getter for the field masterAddress
.
InetSocketAddress
objectCopyright © 2016–2024. All rights reserved.