C# Class GameState4Net.GameStateServer

Inheritance: Grapevine.Server.RESTServer
Afficher le fichier Open project: mworchel/GameState4Net Class Usage Examples

Méthodes publiques

Méthode Description
AddGameState ( string json ) : void
GameStateServer ( Grapevine.Server.Config config ) : Grapevine.Server
GameStateServer ( string host = "localhost", string port = "1234", string protocol = "http", string dirindex = "index.html", string webroot = null, int maxthreads = 5 ) : Grapevine.Server
RegisterGameStateCallback ( Action callback ) : void

Callbacks will most certainly be called from a thread different than the main thread

Method Details

AddGameState() public méthode

public AddGameState ( string json ) : void
json string
Résultat void

GameStateServer() public méthode

public GameStateServer ( Grapevine.Server.Config config ) : Grapevine.Server
config Grapevine.Server.Config
Résultat Grapevine.Server

GameStateServer() public méthode

public GameStateServer ( string host = "localhost", string port = "1234", string protocol = "http", string dirindex = "index.html", string webroot = null, int maxthreads = 5 ) : Grapevine.Server
host string
port string
protocol string
dirindex string
webroot string
maxthreads int
Résultat Grapevine.Server

RegisterGameStateCallback() public méthode

Callbacks will most certainly be called from a thread different than the main thread
public RegisterGameStateCallback ( Action callback ) : void
callback Action
Résultat void