C# Class Tempest.Providers.Network.BufferPool

Afficher le fichier Open project: ermau/Tempest Class Usage Examples

Méthodes publiques

Méthode Description
AddConnection ( ) : void
BufferPool ( int defaultBufferSize ) : System
BufferPool ( int defaultBufferSize, int bufferLimit ) : System
PushBuffer ( SocketAsyncEventArgs buffer ) : void
RemoveConnection ( ) : void
TryGetBuffer ( SocketAsyncEventArgs &args ) : bool

Tries to retrieve an existing buffer.

Method Details

AddConnection() public méthode

public AddConnection ( ) : void
Résultat void

BufferPool() public méthode

public BufferPool ( int defaultBufferSize ) : System
defaultBufferSize int
Résultat System

BufferPool() public méthode

public BufferPool ( int defaultBufferSize, int bufferLimit ) : System
defaultBufferSize int
bufferLimit int
Résultat System

PushBuffer() public méthode

public PushBuffer ( SocketAsyncEventArgs buffer ) : void
buffer System.Net.Sockets.SocketAsyncEventArgs
Résultat void

RemoveConnection() public méthode

public RemoveConnection ( ) : void
Résultat void

TryGetBuffer() public méthode

Tries to retrieve an existing buffer.
public TryGetBuffer ( SocketAsyncEventArgs &args ) : bool
args System.Net.Sockets.SocketAsyncEventArgs The retrieved or created .
Résultat bool