메소드 | 설명 | |
---|---|---|
Pop ( ) : |
Removes a SocketAsyncEventArgs instance from the pool.
|
|
Push ( |
Add a SocketAsyncEventArg instance to the pool.
|
|
SocketAsyncEventArgsPool ( int capacity ) : System |
Initializes the object pool with the specified size
|
public Push ( |
||
item | A SocketAsyncEventArgs instance to add to the pool | |
리턴 | void |
public SocketAsyncEventArgsPool ( int capacity ) : System | ||
capacity | int | Initial capacity of objects |
리턴 | System |