C# 클래스 Cakewalk.Server.SocketAsyncPool

Pool for socket async context objects that share the same memory buffer
파일 보기 프로젝트 열기: Cakez0r/Cakewalk 1 사용 예제들

공개 메소드들

메소드 설명
GetArgs ( ) : SocketAsyncEventArgs

Get a context object from the pool

ReturnArgs ( SocketAsyncEventArgs args ) : void

Return a context object to the pool

SocketAsyncPool ( int bufferSize, int maxCount ) : System

Create a pool of async socket context objects

메소드 상세

GetArgs() 공개 메소드

Get a context object from the pool
public GetArgs ( ) : SocketAsyncEventArgs
리턴 System.Net.Sockets.SocketAsyncEventArgs

ReturnArgs() 공개 메소드

Return a context object to the pool
public ReturnArgs ( SocketAsyncEventArgs args ) : void
args System.Net.Sockets.SocketAsyncEventArgs
리턴 void

SocketAsyncPool() 공개 메소드

Create a pool of async socket context objects
public SocketAsyncPool ( int bufferSize, int maxCount ) : System
bufferSize int
maxCount int
리턴 System