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