C# 클래스 GameCommon.GameNetworkServer

상속: NetworkServer
파일 보기 프로젝트 열기: DarrenHassan/GDM4242-GroupD 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( string reason ) : void
GameNetworkServer ( string serverName, string serverVersion, int maxConnections, bool entitySystemServiceEnabled ) : System

보호된 메소드들

메소드 설명
OnConnectedNodeConnectionStatusChanged ( NetworkNode connectedNode, NetworkConnectionStatuses status, string message ) : void
OnIncomingConnectionApproval ( NetworkNode connectedNode, string clientVersion, string loginName, string password, string &rejectReason ) : bool
OnReceiveProtocolError ( ConnectedNode sender, string message ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( string reason ) : void
reason string
리턴 void

GameNetworkServer() 공개 메소드

public GameNetworkServer ( string serverName, string serverVersion, int maxConnections, bool entitySystemServiceEnabled ) : System
serverName string
serverVersion string
maxConnections int
entitySystemServiceEnabled bool
리턴 System

OnConnectedNodeConnectionStatusChanged() 보호된 메소드

protected OnConnectedNodeConnectionStatusChanged ( NetworkNode connectedNode, NetworkConnectionStatuses status, string message ) : void
connectedNode NetworkNode
status NetworkConnectionStatuses
message string
리턴 void

OnIncomingConnectionApproval() 보호된 메소드

protected OnIncomingConnectionApproval ( NetworkNode connectedNode, string clientVersion, string loginName, string password, string &rejectReason ) : bool
connectedNode NetworkNode
clientVersion string
loginName string
password string
rejectReason string
리턴 bool

OnReceiveProtocolError() 보호된 메소드

protected OnReceiveProtocolError ( ConnectedNode sender, string message ) : void
sender ConnectedNode
message string
리턴 void