Changeset 1058 in ntrip for trunk/BNS/bns.cpp
- Timestamp:
- Aug 27, 2008, 10:21:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r1056 r1058 57 57 _bnseph = new t_bnseph(parent); 58 58 59 connect(_bnseph, SIGNAL(newEph(t_eph*)), this, SLOT(slotNewEph(t_eph*))); 59 connect(_bnseph, SIGNAL(newEph(t_eph*)), 60 this, SLOT(slotNewEph(t_eph*, int))); 60 61 connect(_bnseph, SIGNAL(newMessage(QByteArray)), 61 62 this, SLOT(slotMessage(const QByteArray))); … … 265 266 // 266 267 //////////////////////////////////////////////////////////////////////////// 267 void t_bns::slotNewEph(t_eph* ep ) {268 void t_bns::slotNewEph(t_eph* ep, int nBytes) { 268 269 269 270 QMutexLocker locker(&_mutex); 271 272 emit(newEphBytes(nBytes)); 270 273 271 274 t_ephPair* pair; … … 334 337 335 338 QByteArray line = _clkSocket->readLine(); 339 340 emit(newClkBytes(line.length())); 336 341 337 342 if (line.indexOf('*') == -1) { … … 417 422 int len = MakeClockOrbit(&co, COTYPE_AUTO, 0, obuffer, sizeof(obuffer)); 418 423 if (len > 0) { 424 emit(newOutBytes(len)); 419 425 if (_outSocket) { 420 426 _outSocket->write(obuffer, len);
Note:
See TracChangeset
for help on using the changeset viewer.