C# 클래스 Bricklayer.Server.PingListener

Handles incoming ping requests for server data such as players online, motd, etc
파일 보기 프로젝트 열기: Cyral/Bricklayer 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Listen ( ) : void

Listens for ping requests, and sends back statistics

메소드 상세

PingListener() 공개 메소드

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
리턴 System

Start() 공개 메소드

Starts listening on a new thread for ping requests
public Start ( ) : void
리턴 void