00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 #include "TGo4MbsEventServer.h"
00017 
00018 #include "TGo4Log.h"
00019 #include "TGo4MbsEventServerParameter.h"
00020 
00021 
00022 TGo4MbsEventServer::TGo4MbsEventServer(const char* name) :
00023    TGo4MbsSource(name , GETEVT__EVENT)
00024 {
00025    TRACE((15,"TGo4MbsEventServer::TGo4MbsEventServer(Text_t*)",__LINE__, __FILE__));
00026 
00027    TGo4Log::Debug(" New Event Source MbsEventServer %s:  ",name);
00028    SetTimeout(fgiTIMEOUTDEFAULT);
00029    Open();
00030 }
00031 
00032 TGo4MbsEventServer::TGo4MbsEventServer(TGo4MbsEventServerParameter* par) :
00033    TGo4MbsSource(par->GetName() , GETEVT__EVENT)
00034 {
00035    TRACE((15,"TGo4MbsEventServer::TGo4MbsEventServer(TGo4MbsEventServerParameter**)",__LINE__, __FILE__));
00036 
00037    TGo4Log::Debug(" New Event Source MbsEventServer %s:  ",GetName());
00038    SetTimeout(par->GetTimeout());
00039    Open();
00040 }
00041 
00042 TGo4MbsEventServer::TGo4MbsEventServer()
00043 
00044 {
00045    TRACE((15,"TGo4MbsEventServer::TGo4MbsEventServer()",__LINE__, __FILE__));
00046 }
00047 
00048 TGo4MbsEventServer::~TGo4MbsEventServer()
00049 {
00050 TRACE((15,"TGo4MbsEventServer::~TGo4MbsEventServer()",__LINE__, __FILE__));
00051    Close();
00052 }
00053 
00054