public class SteamDirectory
extends java.lang.Object
| Constructor and Description |
|---|
SteamDirectory() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<ServerRecord> |
load(SteamConfiguration configuration)
Load a list of servers from the Steam Directory.
|
static java.util.List<ServerRecord> |
load(SteamConfiguration configuration,
int maxServers)
Load a list of servers from the Steam Directory.
|
public static java.util.List<ServerRecord> load(SteamConfiguration configuration) throws java.io.IOException
configuration - Configuration Objectjava.io.IOException - if the request could not be executedpublic static java.util.List<ServerRecord> load(SteamConfiguration configuration, int maxServers) throws java.io.IOException
configuration - Configuration ObjectmaxServers - Max number of servers to return. The API will typically return this number per server type
(socket and websocket). If negative, the parameter is not added to the requestjava.io.IOException - if the request could not be executed