Intra2net AG

client.hxx

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2006 by Intra2net AG - Gerd v. Egidy
00003 
00004 The software in this package is distributed under the GNU General
00005 Public License version 2 (with a special exception described below).
00006 
00007 A copy of GNU General Public License (GPL) is included in this distribution,
00008 in the file COPYING.GPL.
00009 
00010 As a special exception, if other files instantiate templates or use macros
00011 or inline functions from this file, or you compile this file and link it
00012 with other works to produce a work based on this file, this file
00013 does not by itself cause the resulting work to be covered
00014 by the GNU General Public License.
00015 
00016 However the source code for this file must still be made available
00017 in accordance with section (3) of the GNU General Public License.
00018 
00019 This exception does not invalidate any other reasons why a work based
00020 on this file might be covered by the GNU General Public License.
00021 */
00022 #ifndef __LIBT2N_CLIENT
00023 #define __LIBT2N_CLIENT
00024 
00025 #include <string>
00026 #include <iostream>
00027 
00028 #include "connection.hxx"
00029 #include "types.hxx"
00030 
00031 namespace libt2n
00032 {
00033 
00036 class client_connection : public connection
00037 {
00038     private:
00039         log_level_values log_level;
00040         std::ostream *logstream;
00041 
00042     public:
00043         client_connection();
00044 
00045         void set_logging(std::ostream *_logstream, log_level_values _log_level);
00046 
00047         std::ostream* get_logstream(log_level_values level);
00048 };
00049 
00050 }
00051 
00052 #endif

Generated on 13 May 2015 by  doxygen 1.6.1
© Intra2net AG 2024 | Legal | Contact