C# Class MapServer.SessionManager

Mostrar archivo Open project: dream-young-soul/soul Class Usage Examples

Public Methods

Method Description
AddNetData ( Socket s, byte data, int nLen ) : void
AddSession ( Socket s, TcpServer server ) : void
Dispose ( ) : void
Instance ( ) : SessionManager
IsSession ( Socket s ) : bool
ProcessNetMsg ( ) : void
RemoveSession ( Socket s ) : void
SessionManager ( ) : System

Method Details

AddNetData() public method

public AddNetData ( Socket s, byte data, int nLen ) : void
s Socket
data byte
nLen int
return void

AddSession() public method

public AddSession ( Socket s, TcpServer server ) : void
s Socket
server GameBase.Network.TcpServer
return void

Dispose() public method

public Dispose ( ) : void
return void

Instance() public static method

public static Instance ( ) : SessionManager
return SessionManager

IsSession() public method

public IsSession ( Socket s ) : bool
s Socket
return bool

ProcessNetMsg() public method

public ProcessNetMsg ( ) : void
return void

RemoveSession() public method

public RemoveSession ( Socket s ) : void
s Socket
return void

SessionManager() public method

public SessionManager ( ) : System
return System