C# Class WoWClassic.Common.Network.Connection

Inheritance: IConnection
Afficher le fichier Open project: miceiken/WoWClassicAuthServer

Protected Properties

Свойство Type Description
m_Server Server
m_Socket System.Net.Sockets.Socket

Méthodes publiques

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

Méthodes protégées

Méthode Description
ProcessInternal ( byte data ) : int

Private Methods

Méthode Description
ReceiveCallback ( IAsyncResult ar ) : void
SendCallback ( IAsyncResult ar ) : void

Method Details

Connection() public méthode

public Connection ( Server server, Socket socket ) : System
server Server
socket System.Net.Sockets.Socket
Résultat System

Process() public méthode

public Process ( byte data, int length ) : void
data byte
length int
Résultat void

ProcessInternal() protected méthode

protected ProcessInternal ( byte data ) : int
data byte
Résultat int

Send() public méthode

public Send ( byte data ) : void
data byte
Résultat void

Property Details

m_Server protected_oe property

protected Server,WoWClassic.Common.Network m_Server
Résultat Server

m_Socket protected_oe property

protected Socket,System.Net.Sockets m_Socket
Résultat System.Net.Sockets.Socket