C# Class Dota2GSI.GameStateListener

Inheritance: IGameStateListener
显示文件 Open project: antonpup/Dota2GSI Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GameStateListener ( int Port ) : System

A GameStateListener that listens for connections on http://localhost:port/

GameStateListener ( string URI ) : System

A GameStateListener that listens for connections to the specified URI

Start ( ) : bool

Starts listening for GameState requests

Stop ( ) : void

Stops listening for GameState requests

Private Methods

Method Description
RaiseOnNewGameState ( ) : void
ReceiveGameState ( IAsyncResult result ) : void
Run ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GameStateListener() public method

A GameStateListener that listens for connections on http://localhost:port/
public GameStateListener ( int Port ) : System
Port int
return System

GameStateListener() public method

A GameStateListener that listens for connections to the specified URI
public GameStateListener ( string URI ) : System
URI string The URI to listen to
return System

Start() public method

Starts listening for GameState requests
public Start ( ) : bool
return bool

Stop() public method

Stops listening for GameState requests
public Stop ( ) : void
return void