Package zombie.core.znet
Class ServerBrowser
java.lang.Object
zombie.core.znet.ServerBrowser
public class ServerBrowser
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ServerBrowser() -
Method Summary
Modifier and Type Method Description static intGetServerCount()static GameServerDetailsGetServerDetails(int serverIndex)static GameServerDetailsGetServerDetails(java.lang.String host, int port)static GameServerDetailsGetServerDetailsSync(java.lang.String host, int port)static java.util.ListGetServerList()static booleaninit()static booleanIsRefreshing()static booleanQueryServer(java.lang.String host, int port)static voidRefreshInternetServers()static voidRelease()static voidReleaseServerQuery(java.lang.String host, int port)static booleanRequestServerRules(java.lang.String host, int port)static voidsetCallbackInterface(IServerBrowserCallback callbackInterface)static voidshutdown()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ServerBrowser
public ServerBrowser()
-
-
Method Details
-
init
public static boolean init() -
shutdown
public static void shutdown() -
RefreshInternetServers
public static void RefreshInternetServers() -
GetServerCount
public static int GetServerCount() -
GetServerDetails
-
Release
public static void Release() -
IsRefreshing
public static boolean IsRefreshing() -
QueryServer
public static boolean QueryServer(java.lang.String host, int port) -
GetServerDetails
-
ReleaseServerQuery
public static void ReleaseServerQuery(java.lang.String host, int port) -
GetServerList
public static java.util.List GetServerList() -
GetServerDetailsSync
-
RequestServerRules
public static boolean RequestServerRules(java.lang.String host, int port) -
setCallbackInterface
-