Klaus Basan
011f31ad2b
Formatting
2018-04-13 23:36:37 +02:00
Klaus Basan
0cf308450e
Ref T149, utility functions for pending URLs
...
* Do not call read twice in info reader
* Threadsafe utility functions
2017-09-24 20:29:02 +01:00
Klaus Basan
1aa8cfb1e8
Formatting, messages
2017-09-24 20:29:00 +01:00
Klaus Basan
b9760b4c60
Ref T149, use URL log to log network access in threaded reader classes
...
* added getFromNetworkAndLog
* adjusted DB reader
* adjusted other readers
2017-09-24 19:54:23 +01:00
Klaus Basan
a22cd134f8
Formatting
2017-09-24 19:54:16 +01:00
Klaus Basan
f3847bd33c
Ref T121, check if Internet is accessible
...
* in case the internet provider is down, this is not detected
* extended test to detect if access is possible
* in case of downtime this indicated in status component
2017-09-24 19:51:44 +01:00
Klaus Basan
c55ad7e142
ref T104, unify logging of inconsistent data
2017-09-24 19:50:24 +01:00
Klaus Basan
76b3b6c0b6
Utility function to directly log warning when network not accessible
2017-09-24 19:50:18 +01:00
Klaus Basan
0bfd9a55a2
Ref T105, use timer in base class CContinuousWorker
...
* remove unused cleanup
* object name set in base class
2017-09-24 19:50:15 +01:00
Klaus Basan
b6b1b96ec4
Ref T105, use new style with threaded readers
...
* use doWorkCheck
* relaxed doWorkCheck in unit tests
* removed isShuttingDown, gracefulShutdown
* set timer object name (in case something is wrong, we might see the name in the log)
2017-09-24 19:50:08 +01:00
Klaus Basan
595c71b387
Used timer no longer pointer
2017-05-05 23:07:45 +01:00
Roland Winklmeier
7edd1bb621
Rename CThreadedReader::isNetworkConnectedAndAccessible() for consistency
...
refs #869
2017-02-24 15:22:13 +00:00
Klaus Basan
1ced7f3c0b
refs #857 , check if network is accessible in readers
...
* new read state "skipped"
* renamed to "isNetworkConnectedAndAccessible"
* checking before reading, which would only fail if network is not accessible
2017-02-24 00:08:55 +00:00
Klaus Basan
5107d55115
refs #833 , use isShuttingDown in readers
...
(a bit stricter than this->isAbandoned)
2016-12-15 04:02:00 +01:00
Roland Winklmeier
4733c72553
Simplify CThreadedReader to avoid race conditions
...
refs #731
2016-08-26 21:04:39 +01:00
Klaus Basan
3aee6174ac
refs #719 , avoid infinite loop when info object read succeeds, but has incorrect authorizations
...
* marker for info reader that it failed
* distinguish between "server cannot be connected" and other errors
2016-08-04 17:11:37 +02:00
Mathew Sutcliffe
7a34cc6d9a
refs #697 BlackCore settings renamed and reorganized.
2016-08-03 02:19:11 +01:00
Klaus Basan
0357dbde8f
refs #712 , improved readers
...
* only trigger read when network interface is available
* do not trigger all reads at same time but slightly shifted
* renamed to hasReceivedOkReply()
2016-07-28 21:08:25 +02:00
Klaus Basan
541d673acd
Fixed year formatter / formatting
2016-07-28 21:08:10 +02:00
Klaus Basan
0939b1f08f
refs #687 , further performance improvements
...
* avoid redundant reads by excluding entities which will be periodically updated
* restart timers when data are received, avoid overlapping requests
2016-06-29 15:38:07 +02:00
Klaus Basan
0fca9c1f18
refs #687 , use hash to avoid unnecessary operations
...
* for bookings
* VATSIM file (plus check if cache really changed before writing)
* METARs
2016-06-29 15:38:04 +02:00
Klaus Basan
dc02ff2d0c
Addded log categories / human readable pattern
2016-06-29 01:04:44 +02:00
Klaus Basan
488d437a2a
#refs 686, used settings in readers
...
* moved threaded reader to BlackCore (settings are normally BlackCore aware)
* created ns/subfolder VATSIM
* prepared settings for the VATSIM readers
2016-06-29 01:04:41 +02:00