Package net.streamlinecloud.main
Class StreamlineCloud
java.lang.Object
net.streamlinecloud.main.StreamlineCloud
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleandownload(String url, String file, CloudGroup.DownloadResponse response) static Stringstatic intstatic booleanisPortAvailable(int port) Checks if a port is available.static voidstatic voidlog(String msg, ReplacePaket[] packets) static voidstatic voidlogImportant(String msg) static voidstatic voidprintError(String error, Exception e) static Stringstatic voidstatic voidshutDown()static String
-
Constructor Details
-
StreamlineCloud
public StreamlineCloud()
-
-
Method Details
-
generateUniquePort
public static int generateUniquePort() -
isPortAvailable
public static boolean isPortAvailable(int port) Checks if a port is available.- Parameters:
port- the port to check in the range of 1-65535- Returns:
- true if the port is available, false otherwise.
-
log
-
log
-
logError
-
logImportant
-
printError
-
logSingle
-
serverLog
-
shutDown
public static void shutDown() -
generateApiKey
-
download
-
readyBanner
-
streamlineBanner
-