Click or drag to resize
IAircraftOnlineLookup Interface
The interface for an object that can batch up lookups of aircraft details from an online source.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IAircraftOnlineLookup : ISingleton<IAircraftOnlineLookup>

The IAircraftOnlineLookup type exposes the following members.

Properties
  NameDescription
Public propertyProvider
Gets or sets the provider that will perform lookups for us.
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodInitialiseProvider
Initialises the provider if it has not already been initialised.
Public methodLookup
Adds the lookup of the requested ICAO to the next batch to be sent.
Public methodLookupMany
Adds the lookup of multiple ICAOs to the next batch to be sent.
Top
Events
  NameDescription
Public eventAircraftFetched
Raised when the online source replies with the results of a lookup.
Top
Remarks

Implementations are expected to batch up ICAOs and send them off to an online source for lookup. Once the online source replies they raise AircraftFetched with the results.

Implementations must honour the lookup aircraft details setting (BaseStationSettings.LookupAircraftDetailsOnline).

See Also