Class PlatformNetworking
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.PlatformNetworking
-
public class PlatformNetworking extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description PlatformNetworking()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Boolean
connectWebSocket(java.lang.String sockURI)
static int
countAvailableReadData()
static java.lang.String
getCurrentURI()
static EnumServerRateLimit
getRateLimit()
static EnumEaglerConnectionState
playConnectionState()
static void
playDisconnect()
static byte[]
readPlayPacket()
static IServerQuery
sendServerQuery(java.lang.String uri, java.lang.String accept)
static void
startPlayConnection(java.lang.String destination)
static void
writePlayPacket(byte[] pkt)
-
-
-
Method Detail
-
playConnectionState
public static EnumEaglerConnectionState playConnectionState()
-
startPlayConnection
public static void startPlayConnection(java.lang.String destination)
-
connectWebSocket
public static java.lang.Boolean connectWebSocket(java.lang.String sockURI)
-
playDisconnect
public static void playDisconnect()
-
readPlayPacket
public static byte[] readPlayPacket()
-
countAvailableReadData
public static int countAvailableReadData()
-
writePlayPacket
public static void writePlayPacket(byte[] pkt)
-
sendServerQuery
public static IServerQuery sendServerQuery(java.lang.String uri, java.lang.String accept)
-
getRateLimit
public static EnumServerRateLimit getRateLimit()
-
getCurrentURI
public static java.lang.String getCurrentURI()
-
-