Sha256: 9ea694d48d474d85749eb4bc7a155ad74840aa980a1bec9b881b428aa4b19b77
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 KB
Contents
/*================================================================= 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. =================================================================*/ #ifndef BZS_NETSVC_SERVER_ISERVER_H #define BZS_NETSVC_SERVER_ISERVER_H namespace bzs { namespace netsvc { namespace server { /** Super class have to implement multithread safety. */ class inotifyHandler { public: virtual ~inotifyHandler(){}; virtual void printError(const char* msg) = 0; virtual void printInfo(const char* msg) = 0; }; class iserver { public: virtual ~iserver(){}; virtual void start()=0; virtual void stop()=0; virtual void registerErrorHandler(inotifyHandler* ) = 0; }; /** connection close method for application */ class iconnection { public: virtual ~iconnection(){}; virtual void close() = 0; }; }//namespace sever }//namespace netsvc }//namespace bzs #endif //BZS_NETSVC_SERVER_ISERVER_H
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
transactd-1.2.0 | source/bzs/netsvc/server/iserver.h |
transactd-1.1.2 | source/bzs/netsvc/server/iserver.h |
transactd-1.0.1 | source/bzs/netsvc/server/iserver.h |