00001 /**************************************************************************** 00002 dEVICE cOMMUNITIES dEVELOPMENT tOOLKIT 00003 00004 DCDT_MsgManager.cpp 00005 00006 COPYRIGHT (C) 2002 Paolo Meriggi (meriggi@ing.unibs.it) 00007 00008 00009 This library is free software; you can redistribute it and/or 00010 modify it under the terms of the GNU Lesser General Public 00011 License as published by the Free Software Foundation; either 00012 version 2 of the License, or (at your option) any later version. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public 00020 License along with this library; if not, write to the Free Software 00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00022 00023 ****************************************************************************/ 00024 00025 #ifndef DCDT_MSGMANAGER_CPP 00026 #define DCDT_MSGMANAGER_CPP 00027 00028 #include <DCDT_MsgManager.h> 00029 #include <DCDT_Agora.h> 00030 00031 DCDT_MsgManager::DCDT_MsgManager(DCDT_Agora* agora) 00032 : DCDT_Member( agora, 500000 ) 00033 { 00034 00035 00036 }; 00037 00038 DCDT_MsgManager::~DCDT_MsgManager() { 00039 00040 }; 00041 00044 void DCDT_MsgManager::DoYourJob(int par) { 00045 myPostOffice->CleanupList(); 00046 00047 Delay(10000); 00048 } 00049 00050 void DCDT_MsgManager::Init() { 00051 TRC_PRINT( DCDT_TRC_COMM, TRC1, ("MsgManager Initializinig")); 00052 }; 00053 00054 void DCDT_MsgManager::Close() { 00055 TRC_PRINT( DCDT_TRC_COMM, TRC1,("MsgManager Closing")); 00056 }; 00057 00058 #endif //define