C# Class Bricklayer.Server.PingListener

Handles incoming ping requests for server data such as players online, motd, etc
Afficher le fichier Open project: Cyral/Bricklayer Class Usage Examples

Méthodes publiques

Méthode Description
PingListener ( int port ) : System

Creates a new listener to listen for TCP messages from clients that want to check server status

Start ( ) : void

Starts listening on a new thread for ping requests

Private Methods

Méthode Description
Listen ( ) : void

Listens for ping requests, and sends back statistics

Method Details

PingListener() public méthode

Creates a new listener to listen for TCP messages from clients that want to check server status
public PingListener ( int port ) : System
port int TThe port to listen on
Résultat System

Start() public méthode

Starts listening on a new thread for ping requests
public Start ( ) : void
Résultat void