|
TNet 3
3.0.8
|
TCP-based lobby server link. Designed to communicate with a remote TcpLobbyServer. You can use this class to register your game server with a remote lobby server. More...
Public Member Functions | |
| TcpLobbyServerLink (IPEndPoint address) | |
| Create a new link to a remote lobby server. More... | |
| override void | Start () |
| Start the lobby server link. More... | |
| override void | SendUpdate (GameServer server) |
| Send a server update. More... | |
Public Member Functions inherited from TNet.LobbyServerLink | |
| LobbyServerLink (LobbyServer lobbyServer) | |
| Create a new local lobby server link. Expects a local server to work with. More... | |
| virtual void | Stop () |
| Stopping the server should be delayed in order for it to be thread-safe. More... | |
Properties | |
| override bool | isActive [get] |
| Whether the link is currently active. More... | |
| long | serverTime [get] |
| Current time on the server. More... | |
Properties inherited from TNet.LobbyServerLink | |
| virtual bool | isActive [get] |
| Whether the link is currently active. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TNet.LobbyServerLink | |
| GameServer | mGameServer |
| Thread | mThread |
| IPEndPoint | mInternal |
| IPEndPoint | mExternal |
| volatile bool | mShutdown = false |
TCP-based lobby server link. Designed to communicate with a remote TcpLobbyServer. You can use this class to register your game server with a remote lobby server.
| TNet.TcpLobbyServerLink.TcpLobbyServerLink | ( | IPEndPoint | address | ) |
Create a new link to a remote lobby server.
|
virtual |
Send a server update.
Reimplemented from TNet.LobbyServerLink.
|
virtual |
Start the lobby server link.
Reimplemented from TNet.LobbyServerLink.
|
get |
Whether the link is currently active.
|
get |
Current time on the server.