- Timestamp:
- Nov 21, 2022, 4:32:41 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r9886 r9887 300 300 while (_rtnetStreamBuffer.count('*') > 1) { 301 301 cout << "more than 1 epoch in buffer: " << _rtnetStreamBuffer.count('*') << endl; 302 cout <<"XX MORE THAN 1 EPOCH XXX\n" << _rtnetStreamBuffer.toStdString().c_str() << "\nXX MORE THAN 1 EPOCHXXX" <<endl;302 cout <<"XX MORE THAN 1 EPOCH XXX\n" << _rtnetStreamBuffer.toStdString().c_str() << "\nXXXXXXXXXXXXXXXXX" <<endl; 303 303 emit(newMessage(QString("bncRtnetUploadCaster: more than 1 epoch in buffer: %1").arg(_rtnetStreamBuffer.count('*')).toLatin1(), false)); 304 304 QString rtnetStreamBuffer = _rtnetStreamBuffer; … … 310 310 lines = rtnetStreamBuffer.split('\n', QString::SkipEmptyParts); 311 311 if (lines.size() > 2) { 312 cout << "----------LINES 2 DECODE -------------\n" << rtnetStreamBuffer.toStdString().c_str() << "\n------------------" << endl;312 cout << "----------LINES 2 DECODE (WHILE)-------------\n" << rtnetStreamBuffer.toStdString().c_str() << "\n------------------" << endl; 313 313 decodeRtnetEpoch(lines); 314 314 } 315 315 nextEpochEnd = _rtnetStreamBuffer.indexOf("EOE"); 316 316 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(nextEpochEnd+3); 317 318 317 } 319 318 else if (nextEpoch != -1 && nextEpoch >= iEpoEnd) {cout << "bin hier" << endl; … … 323 322 324 323 lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', QString::SkipEmptyParts); 325 324 cout << "----------LINES 2 DECODE (OUTSIDE)-------------\n" << _rtnetStreamBuffer.left(iEpoEnd).toStdString().c_str() << "\n------------------" << endl; 326 325 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3); 327 326 cout <<"YYYY REST OF BUFFER YYYY\n" << _rtnetStreamBuffer.toStdString().c_str() << "\nYYYYYY" <<endl; … … 330 329 return; 331 330 } 332 cout << "----------LINES 2 DECODE-------------\n" << _rtnetStreamBuffer.left(iEpoEnd).toStdString().c_str() << "\n------------------" << endl;333 331 decodeRtnetEpoch(lines); 334 335 332 } 336 333
Note:
See TracChangeset
for help on using the changeset viewer.