These classes provide support for executing Veriplace client API methods on background threads. You probably won't need to use them directly; WebClient uses them for asynchronous requests.

Classes

  ClassDescription
AbstractPollingHandler
Empty implementation of IPollingHandler providing stubs for all methods.
AbstractRequestManager<(Of <(TResult>)>)
Abstraction around making a Veriplace API request and retrieving the result.
AbstractRequestManager<(Of <(TResult>)>)..::.AbstractRequest<(Of <(TRequestResult>)>)
Generic inner class for background requests.
GetLocationRequestManager
Abstraction around making a location request and retrieving the result.
GetLocationRequestManager..::.LocationRequest
An asynchronous GetLocationAPI request.
MemoryRequestStore<(Of <(TResult>)>)
In-memory implementation of IRequestStore<(Of <(TResult>)>).
MemoryRequestStore<(Of <(TResult>)>)..::.RequestStatus<(Of <(TRequestResult>)>)
PollingManager
Maintains a thread that issues PollingAPI requests at regular intervals and passes the results to an IPollingHandler.
ResultWrapper<(Of <(T>)>)
Stores a result object if the request succeeded, or an exception if it failed.

Interfaces

  InterfaceDescription
IPollingFilter
An object that can tell PollingManager whether or not to query the location details for a given location update.
IPollingHandler
An object that can receive results from a PollingManager.
IRequestStore<(Of <(TResult>)>)
Generic interface for tracking background requests and storing their results.