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

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 GREP_EVENT_H
  14. #define GREP_EVENT_H
  15. class GrepEvent {
  16. public:
  17.   enum Subscription  {
  18.     GrepSS_CreateSubIdConf = 1,
  19.     GrepSS_SubCreateConf = 2,
  20.     GrepSS_SubStartMetaConf = 3,
  21.     GrepSS_SubStartDataConf = 4,
  22.     GrepSS_SubSyncDataConf = 5,
  23.     GrepSS_SubSyncMetaConf = 6,
  24.     GrepSS_SubRemoveConf = 7,
  25.     
  26.     GrepPS_CreateSubIdConf = 8,
  27.     GrepPS_SubCreateConf = 9,
  28.     GrepPS_SubStartMetaConf = 10,
  29.     GrepPS_SubStartDataConf = 11,
  30.     GrepPS_SubSyncMetaConf = 12,
  31.     GrepPS_SubSyncDataConf = 13,
  32.     GrepPS_SubRemoveConf = 14,
  33.     GrepPS_CreateSubIdRef = 15,
  34.     GrepPS_SubCreateRef = 16,
  35.     GrepPS_SubStartMetaRef = 17,
  36.     GrepPS_SubStartDataRef = 18,
  37.     GrepPS_SubSyncMetaRef = 19,
  38.     GrepPS_SubSyncDataRef = 20,
  39.     GrepPS_SubRemoveRef = 21,
  40.     GrepSS_CreateSubIdRef = 22,
  41.     GrepSS_SubCreateRef = 23,
  42.     GrepSS_SubStartMetaRef = 24,
  43.     GrepSS_SubStartDataRef = 25,
  44.     GrepSS_SubSyncMetaRef = 26,
  45.     GrepSS_SubSyncDataRef = 27,
  46.     GrepSS_SubRemoveRef = 28,
  47.     Rep_Disconnect = 29
  48.   };
  49. };
  50. #endif