A dynamic entity data source that streams observations to a client.
public abstract class DynamicEntityDataSource : ILoadable
The DynamicEntityDataSource class is the base class for classes that stream dynamic entity data. The class provides methods and properties that allow:
- maintenance of a persistent connection for streaming
- control over the storage of observations in its local data cache
- notification of received or purged observations
This class is used as the data source for a DynamicEntityLayer.
Users may extend this class by deriving from it. Derived classes must override the following methods:
Initializes a new instance of the DynamicEntityDataSource class.
Gets the current network connection exception.
Gets the current network connection status of the DynamicEntityDataSource.
Gets the load error.
Gets the load status.
Gets or sets the maximum number of attempts to reconnect after a connection fails.
Gets a DynamicEntityDataSourcePurgeOptions that defines when observations are purged from the local data cache.
Gets or sets the time to wait between attempts to reconnect.
|AddObservation(Geometry, IEnumerable<KeyValuePair<String, Object>>)||
Adds or updates the newly-received observation data in the data source store.
Cancels loading metadata for the object.
Connects to a service that provides dynamic entity observations.
Deletes the dynamic entity identified by the ID value from the data source store.
Closes the connection to a service.
Loads the metadata for the object asynchronously.
Handles the connection process of a data source.
Handles the disconnection process of a data source.
Handles the loading process of a data source and returns DynamicEntityDataSourceInfo.
Removes all dynamic entity observations from the in-memory data cache as well as from the map or scene.
Loads or retries loading metadata for the object asynchronously.
Handles the error when the connection fails and may attempt to reconnect.
Notification that the ConnectionStatus has changed.
Notification that a DynamicEntityObservation was purged.
Notification that a new DynamicEntityObservation was received.
Notification that a DynamicEntity was purged.
Notification that a new DynamicEntity was received.
Occurs when the dynamic entity data source is loaded.
Occurs when the dynamic entity data source LoadStatus is changed.
|.NET Standard 2.0||200.2|
|.NET 6.0 Windows||200.2|
|.NET 6.0 Android||200.2|
|.NET 6.0 iOS||200.2|