00001 // -*- mode: c++ -*- 00002 #ifndef _CPROCESSMESSAGEPARAMETERS 00003 #define _CPROCESSMESSAGEPARAMETERS 00004 /* -*- mode: c++ -*- 00005 */ 00006 /* 00007 00008 GIFT, a flexible content based image retrieval system. 00009 Copyright (C) 1998, 1999, 2000, 2001, 2002, CUI University of Geneva 00010 00011 Copyright (C) 2003, 2004 Bayreuth University 00012 2005 Bamberg University 00013 This program is free software; you can redistribute it and/or modify 00014 it under the terms of the GNU General Public License as published by 00015 the Free Software Foundation; either version 2 of the License, or 00016 (at your option) any later version. 00017 00018 This program is distributed in the hope that it will be useful, 00019 but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 GNU General Public License for more details. 00022 00023 You should have received a copy of the GNU General Public License 00024 along with this program; if not, write to the Free Software 00025 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00026 00027 */ 00028 #include <iostream> 00029 #include <fstream> 00030 #include <string> 00031 #include "libMRML/include/CSessionManager.h" 00032 using namespace std; 00039 class CProcessMessageParameters{ 00040 public: 00042 int mSocket; 00044 ofstream& mLogFile; 00046 CSessionManager& mSessionManager; 00050 string mPeerAddress; 00053 CProcessMessageParameters(CSessionManager& inSessionManager, 00054 string& inPeerAddress, 00055 ofstream& inLogFile, 00056 int inSocket); 00057 }; 00058 #endif