Beispiel #1
0
        public void Open(IntPtr socket)
        {
            Close();

            _socket       = socket;
            _requestQueue = RioRequestQueue.Create(Id, socket,
                                                   _completionQueues.SendingQueue, (uint)_configuration.RequestQueueMaxOutstandingSends,
                                                   _completionQueues.ReceivingQueue, (uint)_configuration.RequestQueueMaxOutstandingReceives);
        }
Beispiel #2
0
        public void Open(IntPtr socket)
        {
            Close();

            _socket = socket;

            var maxOutstandingReceives = (uint)_configuration.MaxOutstandingReceives;
            var maxOutstandingSends    = (uint)_configuration.MaxOutstandingSends;

            _requestQueue = RioRequestQueue.Create(Id, socket, _sendingCompletionQueue, maxOutstandingSends, _receivingCompletionQueue, maxOutstandingReceives);
        }