public void EnqueueOutBoundMessage(int protocol, byte[] data)
        {
            NetPackage pkg = new NetPackage();

            pkg._Protocol = protocol;
            pkg._Data     = data;

            _OutBoundMessageQueue.Enqueue(pkg);
        }
        private void EnqueueInBoundMessage(int protocol, IntPtr data, int size)
        {
            NetPackage pkg = new NetPackage();

            pkg._Protocol = protocol;
            pkg._Data     = UtilsHelper.IntPtrToBytes(data, size);

            _InBoundMessageQueue.Enqueue(pkg);
        }