public class SteamGameServer extends ClientMsgHandler
client| Constructor and Description |
|---|
SteamGameServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMsg(IPacketMsg packetMsg)
Handles a client message.
|
void |
logOff()
Informs the Steam servers that this client wishes to log off from the network.
|
void |
logOn(LogOnDetails details)
Logs onto the Steam network as a persistent game server.
|
void |
logOnAnonymous()
Logs the client into the Steam3 network as an anonymous game server.
|
void |
logOnAnonymous(int appId)
Logs the client into the Steam3 network as an anonymous game server.
|
void |
sendStatus(StatusDetails details)
Sends the server's status to the Steam network.
|
getClient, isExpectDisconnection, setExpectDisconnection, setuppublic void logOn(LogOnDetails details)
LoggedOnCallback.details - The details to use for logging on.public void logOnAnonymous()
LoggedOnCallback.public void logOnAnonymous(int appId)
LoggedOnCallback.appId - The AppID served by this game server, or 0 for the default.public void logOff()
DisconnectedCallback will be posted.public void sendStatus(StatusDetails details)
StatusReplyCallback callback.details - A StatusDetails object containing the server's status.public void handleMsg(IPacketMsg packetMsg)
ClientMsgHandlerhandleMsg in class ClientMsgHandlerpacketMsg - The packet message that contains the data.