- getAllowedBufferSize(String, String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Returns the size of the buffer internally used to enqueue subsequent
ItemUpdates for the same Item.
- getAllowedBufferSize(String, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to ask for the maximum size allowed
for the buffer internally used to enqueue subsequent ItemUpdates
for the same Item.
- getAllowedBufferSize(String, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to ask for the maximum allowed size
of the buffer internally used to enqueue subsequent ItemUpdates
for the same Item.
- getAllowedMaxBandwidth(String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Returns the bandwidth level to be allowed to a User for a push Session.
- getAllowedMaxBandwidth(String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to ask for the bandwidth level to be
allowed to a User for a push Session.
- getAllowedMaxBandwidth(String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to ask for the bandwidth amount to be
allowed to a User for a push Session.
- getAllowedMaxItemFrequency(String, String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Returns the ItemUpdate frequency to be allowed to a User for a specific
Item.
- getAllowedMaxItemFrequency(String, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to ask for the ItemUpdate frequency
to be allowed to a User for a specific Item.
- getAllowedMaxItemFrequency(String, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to ask for the ItemUpdate frequency
to be allowed to a User for a specific Item.
- getApplicationId() - Method in class com.lightstreamer.interfaces.metadata.MpnDeviceInfo
-
Returns the application ID, also known as the package name or bundle ID on some platforms.
- getClientErrorCode() - Method in exception com.lightstreamer.interfaces.metadata.CreditsException
-
Returns the error code to be forwarded to the client.
- getClientErrorMsg() - Method in exception com.lightstreamer.interfaces.metadata.CreditsException
-
Returns the error detail message to be forwarded to the client.
- getConflictingSessionID() - Method in exception com.lightstreamer.interfaces.metadata.ConflictingSessionException
-
Returns the ID of a Session that can be closed in order to eliminate
the problem reported in this exception.
- getDevice() - Method in class com.lightstreamer.interfaces.metadata.MpnSubscriptionInfo
-
Returns the MPN device of this subscription.
- getDeviceToken() - Method in class com.lightstreamer.interfaces.metadata.MpnDeviceInfo
-
Returns the token of the device, also know as the registration ID on some platforms.
- getDistinctSnapshotLength(String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Returns the maximum allowed length for a Snapshot of any Item that
has been requested with publishing Mode DISTINCT.
- getDistinctSnapshotLength(String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to ask for the maximum allowed length
for a Snapshot of an Item that has been requested with publishing Mode
DISTINCT.
- getDistinctSnapshotLength(String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to ask for the maximum allowed length
for a Snapshot of an Item that has been requested with publishing Mode
DISTINCT.
- getId() - Method in class com.lightstreamer.interfaces.metadata.TableInfo
-
Returns the name of the Item Group (or specification of the Item List)
to which the subscribed Items belong.
- getIndex(String) - Method in interface com.lightstreamer.interfaces.data.IndexedItemEvent
-
Returns the index of a named Field.
- getItems(String, String, String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Resolves an Item List specification supplied in a Request.
- getItems(String, String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Resolves an Item List specification supplied in a Request.
- getItems(String, String, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to resolve an Item Group name (or Item List specification) supplied in
a Request.
- getMax() - Method in class com.lightstreamer.interfaces.metadata.TableInfo
-
Returns the index of the last Item in the Group to be considered in
the Table (i.e.: Subscription).
- getMaximumIndex() - Method in interface com.lightstreamer.interfaces.data.IndexedItemEvent
-
Returns the maximum index for the fields in the event.
- getMin() - Method in class com.lightstreamer.interfaces.metadata.TableInfo
-
Returns the index of the first Item in the Group to be considered in
the Table (i.e.: Subscription).
- getMinSourceFrequency(String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Returns the minimum ItemEvent frequency from the supplier Data Adapter at which
the events for an Item are guaranteed to be delivered to the Clients
without loss of information.
- getMinSourceFrequency(String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to ask for the minimum ItemEvent
frequency from the supplier Data Adapter at which the events for an Item are
guaranteed to be delivered to the Clients without loss of information.
- getMinSourceFrequency(String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to ask for the minimum ItemEvent
frequency from the supplier Data Adapter at which the events for an Item are
guaranteed to be delivered to the Clients without loss of information.
- getMode() - Method in class com.lightstreamer.interfaces.metadata.TableInfo
-
Returns the publishing Mode for the Items in the Table (i.e.: Subscription)
(it must be the same across all the Table).
- getName(int) - Method in interface com.lightstreamer.interfaces.data.IndexedItemEvent
-
Returns the name of a Field whose index is supplied.
- getName() - Method in class com.lightstreamer.interfaces.metadata.MpnPlatformType
-
Returns the internal name of the platform type.
- getNames() - Method in interface com.lightstreamer.interfaces.data.ItemEvent
-
Returns an iterator to browse the names of the supplied Fields,
expressed as String.
- getNames() - Method in interface com.lightstreamer.interfaces.data.OldItemEvent
-
Returns an iterator to browse the names of the supplied Fields,
expressed as String.
- getNotificationFormat() - Method in class com.lightstreamer.interfaces.metadata.MpnSubscriptionInfo
-
Returns the descriptor of the push notifications format of this subscription.
- getSchema(String, String, String, String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Resolves a Field List specification supplied in a Request.
- getSchema(String, String, String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Resolves a Field List specification supplied in a Request.
- getSchema(String, String, String, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to resolve a Field Schema name (or Field List specification) supplied in
a Request.
- getSchema() - Method in class com.lightstreamer.interfaces.metadata.TableInfo
-
Returns the name of the Field Schema (or specification of the Field List)
used for the subscribed Items.
- getSelector() - Method in class com.lightstreamer.interfaces.metadata.TableInfo
-
Returns the name of the optional Selector associated to the Table
(i.e.: Subscription).
- getTrigger() - Method in class com.lightstreamer.interfaces.metadata.MpnSubscriptionInfo
-
Returns the optional expression that triggers the delivery of push notification.
- getType() - Method in class com.lightstreamer.interfaces.metadata.MpnDeviceInfo
-
Returns the platform type of the device.
- getValue(int) - Method in interface com.lightstreamer.interfaces.data.IndexedItemEvent
-
Returns the value of a field whose index is supplied (null is a legal
value too).
- getValue(String) - Method in interface com.lightstreamer.interfaces.data.ItemEvent
-
Returns the value of a named Field (null is a legal value too).
- getValue(String) - Method in interface com.lightstreamer.interfaces.data.OldItemEvent
-
Returns the value of a named Field (null is a legal value too).
- getValueAsByteArray(String) - Method in interface com.lightstreamer.interfaces.metadata.ItemEvent
-
Returns the value of a named Field as a byte array (null is a legal
value too).
- getValueAsString(String) - Method in interface com.lightstreamer.interfaces.metadata.ItemEvent
-
Returns the value of a named Field as a String object (null is a legal
value too).
- getWinIndex() - Method in class com.lightstreamer.interfaces.metadata.TableInfo
-
Returns a unique identifier of the client subscription request.
- Google - Static variable in class com.lightstreamer.interfaces.metadata.MpnPlatformType
-
Refers to Push Notifications for Google platforms, such as Android and Chrome.
- IndexedItemEvent - Interface in com.lightstreamer.interfaces.data
-
Provides to the Data Adapter an alternative interface for creating
ItemEvents in order to send updates to Lightstreamer Kernel.
- init(Map, File) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Reads configuration settings for user and resource constraints.
- init(Map, File) - Method in interface com.lightstreamer.interfaces.data.DataProvider
-
Called by Lightstreamer Kernel to provide initialization information
to the Data Adapter.
- init(Map, File) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to provide initialization information
to the Metadata Adapter.
- init(Map, File) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
No-op initialization.
- isModeAllowed(String, String, Mode) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to ask for the allowance of a publishing
Mode for an Item.
- isModeAllowed(String, String, Mode) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to ask for the allowance of a publishing
Mode for an Item.
- isSelected(String, String, String, ItemEvent) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel in order to filter events pertaining
to an ItemEventBuffer, if the related Item was requested within a Table
(i.e.: Subscription) with an associated Selector.
- isSelected(String, String, String, ItemEvent) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel in order to filter events pertaining
to an ItemEventBuffer, if the related Item was requested within a Table
(i.e.: Subscription) with an associated Selector.
- isSelectorAllowed(String, String, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to ask for the allowance of a Selector
for an Item.
- isSelectorAllowed(String, String, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to ask for the allowance of a Selector
for an Item.
- isSnapshot() - Method in interface com.lightstreamer.interfaces.metadata.ItemEvent
-
Allows to distinguish between events that carry the Item initial state
(the Snapshot) and events that carry state Updates.
- isSnapshotAvailable(String) - Method in interface com.lightstreamer.interfaces.data.DataProvider
-
Called by Lightstreamer Kernel to know whether the Data Adapter,
after a subscription for an Item, will send some Snapshot ItemEvents
before sending the updates.
- ItemEvent - Interface in com.lightstreamer.interfaces.data
-
Provides to the Data Adapter a base interface for creating ItemEvents
in order to send updates to Lightstreamer Kernel.
- ItemEvent - Interface in com.lightstreamer.interfaces.metadata
-
Used to provide update information to the calls to the isSelected method
of MetadataProvider.
- ItemEventListener - Interface in com.lightstreamer.interfaces.data
-
Used by Lightstreamer Kernel to receive the ItemEvents and any asynchronous
severe error notification from the Data Adapter.
- ItemsException - Exception in com.lightstreamer.interfaces.metadata
-
Thrown by the getItems and getSchema methods in MetadataProvider if the
supplied Item Group name (or Item List specification) is not recognized or cannot be resolved.
- ItemsException(String) - Constructor for exception com.lightstreamer.interfaces.metadata.ItemsException
-
Constructs an ItemsException with a supplied error message text.
- NotificationException - Exception in com.lightstreamer.interfaces.metadata
-
Thrown by the notify* methods in MetadataProvider if there is some
inconsistency in the supplied parameters.
- NotificationException(String) - Constructor for exception com.lightstreamer.interfaces.metadata.NotificationException
-
Constructs a NotificationException with a supplied error message text.
- notifyMpnDeviceAccess(String, String, MpnDeviceInfo) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to check that a User is enabled to access
the specified MPN device.
- notifyMpnDeviceAccess(String, String, MpnDeviceInfo) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to check that a User is enabled to access
the specified MPN device.
- notifyMpnDeviceTokenChange(String, String, MpnDeviceInfo, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to check that a User is enabled to change
the token of an MPN device.
- notifyMpnDeviceTokenChange(String, String, MpnDeviceInfo, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to check that a User is enabled to change
the token of a MPN device.
- notifyMpnSubscriptionActivation(String, String, TableInfo, MpnSubscriptionInfo) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to check that a User is enabled
to activate a Push Notification subscription.
- notifyMpnSubscriptionActivation(String, String, TableInfo, MpnSubscriptionInfo) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to check that a User is enabled
to activate a Push Notification subscription.
- notifyNewSession(String, String, Map) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to check that a User is enabled to open
a new push Session.
- notifyNewSession(String, String, Map) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to check that a User is enabled to open
a new push Session.
- notifyNewSession(String, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
2-arguments version of the User authentication method.
- notifyNewTables(String, String, TableInfo[]) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to check that a User is enabled to add
some Tables (i.e.: Subscriptions) to a push Session.
- notifyNewTables(String, String, TableInfo[]) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to check that a User is enabled to add
some Tables (i.e.: Subscriptions) to a push Session.
- notifySessionClose(String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to notify the Metadata Adapter that
a push Session has been closed.
- notifySessionClose(String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to notify the Metadata Adapter that
a push Session has been closed.
- notifyTablesClose(String, TableInfo[]) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to notify the Metadata Adapter that
some Tables (i.e.: Subscriptions) have been removed from a push Session.
- notifyTablesClose(String, TableInfo[]) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to notify the Metadata Adapter that
some Tables (i.e.: Subscriptions) have been removed from a push Session.
- notifyUser(String, String, Map) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Checks if a user is enabled to make Requests to the related Data
Providers.
- notifyUser(String, String) - Method in class com.lightstreamer.adapters.metadata.LiteralBasedProvider
-
Checks if a user is enabled to make Requests to the related Data
Providers.
- notifyUser(String, String, Map) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel as a preliminary check that a user is
enabled to make Requests to any of the related Data Providers.
- notifyUser(String, String, Map, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel, instead of calling the 3-arguments
version, in case the Server has been instructed to acquire the client
principal from the client TLS/SSL certificate through the <use_client_auth>
configuration flag.
- notifyUser(String, String, Map) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel as a preliminary check that a user is
enabled to make Requests to the related Data Providers.
- notifyUser(String, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
2-arguments version of the User authentication method.
- notifyUser(String, String, Map, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Extended version of the User authentication method, invoked by the
Server in case it has been instructed (through the <use_client_auth>
configuration flag) to acquire the client principal from the client TLS/SSL
certificate, if available.
- notifyUserMessage(String, String, String) - Method in interface com.lightstreamer.interfaces.metadata.MetadataProvider
-
Called by Lightstreamer Kernel to forward a message received by a User.
- notifyUserMessage(String, String, String) - Method in class com.lightstreamer.interfaces.metadata.MetadataProviderAdapter
-
Called by Lightstreamer Kernel to forward a message received by a User.
- SchemaException - Exception in com.lightstreamer.interfaces.metadata
-
Thrown by the getSchema method in MetadataProvider if the supplied
Field Schema name (or Field List specification) is not recognized or cannot be resolved.
- SchemaException(String) - Constructor for exception com.lightstreamer.interfaces.metadata.SchemaException
-
Constructs a SchemaException with a supplied error message text.
- setListener(ItemEventListener) - Method in interface com.lightstreamer.interfaces.data.DataProvider
-
Called by Lightstreamer Kernel to provide a listener to receive the
ItemEvents carrying data and asynchronous error notifications.
- setValueAsByteArray(String, byte[]) - Method in interface com.lightstreamer.interfaces.metadata.CustomizableItemEvent
-
Sets the value of a named Field as a byte array (null is a legal
value too).
- setValueAsString(String, String) - Method in interface com.lightstreamer.interfaces.metadata.CustomizableItemEvent
-
Sets the value of a named Field as a String object (null is a legal
value too).
- smartClearSnapshot(Object) - Method in interface com.lightstreamer.interfaces.data.ItemEventListener
-
Can be called, instead of clearSnapshot, by a Data Adapter that
implements the extended interface SmartDataProvider, in all cases
in which clearSnapshot can be called.
- SmartDataProvider - Interface in com.lightstreamer.interfaces.data
-
Provides an extended interface to be implemented by a Data Adapter in order
to attach a Data Provider to Lightstreamer Kernel.
- smartEndOfSnapshot(Object) - Method in interface com.lightstreamer.interfaces.data.ItemEventListener
-
Can be called, instead of endOfSnapshot, by a Data Adapter that
implements the extended interface SmartDataProvider, in all cases
in which endOfSnapshot can be called.
- smartUpdate(Object, ItemEvent, boolean) - Method in interface com.lightstreamer.interfaces.data.ItemEventListener
-
Can be called by a Data Adapter that implements the extended interface
SmartDataProvider to send an ItemEvent to Lightstreamer Kernel
when the ItemEvent is implemented as an ItemEvent instance.
- smartUpdate(Object, OldItemEvent, boolean) - Method in interface com.lightstreamer.interfaces.data.ItemEventListener
-
Can be called by a Data Adapter that implements the extended interface
SmartDataProvider to send an ItemEvent to Lightstreamer Kernel
when the ItemEvent is implemented as an OldItemEvent instance.
- smartUpdate(Object, Map, boolean) - Method in interface com.lightstreamer.interfaces.data.ItemEventListener
-
Can be called by a Data Adapter that implements the extended interface
SmartDataProvider to send an ItemEvent to Lightstreamer Kernel
when the ItemEvent is implemented as a java.util.Map instance.
- smartUpdate(Object, IndexedItemEvent, boolean) - Method in interface com.lightstreamer.interfaces.data.ItemEventListener
-
Can be called by a Data Adapter that implements the extended interface
SmartDataProvider to send an ItemEvent to Lightstreamer Kernel
when the ItemEvent is implemented as an IndexedItemEvent instance.
- subscribe(String, boolean) - Method in interface com.lightstreamer.interfaces.data.DataProvider
-
Called by Lightstreamer Kernel to request data for an Item.
- subscribe(String, Object, boolean) - Method in interface com.lightstreamer.interfaces.data.SmartDataProvider
-
Called by Lightstreamer Kernel to request data for an Item.
- subscribe(String, boolean) - Method in interface com.lightstreamer.interfaces.data.SmartDataProvider
-
Inherited by the base interface DataProvider but never called in this
case, because the extended version will always be called in its place.
- SubscriptionException - Exception in com.lightstreamer.interfaces.data
-
Thrown by the subscribe and unsubscribe methods in DataProvider if the
request cannot be satisfied.
- SubscriptionException(String) - Constructor for exception com.lightstreamer.interfaces.data.SubscriptionException
-
Constructs a SubscriptionException with a supplied error message text.