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

This is namespace Lightstreamer.Interfaces.Data.

Name 
Description 
The following table lists classes in this documentation. 
The following table lists interfaces in this documentation. 
 
Name 
Description 
 
Base class for all exceptions directly thrown by the Data Adapter.  
 
Contains constants for the special field names and field values recognized by the Server.  
 
Thrown by the init method in DataProvider if there is some problem that prevents the correct behavior of the Data Adapter. If this exception occurs, Lightstreamer Kernel must give up the startup.  
 
Thrown by the subscribe and unsubscribe methods in DataProvider if the method execution has caused a severe problem that can compromise future operation of the Data Adapter.  
 
Thrown by the subscribe and unsubscribe methods in DataProvider if the request cannot be satisfied.  
 
Name 
Description 
 
Provides an interface to be implemented by a Remote Data Adapter in order to attach a Data Provider to Lightstreamer. A single instance of a Remote Data Adapter is created by Lightstreamer through the launch of a Remote Server, based on configured class name and parameters. For this purpose, any Remote Data Adapter must provide a void constructor. Alternatively, an instance of a Remote Data Adapter is supplied to Lightstreamer programmatically through a DataProviderServer instance. After initialization, Lightstreamer sets itself as the Remote Data Adapter listener, by calling the setListener method.
Data Providers are used by Lightstreamer Kernel to obtain... more 
 
Provides to the Data Adapter an alternative interface for creating Item Events in order to send updates to Lightstreamer Kernel. In this event, a name-index association is defined for all fields. These indexes will also be used to iterate through all the fields. Some indexes may not be associated to fields in the event, but the number of such holes should be small. The name-index associations are local to the event and may be different even across events belonging to the same Item. Using this kind of events allows a particularly efficient management of events that belong to Items requested... more 
 
Provides to the Data Adapter a base interface for creating Item Events in order to send updates to Lightstreamer Kernel. An Item Event object contains the new values and, in some cases, the current values of the Fields of an Item. The interfaces IIndexedItemEvent and IDictionary may also be used to define events. Events of all these kinds may be freely mixed, even if they belong to the same Item. All implementation methods should be nonblocking.  
 
Used by Lightstreamer Kernel to receive the Item Events and any asynchronous severe error notification from the Data Adapter. The listener instance is supplied to the Data Adapter by Lightstreamer Kernel (through the Remote Server) through a SetListener call. The listener can manage multiple kinds of Item Events: IItemEvent objects, IIndexedItemEvent objects and IDictionary objects. The common characteristics of all these kinds of Item Event objects are that:
- they contain the new values and, in some cases, the current values of the Fields of an Item; the Item name is not directly asked to the object;
- they provide... more