1 /* Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. 2 3 This program is free software; you can redistribute it and/or modify 4 it under the terms of the GNU General Public License, version 2.0, 5 as published by the Free Software Foundation. 6 7 This program is also distributed with certain software (including 8 but not limited to OpenSSL) that is licensed under separate terms, 9 as designated in a particular file or component or in included license 10 documentation. The authors of MySQL hereby grant you an additional 11 permission to link the program and your derivative works with the 12 separately licensed software that they have included with MySQL. 13 14 This program is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License, version 2.0, for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with this program; if not, write to the Free Software 21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ 22 23 #ifndef ENABLE_COM_H 24 #define ENABLE_COM_H 25 26 #include "SignalData.hpp" 27 28 #define JAM_FILE_ID 40 29 30 31 // Only local async signal, not global. 32 33 class EnableComReq { 34 friend class Qmgr; 35 friend class Trpman; 36 friend class TrpmanProxy; 37 38 public: 39 STATIC_CONST( SignalLength = 3); 40 private: 41 42 Uint32 m_senderRef; 43 Uint32 m_senderData; 44 Uint32 m_enableNodeId; 45 NodeBitmask m_nodeIds; // Not part of signal, but first section 46 }; 47 48 class EnableComConf { 49 friend class Qmgr; 50 friend class Trpman; 51 friend class TrpmanProxy; 52 friend class Cmvmi; 53 54 public: 55 STATIC_CONST( SignalLength = 3); 56 private: 57 58 Uint32 m_senderRef; 59 Uint32 m_senderData; 60 Uint32 m_enableNodeId; 61 }; 62 63 64 #undef JAM_FILE_ID 65 66 #endif 67