Class SteamMasterServer
- java.lang.Object
-
- in.dragonbra.javasteam.handlers.ClientMsgHandler
-
- in.dragonbra.javasteam.steam.handlers.steammasterserver.SteamMasterServer
-
public class SteamMasterServer extends ClientMsgHandler
This handler is used for requesting server list details from Steam.
-
-
Field Summary
-
Fields inherited from class in.dragonbra.javasteam.handlers.ClientMsgHandler
client
-
-
Constructor Summary
Constructors Constructor Description SteamMasterServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleMsg(IPacketMsg packetMsg)Handles a client message.JobIDserverQuery(QueryDetails details)Requests a list of servers from the Steam game master server.-
Methods inherited from class in.dragonbra.javasteam.handlers.ClientMsgHandler
getClient, isExpectDisconnection, setExpectDisconnection, setup
-
-
-
-
Method Detail
-
serverQuery
public JobID serverQuery(QueryDetails details)
Requests a list of servers from the Steam game master server. Results are returned in aQueryCallback.- Parameters:
details- The details for the request.- Returns:
- The Job ID of the request. This can be used to find the appropriate
QueryCallback.
-
handleMsg
public void handleMsg(IPacketMsg packetMsg)
Description copied from class:ClientMsgHandlerHandles a client message. This should not be called directly.- Specified by:
handleMsgin classClientMsgHandler- Parameters:
packetMsg- The packet message that contains the data.
-
-