C# Class LKCamelot.Connection

Afficher le fichier Open project: vans163/LKEmu Class Usage Examples

Méthodes publiques

Свойство Type Description
BufferSize int
_server Server

Méthodes publiques

Méthode Description
BeginReceive ( AsyncCallback callback, object state ) : IAsyncResult
Connection ( Server server, Socket socket ) : System
Disconnect ( ) : void
EndReceive ( IAsyncResult result ) : int
Receive ( int start, int count ) : int
Send ( byte buffer ) : int
Send ( byte buffer, int start, int count, SocketFlags flags ) : int
_Send ( byte buffer, int start, int count, SocketFlags flags ) : int

Method Details

BeginReceive() public méthode

public BeginReceive ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
Résultat IAsyncResult

Connection() public méthode

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

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

EndReceive() public méthode

public EndReceive ( IAsyncResult result ) : int
result IAsyncResult
Résultat int

Receive() public méthode

public Receive ( int start, int count ) : int
start int
count int
Résultat int

Send() public méthode

public Send ( byte buffer ) : int
buffer byte
Résultat int

Send() public méthode

public Send ( byte buffer, int start, int count, SocketFlags flags ) : int
buffer byte
start int
count int
flags SocketFlags
Résultat int

_Send() public méthode

public _Send ( byte buffer, int start, int count, SocketFlags flags ) : int
buffer byte
start int
count int
flags SocketFlags
Résultat int

Property Details

BufferSize public_oe static_oe property

public static int BufferSize
Résultat int

_server public_oe property

public Server,LKCamelot _server
Résultat Server