Changeset 1816 in ntrip
- Timestamp:
- Apr 28, 2009, 11:00:06 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1815 r1816 506 506 _nextSleep = 256; 507 507 } 508 #ifdef MLS_SOFTWARE 509 if (_nextSleep > 10) { 510 _nextSleep = 10; 511 } 512 #endif 508 513 } 509 514 -
trunk/BNC/bncnetquery.h
r1813 r1816 10 10 11 11 public: 12 enum queryStatus {init, running, finished, error , fatal};12 enum queryStatus {init, running, finished, error}; 13 13 14 14 bncNetQuery() { -
trunk/BNC/bncnetqueryv1.cpp
r1813 r1816 57 57 //////////////////////////////////////////////////////////////////////////// 58 58 void bncNetQueryV1::waitForReadyRead(QByteArray& outData) { 59 60 if (_status == bncNetQuery::fatal) {61 return;62 }63 64 59 if (_socket && _socket->state() == QAbstractSocket::ConnectedState) { 65 60 while (true) { … … 88 83 //////////////////////////////////////////////////////////////////////////// 89 84 void bncNetQueryV1::startRequest(const QUrl& url, const QByteArray& gga) { 90 91 if (_status == bncNetQuery::fatal) {92 return;93 }94 85 95 86 _status = running; … … 221 212 delete _socket; 222 213 _socket = 0; 223 _status = fatal;214 _status = error; 224 215 emit newMessage(_url.path().toAscii().replace(0,1,"") 225 216 + ": Wrong caster response\n"
Note:
See TracChangeset
for help on using the changeset viewer.