Class SecomSource
- Namespace
- EncDotNet.S100.Collections
- Assembly
- EncDotNet.S100.Collections.dll
A SECOM (IEC 63173-2) service — for example the Canadian Coast Guard's
S-124 navigational warnings — read anonymously through GetSummary
and Get (issue #804), optionally scoped to some products or an
area. Its objects are online (RemoteItemLocation with a
Secom envelope) until downloaded; summaries
carry no coverage, so objects have bounds only once downloaded.
public sealed record SecomSource : CollectionSource, IEquatable<CollectionSource>, IEquatable<SecomSource>
- Inheritance
-
SecomSource
- Implements
- Inherited Members
Remarks
With Sync, a local copy of every listed object is kept (issue #807): new and changed objects are downloaded after each index, and copies the service no longer lists are deleted.
Constructors
SecomSource(Guid, string?, Uri, SecomFilter)
A SECOM (IEC 63173-2) service — for example the Canadian Coast Guard's
S-124 navigational warnings — read anonymously through GetSummary
and Get (issue #804), optionally scoped to some products or an
area. Its objects are online (RemoteItemLocation with a
Secom envelope) until downloaded; summaries
carry no coverage, so objects have bounds only once downloaded.
public SecomSource(Guid Id, string? DisplayName, Uri ServiceUri, SecomFilter Filter)
Parameters
IdGuidThe source's stable identifier.
DisplayNamestringAn optional user-facing label.
ServiceUriUriThe service's endpoint URI (for example
https://host/api/secom).FilterSecomFilterWhich objects to include.
Remarks
With Sync, a local copy of every listed object is kept (issue #807): new and changed objects are downloaded after each index, and copies the service no longer lists are deleted.
Properties
Filter
Which objects to include.
public SecomFilter Filter { get; init; }
Property Value
Identity
The MCP identity this source presents to the service when it asks for a
client certificate, and signs SECOM 2.0 requests with (#883):
Default (the default, and what
sources saved before this setting existed read as),
None, or an identity's reference
id (sc-ident:…). A reference only: hosts resolve it each time the
source is read (Resolve(string?)).
public string Identity { get; init; }
Property Value
ServiceUri
The service's endpoint URI (for example https://host/api/secom).
public Uri ServiceUri { get; init; }