C# Class AccServer.Program

显示文件 Open project: dream-young-soul/soul

Public Properties

Property Type Description
m_LogicTimer System.Timers.Timer
server GameBase.Network.TcpServer

Public Methods

Method Description
LogicTimer ( object source, System.Timers.ElapsedEventArgs e ) : void
OnClose ( Socket s ) : void
OnConnect ( Socket s ) : void
OnRecv ( Socket s, byte data, int nSize ) : void

Private Methods

Method Description
Main ( string args ) : void

Method Details

LogicTimer() public static method

public static LogicTimer ( object source, System.Timers.ElapsedEventArgs e ) : void
source object
e System.Timers.ElapsedEventArgs
return void

OnClose() public static method

public static OnClose ( Socket s ) : void
s Socket
return void

OnConnect() public static method

public static OnConnect ( Socket s ) : void
s Socket
return void

OnRecv() public static method

public static OnRecv ( Socket s, byte data, int nSize ) : void
s Socket
data byte
nSize int
return void

Property Details

m_LogicTimer public_oe static_oe property

public static Timer,System.Timers m_LogicTimer
return System.Timers.Timer

server public_oe static_oe property

public static TcpServer,GameBase.Network server
return GameBase.Network.TcpServer