Lightstreamer .Net Adapter 1.11.0
|
Simple full implementation of a Metadata Adapter, made available in Lightstreamer SDK.
The class handles Item List specifications, a special case of Item Group name formed by simply concatenating the names of the Items contained in a List in a space separated way. Similarly, the class handles Field List specifications, a special case of Field Schema name formed by concatenating the names of the contained Fields.
The resource levels are assigned the same for all Items and Users, according with values that can be supplied together with adapter configuration.
The return of the GetAllowedMaxBandwidth method can be supplied in a "max_bandwidth" parameter; the return of the GetAllowedMaxItemFrequency method can be supplied in a "max_frequency" parameter; the return of the GetAllowedBufferSize method can be supplied in a "buffer_size" parameter; the return of the GetDistinctSnapshotLength method can be supplied in a "distinct_snapshot_length" tag. All resource limits not supplied are granted as unlimited but for distinct_snapshot_length, which defaults as 10.
There are no access restrictions, but an optional User name check is performed if a comma separated list of User names is supplied in an "allowed_users" parameter.
public: class LiteralBasedProvider : public MetadataProviderAdapter;
public class LiteralBasedProvider : MetadataProviderAdapter;
Public Class LiteralBasedProvider Inherits MetadataProviderAdapter