Lightstreamer .Net Adapter 1.11.0
ContentsIndexHome
PreviousUpNext
Lightstreamer.Interfaces.Metadata Namespace

This is namespace Lightstreamer.Interfaces.Metadata.

Name 
Description 
The following table lists classes in this documentation. 
The following table lists interfaces in this documentation. 
 
Name 
Description 
 
Thrown by the Notify* methods in IMetadataProvider if the supplied User is not recognized or a functionality is not implemented for this User.  
 
Thrown by the NotifyNewSession method of IMetadataProvider if a User is not enabled to open a new Session but he would be enabled as soon as another Session were closed. By using this exception, the ID of the other Session is also supplied.
After receiving this exception, the Server may try to close the specified session and invoke NotifyNewSession again.
 
 
Thrown by the Notify* methods in IMetadataProvider if some functionality cannot be allowed to the supplied User. This may occur if the user is not granted some resource or if the user would exceed the granted amount. Different kinds of problems can be distinguished by an error code. Both the error message detail and the error code will be forwarded by Lightstreamer Kernel to the Client.  
 
Thrown by the GetItems and GetSchema methods in IMetadataProvider if the supplied Item Group name (or Item List specification) is not recognized or cannot be resolved.  
 
Base class for all exceptions directly thrown by the Metadata Adapter.  
 
Provides a default implementation of all the functionality of a Metadata Adapter which allow a simple default behavior. Overriding this class may facilitate the coding of simple Adapters.  
 
Thrown by the Init method in IMetadataProvider if there is some problem that prevents the correct behavior of the Metadata Adapter. If this exception occurs, Lightstreamer Kernel must give up the startup.  
 
Mode 
Encapsulates a publishing Mode. The different Modes handled by Lightstreamer Kernel can be uniquely identified by the static constants defined in this class. See the technical documents for a detailed description of Modes.  
 
Specifies a target device for Push Notifications, used with MPN-related requests for the MetadataProvider. Note that the processing and the authorization of Push Notifications is per-device and per-application. While a physical device is uniquely identified by the platform type and a platform dependent device token, Lightstreamer considers the same device used by two different applications as two different MPN devices. Thus, an MpnDeviceInfo instance uniquely identifies both the physical device and the application for which it is being used.
An MpnDeviceInfo always provides the following identifiers:
- The platform type.
- The application ID.
- The device token.
Push Notifications... more 
 
Identifies a Push Notifications platform type, used with MPN-related requests of the MetadataProvider.
It is used by Lightstreamer to specify the platform associated with the notified client requests.
The available constants refer to the platform types currently supported.
Push Notifications is an optional feature, available depending on Edition and License Type. 
 
Specifies a Push Notifications subscription, used with MPN-related requests of the MetadataProvider.
For the actual description of the subscription we rely on a generic descriptor accessible via the NotificationFormat property, where the structure of the descriptor depends on the platform.
Push Notifications is an optional feature, available depending on Edition and License Type. 
 
Thrown by the Notify* methods in IMetadataProvider if there is some inconsistency in the supplied parameters. Lightstreamer Kernel ensures that such conditions will never occur, but they may be checked for debugging or documentation reasons.  
 
Thrown by the GetSchema method in IMetadataProvider if the supplied Field Schema name (or Field List specification) is not recognized or cannot be resolved.  
 
Used by IMetadataProvider to provide value objects to the calls to methods NotifyNewTables and NotifyTablesClose. The attributes of every Table (i.e.: Subscription) to be added or removed to a Session have to be written to a TableInfo instance.  
 
Name 
Description 
 
Provides an interface to be implemented by a Remote Metadata Adapter in order to attach a Metadata Provider to Lightstreamer. A single instance of a Remote Metadata Adapter is created by Lightstreamer through the launch of a Remote Server, based on configured class name and parameters. For this purpose, any Remote Metadata Adapter must provide a void constructor. Alternatively, an instance of a Remote Metadata Adapter is supplied to Lightstreamer programmatically through a MetadataProviderServer instance.
A Metadata Provider is used by Lightstreamer Kernel in combination with one or multiple Data Providers, uniquely associated with it; it is consulted in order... more