Lightstreamer .Net Adapter 1.7
ContentsIndexHome
PreviousUpNext
LiteralBasedProvider Class

Simple full implementation of a Metadata Adapter, made available in Lightstreamer SDK. 

The class allows Group names to be formed by simply concatenating the names of the contained Items, in a space separated way. Similarly, the class allows Schema names to be 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. 

 

C++
public: class LiteralBasedProvider : public MetadataProviderAdapter;
C#
public class LiteralBasedProvider : MetadataProviderAdapter;
Visual Basic
Public Class LiteralBasedProvider
Inherits MetadataProviderAdapter