C# Class SOE.Core.SOEConnectionManager

显示文件 Open project: Joshsora/LibSOE Class Usage Examples

Public Properties

Property Type Description
Server SOEServer

Public Methods

Method Description
AddNewClient ( SOEClient newClient ) : void
DisconnectClient ( SOEClient client, ushort reason, bool clientBased = false ) : void
GetClient ( int clientId ) : SOEClient
GetClientFromHost ( IPEndPoint client ) : SOEClient
GetClientFromSessionID ( uint sessionId ) : SOEClient
Log ( string message ) : void
SOEConnectionManager ( SOEServer server ) : System
StartKeepAliveThread ( ) : void

Method Details

AddNewClient() public method

public AddNewClient ( SOEClient newClient ) : void
newClient SOEClient
return void

DisconnectClient() public method

public DisconnectClient ( SOEClient client, ushort reason, bool clientBased = false ) : void
client SOEClient
reason ushort
clientBased bool
return void

GetClient() public method

public GetClient ( int clientId ) : SOEClient
clientId int
return SOEClient

GetClientFromHost() public method

public GetClientFromHost ( IPEndPoint client ) : SOEClient
client System.Net.IPEndPoint
return SOEClient

GetClientFromSessionID() public method

public GetClientFromSessionID ( uint sessionId ) : SOEClient
sessionId uint
return SOEClient

Log() public method

public Log ( string message ) : void
message string
return void

SOEConnectionManager() public method

public SOEConnectionManager ( SOEServer server ) : System
server SOEServer
return System

StartKeepAliveThread() public method

public StartKeepAliveThread ( ) : void
return void

Property Details

Server public_oe property

public SOEServer,SOE.Core Server
return SOEServer