C# Class Opc.Ua.ServerBase.RequestQueue

Manages a queue of requests.
Inheritance: IDisposable
ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
Dispose ( ) : void

Frees any unmanaged resources.

RequestQueue ( ServerBase server, int minThreadCount, int maxThreadCount, int maxRequestCount ) : System

Initializes a new instance of the RequestQueue class.

ScheduleIncomingRequest ( IEndpointIncomingRequest request ) : void

Schedules an incoming request.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
OnProcessRequestQueue ( object state ) : void

Processes the requests in the request queue.

Method Details

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

RequestQueue() public method

Initializes a new instance of the RequestQueue class.
public RequestQueue ( ServerBase server, int minThreadCount, int maxThreadCount, int maxRequestCount ) : System
server ServerBase The server.
minThreadCount int The minimum number of threads in the pool.
maxThreadCount int The maximum number of threads in the pool.
maxRequestCount int The maximum number of requests that will placed in the queue.
return System

ScheduleIncomingRequest() public method

Schedules an incoming request.
public ScheduleIncomingRequest ( IEndpointIncomingRequest request ) : void
request IEndpointIncomingRequest The request.
return void