C# Class WoWClassic.Common.Network.Connection

Inheritance: IConnection
Mostra file Open project: miceiken/WoWClassicAuthServer

Protected Properties

Property Type Description
m_Server Server
m_Socket System.Net.Sockets.Socket

Public Methods

Method Description
Connection ( Server server, Socket socket ) : System
Process ( byte data, int length ) : void
Send ( byte data ) : void

Protected Methods

Method Description
ProcessInternal ( byte data ) : int

Private Methods

Method Description
ReceiveCallback ( IAsyncResult ar ) : void
SendCallback ( IAsyncResult ar ) : void

Method Details

Connection() public method

public Connection ( Server server, Socket socket ) : System
server Server
socket System.Net.Sockets.Socket
return System

Process() public method

public Process ( byte data, int length ) : void
data byte
length int
return void

ProcessInternal() protected method

protected ProcessInternal ( byte data ) : int
data byte
return int

Send() public method

public Send ( byte data ) : void
data byte
return void

Property Details

m_Server protected_oe property

protected Server,WoWClassic.Common.Network m_Server
return Server

m_Socket protected_oe property

protected Socket,System.Net.Sockets m_Socket
return System.Net.Sockets.Socket