Class QueryDetails
- java.lang.Object
-
- in.dragonbra.javasteam.steam.handlers.steammasterserver.QueryDetails
-
public class QueryDetails extends java.lang.ObjectDetails used when performing a server list query.
-
-
Constructor Summary
Constructors Constructor Description QueryDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAppID()java.lang.StringgetFilter()Check https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol for details on how the filter is structured.java.net.InetAddressgetGeoLocatedIP()This is done to return servers closer to this location.intgetMaxServers()ERegionCodegetRegion()voidsetAppID(int appID)voidsetFilter(java.lang.String filter)Check https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol for details on how the filter is structured.voidsetGeoLocatedIP(java.net.InetAddress geoLocatedIP)This is done to return servers closer to this location.voidsetMaxServers(int maxServers)voidsetRegion(ERegionCode region)
-
-
-
Method Detail
-
getAppID
public int getAppID()
- Returns:
- the AppID used when querying servers
-
setAppID
public void setAppID(int appID)
- Parameters:
appID- the AppID used when querying servers
-
getFilter
public java.lang.String getFilter()
Check https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol for details on how the filter is structured.- Returns:
- the filter used for querying the master server
-
setFilter
public void setFilter(java.lang.String filter)
Check https://developer.valvesoftware.com/wiki/Master_Server_Query_Protocol for details on how the filter is structured.- Parameters:
filter- the filter used for querying the master server
-
getRegion
public ERegionCode getRegion()
- Returns:
- the region that servers will be returned from
-
setRegion
public void setRegion(ERegionCode region)
- Parameters:
region- the region that servers will be returned from
-
getGeoLocatedIP
public java.net.InetAddress getGeoLocatedIP()
This is done to return servers closer to this location.- Returns:
- the IP address that will be GeoIP located
-
setGeoLocatedIP
public void setGeoLocatedIP(java.net.InetAddress geoLocatedIP)
This is done to return servers closer to this location.- Parameters:
geoLocatedIP- the IP address that will be GeoIP located
-
getMaxServers
public int getMaxServers()
- Returns:
- the maximum number of servers to return
-
setMaxServers
public void setMaxServers(int maxServers)
- Parameters:
maxServers- the maximum number of servers to return
-
-