AircraftFetcherTKey, TDetail Class |
Namespace: VirtualRadar.Interface
public abstract class AircraftFetcher<TKey, TDetail> : IDisposable where TDetail : class
The AircraftFetcherTKey, TDetail type exposes the following members.
Name | Description | |
---|---|---|
![]() | AircraftFetcherTKey, TDetail |
Creates a new object.
|
Name | Description | |
---|---|---|
![]() | AutomaticDeregisterIntervalMilliseconds |
Gets the number of milliseconds that have to pass after the last registration before the aircraft
is automatically deregistered.
|
![]() | AutomaticRecheckIntervalMilliseconds |
Gets the number of milliseconds between automatic refetches of the aircraft data. 0 indicates
that automatic refetching is not required.
|
![]() | Disposed |
Gets a value indicating that the object has been disposed.
|
![]() | ForceRefetchOnFastTick |
Gets or sets a value that, when set, will force a refresh of all aircraft on the next fast tick.
|
Name | Description | |
---|---|---|
![]() | Dispose |
See interface docs.
|
![]() | Dispose(Boolean) |
Disposes of or finalises the object.
|
![]() | DoExtraFastTimerTickWork |
Called after the basic fast timer tick work has been completed.
|
![]() | DoExtraSlowTimerTickWork |
Called after the basic slow timer tick work has been completed.
|
![]() | DoFetchAircraft |
Fetches the detail for the aircraft, raising any events necessary when a change has been detected.
|
![]() | DoFetchManyAircraft |
When overridden by a derivee this fetches many aircraft details simultaneously.
|
![]() | DoInitialise |
Initialises the object. This is called within a lock, do not call Initialise from
within this.
|
![]() | DoRegisterAircraft |
Registers or refreshes the entry for the key passed across.
|
![]() | Equals | (Inherited from Object.) |
![]() | FauxFetchAircraft |
Fakes an aircraft fetch. Some derivees may hook events that pre-fetch the interesting data and they don't want to fetch
it again with a call to FetchAircraft, so this applies the same lock as FetchAircraft and calls the action passed across.
|
![]() | Finalize |
Finalises the object.
(Overrides ObjectFinalize.) |
![]() | GetFetchedDetailUnderLock |
Returns the fetched detail for a key.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetRegisteredAircraft |
Returns a copy of the dictionary that holds all of the registered aircraft for which
at least one fetch has already been made.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialise |
Initialises the object.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RecheckAll |
Refetches all expired records, optionally forcing a refetch of records even if they have not expired.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |