1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/12/22 11:38:35 $ |
* $Date: 2005/01/11 14:59:31 $ |
4 |
* $Revision: 2.7 $ |
* $Revision: 2.8 $ |
5 |
* |
* |
6 |
* Implementation of the functions of a sample Algorithm class. |
* Implementation of the functions of a sample Algorithm class. |
7 |
* This file can be used as a templace to develop your own algorithm. |
* This file can be used as a templace to develop your own algorithm. |
88 |
*/ |
*/ |
89 |
std::string EventReader::GetVersionInfo(void) const { |
std::string EventReader::GetVersionInfo(void) const { |
90 |
return |
return |
91 |
"$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 2.7 2004/12/22 11:38:35 kusanagi Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 2.8 2005/01/11 14:59:31 kusanagi Exp $\n"; |
92 |
} |
} |
93 |
|
|
94 |
/** |
/** |
240 |
} |
} |
241 |
if (finalPos > 0 && finalPos < 64) { |
if (finalPos > 0 && finalPos < 64) { |
242 |
oss.str(""); |
oss.str(""); |
243 |
oss << " Correct packet length: Padded of " << finalPos << " bytes"; |
oss << "\n Correct packet length: Padded of " << finalPos << " bytes"; |
244 |
logger->debug(oss.str().c_str()); |
logger->debug(oss.str().c_str()); |
245 |
} |
} |
246 |
if (finalPos > 64){ |
if (finalPos > 64){ |
247 |
oss.str(""); |
oss.str(""); |
248 |
oss << " The begin of the next packet is far more than 64 byte from the end of the previous." |
oss << "\n The begin of the next packet is far more than 64 byte from the end of the previous." |
249 |
<< Header->GetPscuHeader()->Print(); |
<< Header->GetPscuHeader()->Print(); |
250 |
logger->error(oss.str().c_str()); |
logger->error(oss.str().c_str()); |
251 |
//throw LengthException("The begin of the next packet is far more than 64 byte from the end of the previous."); |
//throw LengthException("The begin of the next packet is far more than 64 byte from the end of the previous."); |