- getAdapter() - Method in class com.lightstreamer.adapters.remote.DataProviderServer
-
Gets the configured Data Adapter that is running or will run.
- getAdapter() - Method in class com.lightstreamer.adapters.remote.MetadataProviderServer
-
Gets the configured Metadata Adapter that is running or will run.
- getAdapterConfig() - Method in class com.lightstreamer.adapters.remote.DataProviderServer
-
Gets the pathname of an optional configuration file for the Remote
Data Adapter, to be passed to the init method.
- getAdapterConfig() - Method in class com.lightstreamer.adapters.remote.MetadataProviderServer
-
Gets the pathname of an optional configuration file for the Remote
Metadata Adapter, to be passed to the init method.
- getAdapterParams() - Method in class com.lightstreamer.adapters.remote.DataProviderServer
-
Gets the Map object to be passed to the init method
of the Remote Data Adapter, to supply optional parameters.
- getAdapterParams() - Method in class com.lightstreamer.adapters.remote.MetadataProviderServer
-
Gets the Map object to be passed to the init method
of the Remote Metadata Adapter, to supply optional parameters.
- getAllowedBufferSize(String, String) - Method in class com.lightstreamer.adapters.remote.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.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server 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.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server 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.remote.metadata.LiteralBasedProvider
-
Returns the bandwidth level to be allowed to a User for a push Session.
- getAllowedMaxBandwidth(String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to ask for the bandwidth level to be
allowed to a User for a push Session.
- getAllowedMaxBandwidth(String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server 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.remote.metadata.LiteralBasedProvider
-
Returns the ItemUpdate frequency to be allowed to a User for a specific
Item.
- getAllowedMaxItemFrequency(String, String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to ask
for the ItemUpdate frequency to be allowed to a User for a
specific Item.
- getAllowedMaxItemFrequency(String, String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to ask for the ItemUpdate frequency
to be allowed to a User for a specific Item.
- getApplicationId() - Method in class com.lightstreamer.adapters.remote.MpnDeviceInfo
-
Returns the application ID, also known as the package name or bundle ID on some platforms.
- getClientErrorCode() - Method in exception com.lightstreamer.adapters.remote.CreditsException
-
Gets the error code to be forwarded to the client.
- getClientErrorMsg() - Method in exception com.lightstreamer.adapters.remote.CreditsException
-
Gets the error detail message to be forwarded to the client.
- getConflictingSessionID() - Method in exception com.lightstreamer.adapters.remote.ConflictingSessionException
-
Gets 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.adapters.remote.MpnSubscriptionInfo
-
Gets the MPN device of this subscription.
- getDeviceToken() - Method in class com.lightstreamer.adapters.remote.MpnDeviceInfo
-
Returns the token of the device, also know as the registration ID on some platforms.
- getDistinctSnapshotLength(String) - Method in class com.lightstreamer.adapters.remote.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.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server 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.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to ask for the maximum allowed length
for a Snapshot of an Item that has been requested with publishing Mode
DISTINCT.
- getExceptionHandler() - Method in class com.lightstreamer.adapters.remote.Server
-
Gets the handler for error conditions occurring on the Remote Server.
- getId() - Method in class com.lightstreamer.adapters.remote.TableInfo
-
Gets 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.adapters.remote.IndexedItemEvent
-
Returns the index of a named Field.
- getItems(String, String, String) - Method in class com.lightstreamer.adapters.remote.metadata.LiteralBasedProvider
-
Resolves an Item List specification supplied in a Request.
- getItems(String, String, String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to resolve an
Item Group name (or Item List specification) supplied in
a Request.
- getMax() - Method in class com.lightstreamer.adapters.remote.TableInfo
-
Gets the index of the last Item in the Group
to be considered in the Table (i.e.
- getMaximumIndex() - Method in interface com.lightstreamer.adapters.remote.IndexedItemEvent
-
Returns the maximum index for the fields in the event.
- getMin() - Method in class com.lightstreamer.adapters.remote.TableInfo
-
Gets the index of the first Item in the Group
to be considered in the Table (i.e.
- getMinSourceFrequency(String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to ask
for the minimum ItemEvent frequency from the 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.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server 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.adapters.remote.TableInfo
-
Gets the publishing Mode for the Items in the Table (i.e.
- getName(int) - Method in interface com.lightstreamer.adapters.remote.IndexedItemEvent
-
Returns the name of a Field whose index is supplied.
- getName() - Method in class com.lightstreamer.adapters.remote.MpnPlatformType
-
Returns the internal name of the platform type.
- getName() - Method in class com.lightstreamer.adapters.remote.Server
-
Gets the name, used for logging purposes, associated to the Server instance.
- getNames() - Method in interface com.lightstreamer.adapters.remote.ItemEvent
-
Returns an Iterator to browse the names of the supplied Fields, expressed as String.
- getNotificationFormat() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo
-
Returns the descriptor of the push notifications format of this subscription.
- getNotifyStream() - Method in class com.lightstreamer.adapters.remote.Server
-
Gets the stream used by the Remote Adapter in order to send asyncronous
data to the Remote Adapter.
- getRemotePassword() - Method in class com.lightstreamer.adapters.remote.Server
-
Gets the password credential to be sent to the Proxy Adapter upon connection.
The default value is null.
- getRemoteUser() - Method in class com.lightstreamer.adapters.remote.Server
-
Gets the user-name credential to be sent to the Proxy Adapter upon connection.
The default value is null.
- getReplyStream() - Method in class com.lightstreamer.adapters.remote.Server
-
Gets the stream used by the Remote Adapter in order to forward the answers
to the Proxy Adapter.
- getRequestStream() - Method in class com.lightstreamer.adapters.remote.Server
-
Gets the stream used by the Proxy Adapter in order to forward the requests
to the Remote Adapter.
- getSchema(String, String, String, String) - Method in class com.lightstreamer.adapters.remote.metadata.LiteralBasedProvider
-
Resolves a Field List specification supplied in a Request.
- getSchema(String, String, String, String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to resolve a Field
Schema name (or Field List specification) supplied in
a Request.
- getSchema() - Method in class com.lightstreamer.adapters.remote.TableInfo
-
Gets the name of the Field Schema (or specification of the Field List)
used for the subscribed Items.
- getSelector() - Method in class com.lightstreamer.adapters.remote.TableInfo
-
Gets the name of the optional Selector associated to the Table (i.e.
- getTrigger() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo
-
Returns the optional expression that triggers the delivery of push notification.
- getType() - Method in class com.lightstreamer.adapters.remote.MpnDeviceInfo
-
Returns the platform type of the device.
- getValue(int) - Method in interface com.lightstreamer.adapters.remote.IndexedItemEvent
-
Returns the value of a field whose index is supplied (null is a legal value too).
- getValue(String) - Method in interface com.lightstreamer.adapters.remote.ItemEvent
-
Returns the value of a named Field (null is a legal value too).
- getWinIndex() - Method in class com.lightstreamer.adapters.remote.TableInfo
-
Gets the unique identifier of the client subscription request within the session.
- Google - Static variable in class com.lightstreamer.adapters.remote.MpnPlatformType
-
Refers to Push Notifications for Google platforms, such as Android and Chrome.
- NotificationException - Exception in com.lightstreamer.adapters.remote
-
Thrown by the notify* methods in MetadataProvider if there is some inconsistency in the supplied
parameters.
- NotificationException(String) - Constructor for exception com.lightstreamer.adapters.remote.NotificationException
-
Constructs a NotificationException with a supplied error message text.
- notifyMpnDeviceAccess(String, String, MpnDeviceInfo) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to check that a User is enabled to access
the specified MPN device.
- notifyMpnDeviceAccess(String, String, MpnDeviceInfo) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to check that a User is enabled to access
the specified MPN device.
- notifyMpnDeviceTokenChange(String, String, MpnDeviceInfo, String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server 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.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server 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.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to check that a User is enabled
to activate a Push Notification subscription.
- notifyMpnSubscriptionActivation(String, String, TableInfo, MpnSubscriptionInfo) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to check that a User is enabled
to activate a Push Notification subscription.
- notifyNewSession(String, String, Map<String, String>) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to check
that a User is enabled to open a new push Session.
- notifyNewSession(String, String, Map<String, String>) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to check that a User is enabled to open
a new push Session.
- notifyNewTables(String, String, TableInfo[]) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to check
that a User is enabled to add some Tables (i.e.
- notifyNewTables(String, String, TableInfo[]) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server 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.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to notify
the Metadata Adapter that a push Session has been closed.
- notifySessionClose(String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to notify the Metadata Adapter that
a push Session has been closed.
- notifyTablesClose(String, TableInfo[]) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to notify
the Metadata Adapter that some Tables (i.e.
- notifyTablesClose(String, TableInfo[]) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to notify the Metadata Adapter that
some Tables (i.e.: Subscriptions) have been removed from a push Session.
- notifyUser(String, String, Map<String, String>) - Method in class com.lightstreamer.adapters.remote.metadata.LiteralBasedProvider
-
Checks if a user is enabled to make Requests to the related Data
Providers.
- notifyUser(String, String, Map<String, String>) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server
as a preliminary check that a user is
enabled to make Requests to the related Data Providers.
- notifyUser(String, String, Map<String, String>, String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel, through the Remote Server,
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<String, String>) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server as a preliminary check that a user is
enabled to make Requests to the related Data Providers.
- notifyUser(String, String, Map<String, String>, String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Extended version of the User authentication method, invoked by the
Server, through the Remote Server, in case the Server 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.adapters.remote.MetadataProvider
-
Called by Lightstreamer Kernel through the Remote Server to forward
a message received by a User.
- notifyUserMessage(String, String, String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
-
Called by Lightstreamer Kernel through the Remote Server to forward a message received by a User.
- SchemaException - Exception in com.lightstreamer.adapters.remote
-
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.adapters.remote.SchemaException
-
Constructs a SchemaException with a supplied error message text.
- Server - Class in com.lightstreamer.adapters.remote
-
A generic Remote Server object, which can run a Remote Data or Metadata Adapter
and connect it to the Proxy Adapter running on Lightstreamer Server.
- Server() - Constructor for class com.lightstreamer.adapters.remote.Server
-
- setAdapter(DataProvider) - Method in class com.lightstreamer.adapters.remote.DataProviderServer
-
Sets the Remote Data Adapter instance to be run.
- setAdapter(MetadataProvider) - Method in class com.lightstreamer.adapters.remote.MetadataProviderServer
-
Sets the Remote Metadata Adapter instance to be run.
- setAdapterConfig(String) - Method in class com.lightstreamer.adapters.remote.DataProviderServer
-
Sets the pathname of an optional configuration file for the Remote
Data Adapter, to be passed to the init method.
- setAdapterConfig(String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderServer
-
Sets the pathname of an optional configuration file for the Remote
Metadata Adapter, to be passed to the init method.
- setAdapterParams(Map<String, String>) - Method in class com.lightstreamer.adapters.remote.DataProviderServer
-
Sets a Map object to be passed to the init method
of the Remote Data Adapter, to supply optional parameters.
- setAdapterParams(Map<String, String>) - Method in class com.lightstreamer.adapters.remote.MetadataProviderServer
-
Sets a Map object to be passed to the init method
of the Remote Metadata Adapter, to supply optional parameters.
- setExceptionHandler(ExceptionHandler) - Method in class com.lightstreamer.adapters.remote.Server
-
Sets the handler for error conditions occurring on the Remote Server.
- setListener(ItemEventListener) - Method in interface com.lightstreamer.adapters.remote.DataProvider
-
Called by the Remote Server to provide
a listener to receive the Item Events carrying data and
asynchronous error notifications for Lightstreamer Kernel.
- setLoggerProvider(LoggerProvider) - Static method in class com.lightstreamer.adapters.remote.Server
-
Static method that permits to configure the logging system used by the library.
- setName(String) - Method in class com.lightstreamer.adapters.remote.Server
-
Sets a name for the Server instance; used for logging purposes.
- setNotifyStream(OutputStream) - Method in class com.lightstreamer.adapters.remote.Server
-
Sets the stream used by the Remote Adapter in order to send asyncronous
data to the Remote Adapter.
- setRemotePassword(String) - Method in class com.lightstreamer.adapters.remote.Server
-
Sets the password credential to be sent to the Proxy Adapter upon connection.
- setRemoteUser(String) - Method in class com.lightstreamer.adapters.remote.Server
-
Sets the user-name credential to be sent to the Proxy Adapter upon connection.
- setReplyStream(OutputStream) - Method in class com.lightstreamer.adapters.remote.Server
-
Sets the stream used by the Remote Adapter in order to forward the answers
to the Proxy Adapter.
- setRequestStream(InputStream) - Method in class com.lightstreamer.adapters.remote.Server
-
Sets the stream used by the Proxy Adapter in order to forward the requests
to the Remote Adapter.
- start() - Method in class com.lightstreamer.adapters.remote.Server
-
Starts the communication between the Remote Adapter and the Proxy Adapter
through the supplied streams.
- subscribe(String) - Method in interface com.lightstreamer.adapters.remote.DataProvider
-
Called by Lightstreamer Remote Server to request data for an Item.
- SubscriptionException - Exception in com.lightstreamer.adapters.remote
-
Thrown by the subscribe and unsubscribe methods in DataProvider if the request cannot be satisfied.
- SubscriptionException(String) - Constructor for exception com.lightstreamer.adapters.remote.SubscriptionException
-
Constructs a SubscriptionException with a supplied error message text.