Click or drag to resize
IAircraftOnlineLookupManager Interface
Brings together the online lookup and the online lookup cache. If you want something from the online aircraft lookup then talk to this object.

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

The IAircraftOnlineLookupManager type exposes the following members.

Properties
  NameDescription
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodDeregisterCache
Removes the cache passed across from the manager. Does nothing if the cache has not been registered.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodIsCacheObjectRegistered
Returns true if the cache object passed across has already been registered.
Public methodLookup
Requests a lookup. The details are either fetched from the cache and returned straight away or they are queued for lookup by the online service and AircraftFetched raised once the results are in.
Public methodLookupMany
Requests the lookup of many ICAOs. All ICAOs that are in the cache are returned immediately, the rest are passed to the online lookup service and returned via the AircraftFetched event.
Public methodRecordNeedsRefresh
Returns true if the details passed across indicate that the aircraft that they belong to needs refreshing.
Public methodRegisterCache
Register a cache with the manager.
Top
Events
  NameDescription
Public eventAircraftFetched
Raised when aircraft details have been looked up or fetched from the cache.
Top
See Also