Class StatusDetails
- java.lang.Object
-
- in.dragonbra.javasteam.steam.handlers.steamgameserver.StatusDetails
-
public class StatusDetails extends java.lang.ObjectRepresents the details of the game server's current status.
-
-
Constructor Summary
Constructors Constructor Description StatusDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddressgetAddress()intgetAppID()java.lang.StringgetGameDirectory()intgetPort()intgetQueryPort()java.util.EnumSet<EServerFlags>getServerFlags()java.lang.StringgetVersion()voidsetAddress(java.net.InetAddress address)voidsetAppID(int appID)voidsetGameDirectory(java.lang.String gameDirectory)voidsetPort(int port)voidsetQueryPort(int queryPort)voidsetServerFlags(java.util.EnumSet<EServerFlags> serverFlags)voidsetVersion(java.lang.String version)
-
-
-
Method Detail
-
getAppID
public int getAppID()
- Returns:
- the AppID this game server is serving
-
setAppID
public void setAppID(int appID)
- Parameters:
appID- the AppID this game server is serving
-
getServerFlags
public java.util.EnumSet<EServerFlags> getServerFlags()
- Returns:
- the server's basic state as flags
-
setServerFlags
public void setServerFlags(java.util.EnumSet<EServerFlags> serverFlags)
- Parameters:
serverFlags- the server's basic state as flags
-
getGameDirectory
public java.lang.String getGameDirectory()
- Returns:
- the directory the game data is in
-
setGameDirectory
public void setGameDirectory(java.lang.String gameDirectory)
- Parameters:
gameDirectory- the directory the game data is in
-
getAddress
public java.net.InetAddress getAddress()
- Returns:
- the IP address the game server listens on
-
setAddress
public void setAddress(java.net.InetAddress address)
- Parameters:
address- the IP address the game server listens on
-
getPort
public int getPort()
- Returns:
- the port the game server listens on
-
setPort
public void setPort(int port)
- Parameters:
port- the port the game server listens on
-
getQueryPort
public int getQueryPort()
- Returns:
- the port the game server responds to queries on
-
setQueryPort
public void setQueryPort(int queryPort)
- Parameters:
queryPort- the port the game server responds to queries on
-
getVersion
public java.lang.String getVersion()
- Returns:
- the current version of the game server
-
setVersion
public void setVersion(java.lang.String version)
- Parameters:
version- the current version of the game server
-
-