FsAppendReq.hpp
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. /* Copyright (C) 2003 MySQL AB
  2.    This program is free software; you can redistribute it and/or modify
  3.    it under the terms of the GNU General Public License as published by
  4.    the Free Software Foundation; either version 2 of the License, or
  5.    (at your option) any later version.
  6.    This program is distributed in the hope that it will be useful,
  7.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  8.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  9.    GNU General Public License for more details.
  10.    You should have received a copy of the GNU General Public License
  11.    along with this program; if not, write to the Free Software
  12.    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
  13. #ifndef FS_APPENDREQ_H
  14. #define FS_APPENDREQ_H
  15. #include "SignalData.hpp"
  16. /**
  17.  * 
  18.  * SENDER:  
  19.  * RECIVER: Ndbfs
  20.  */
  21. class FsAppendReq {
  22.   /**
  23.    * Reciver(s)
  24.    */
  25.   friend class Ndbfs;
  26.   friend class VoidFs;
  27.   /**
  28.    * Sender(s)
  29.    */
  30.   friend class Backup;
  31.   friend bool printFSAPPENDREQ(FILE * output, const Uint32 * theData, 
  32.        Uint32 len, Uint16 receiverBlockNo);
  33. public:
  34.   STATIC_CONST( SignalLength = 6 );
  35. private:
  36.   /**
  37.    * DATA VARIABLES
  38.    */
  39.   UintR filePointer;          // DATA 0
  40.   UintR userReference;        // DATA 1
  41.   UintR userPointer;          // DATA 2
  42.   UintR varIndex;             // DATA 3
  43.   UintR offset;               // DATA 4
  44.   UintR size;                 // DATA 5
  45. };
  46. #endif