Méthode | Description | |
---|---|---|
Pop ( ) : |
Removes a SocketAsyncEventArgs instance from the pool
|
|
Push ( |
Add a SocketAsyncEventArg instance to the pool
|
|
SocketAsyncEventArgsPool ( int capacity ) : System |
Initializes the object pool to the specified size
|
public Pop ( ) : |
||
Résultat |
public Push ( |
||
item | The SocketAsyncEventArgs instance to add to the pool | |
Résultat | void |
public SocketAsyncEventArgsPool ( int capacity ) : System | ||
capacity | int | The maximum number of SocketAsyncEventArgs objects the pool can hold |
Résultat | System |