Auxilium.Classes.Client.Initialize C# (CSharp) Method

Initialize() private method

private Initialize ( ) : void
return void
        private void Initialize()
        {
            _processing = new bool[2];

            _sendIndex = 0;
            _readIndex = 0;

            _sendBuffer = new byte[0];
            _readBuffer = new byte[0];

            _sendQueue = new Queue<byte[]>();

            _items = new SocketAsyncEventArgs[2];

            _items[0] = new SocketAsyncEventArgs();
            _items[1] = new SocketAsyncEventArgs();
            _items[0].Completed += Process;
            _items[1].Completed += Process;
        }