public class QueryDetails
extends java.lang.Object
| Constructor and Description |
|---|
QueryDetails() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAppID() |
java.lang.String |
getFilter()
Check https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol for details on how the filter is structured.
|
java.net.InetAddress |
getGeoLocatedIP()
This is done to return servers closer to this location.
|
int |
getMaxServers() |
ERegionCode |
getRegion() |
void |
setAppID(int appID) |
void |
setFilter(java.lang.String filter)
Check https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol for details on how the filter is structured.
|
void |
setGeoLocatedIP(java.net.InetAddress geoLocatedIP)
This is done to return servers closer to this location.
|
void |
setMaxServers(int maxServers) |
void |
setRegion(ERegionCode region) |
public int getAppID()
public void setAppID(int appID)
appID - the AppID used when querying serverspublic java.lang.String getFilter()
public void setFilter(java.lang.String filter)
filter - the filter used for querying the master serverpublic ERegionCode getRegion()
public void setRegion(ERegionCode region)
region - the region that servers will be returned frompublic java.net.InetAddress getGeoLocatedIP()
public void setGeoLocatedIP(java.net.InetAddress geoLocatedIP)
geoLocatedIP - the IP address that will be GeoIP locatedpublic int getMaxServers()
public void setMaxServers(int maxServers)
maxServers - the maximum number of servers to return