C# Class RPGGame.GameServer.ServerSystem.ClientSession

Inheritance: Aegis.Network.Session
显示文件 Open project: SyncZone/Examples

Public Methods

Method Description
ClientSession ( ) : System
ForceClose ( String message ) : void
SendPacket ( Aegis.StreamBuffer buffer, Action onSent = null ) : void

Private Methods

Method Description
OnAccepted ( Session session ) : void
OnCS_Login_Req ( SecurePacketRequest reqPacket ) : void
OnClosed ( Session session ) : void
OnReceived ( Session session, Aegis.StreamBuffer buffer ) : void

Method Details

ClientSession() public method

public ClientSession ( ) : System
return System

ForceClose() public method

public ForceClose ( String message ) : void
message String
return void

SendPacket() public method

public SendPacket ( Aegis.StreamBuffer buffer, Action onSent = null ) : void
buffer Aegis.StreamBuffer
onSent Action
return void