Sha256: 7987da4b548b3692119a9f18e7b74259a4fb2fc9461fb419361a195d38a94953
Contents?: true
Size: 1.88 KB
Versions: 3
Compression:
Stored size: 1.88 KB
Contents
#ifndef BZS_DB_TRANSACTD_CONNMANAGER_H #define BZS_DB_TRANSACTD_CONNMANAGER_H /*================================================================= Copyright (C) 2013 BizStation Corp All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. =================================================================*/ #include "connectionRecord.h" #include <bzs/netsvc/server/IAppModule.h> namespace bzs { namespace db { namespace engine{namespace mysql{class database;}} namespace transactd { class module; class connManager { public: typedef std::vector<connection::record> records; private: mutable records m_records; __int64 m_me; void getConnectionList()const; void getDatabaseList(const module* mod) const; const bzs::db::engine::mysql::database* getDatabase(const module* mod, int dbid)const; void doDisconnect(unsigned __int64 conid); void doDisconnectAll(); public: connManager(unsigned __int64 me):m_me(me){}; virtual ~connManager(); const records& getRecords(unsigned __int64 conid, int dbid) const; void disconnect(unsigned __int64 conid); void disconnectAll(); }; }//namespace transactd }//namespace db }//namespace bzs #endif//BZS_DB_TRANSACTD_CONNMANAGER_H
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
transactd-1.2.0 | source/bzs/db/transactd/connManager.h |
transactd-1.1.2 | source/bzs/db/transactd/connManager.h |
transactd-1.0.1 | source/bzs/db/transactd/connManager.h |