Class ClientProfile.ServerProfile
java.lang.Object
pro.gravit.launcher.base.profiles.ClientProfile.ServerProfile
- All Implemented Interfaces:
pro.gravit.launcher.core.api.features.ProfileFeatureAPI.ClientProfile.ServerInfo
- Enclosing class:
ClientProfile
public static class ClientProfile.ServerProfile
extends Object
implements pro.gravit.launcher.core.api.features.ProfileFeatureAPI.ClientProfile.ServerInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintintboolean -
Constructor Summary
ConstructorsConstructorDescriptionServerProfile(String name, String serverAddress, int serverPort) ServerProfile(String name, String serverAddress, int serverPort, boolean isDefault) -
Method Summary
-
Field Details
-
name
-
serverAddress
-
serverPort
public int serverPort -
isDefault
public boolean isDefault -
protocol
public int protocol -
socketPing
public boolean socketPing
-
-
Constructor Details
-
ServerProfile
public ServerProfile() -
ServerProfile
-
ServerProfile
-
-
Method Details
-
toSocketAddress
-
getAddress
- Specified by:
getAddressin interfacepro.gravit.launcher.core.api.features.ProfileFeatureAPI.ClientProfile.ServerInfo
-
getPort
public int getPort()- Specified by:
getPortin interfacepro.gravit.launcher.core.api.features.ProfileFeatureAPI.ClientProfile.ServerInfo
-