Opc.Ua.ServerBase.RequestQueue.RequestQueue C# (CSharp) Method

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
            public RequestQueue(ServerBase server, int minThreadCount, int maxThreadCount, int maxRequestCount)
            {
                m_server = server;
                m_queue = new Queue<IEndpointIncomingRequest>();
                m_minThreadCount = minThreadCount;
                m_maxThreadCount = maxThreadCount;
                m_maxRequestCount = maxRequestCount;
                m_totalThreadCount = 0;
                m_activeThreadCount = 0;
                m_stopped = false;
            }
            #endregion