Class ServerConnector1
java.lang.Object
studio.magemonkey.genesis.managers.serverpinging.ServerConnector1
- All Implemented Interfaces:
ServerConnector
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetchData(ServerInfo info) intbooleanupdate(ServerInfo info) Update the server info or notvoidwriteVarInt(DataOutputStream out, int paramInt)
-
Constructor Details
-
ServerConnector1
public ServerConnector1()
-
-
Method Details
-
update
Description copied from interface:ServerConnectorUpdate the server info or not- Specified by:
updatein interfaceServerConnector- Parameters:
info- info to update- Returns:
- updaed or not
-
fetchData
public ServerConnector1.StatusResponse fetchData(ServerInfo info) throws IOException, IllegalStateException - Throws:
IOExceptionIllegalStateException
-
readVarInt
- Throws:
IOException
-
writeVarInt
- Throws:
IOException
-