Skip navigation links
A B C D E F G H I K L M N R S T U W 

A

AccessException - Exception in com.lightstreamer.adapters.remote
Thrown by the Notify* methods in MetadataProvider if the supplied User is not recognized or a functionality is not implemented for this User.
AccessException(String) - Constructor for exception com.lightstreamer.adapters.remote.AccessException
Constructs an AccessException with a supplied error message text.
ADD_COMMAND - Static variable in class com.lightstreamer.adapters.remote.DataProviderConstants
Constant that can be used as the "ADD" value for the "command" fields of Items to be processed in COMMAND mode.
APNS - Static variable in class com.lightstreamer.adapters.remote.MpnPlatformType
Apple Push Notification Service platform type.

B

BPN - Static variable in class com.lightstreamer.adapters.remote.MpnPlatformType
Blackberry Push Notifications Service platform type.

C

clearSnapshot(String) - Method in interface com.lightstreamer.adapters.remote.ItemEventListener
Called by a Data Adapter to signal to Lightstreamer Kernel that the current Snapshot of the Item has suddenly become empty.
close() - Method in class com.lightstreamer.adapters.remote.Server
Stops the management of the Remote Adapter and destroys the threads used by this Server.
com.lightstreamer.adapters.remote - package com.lightstreamer.adapters.remote
 
com.lightstreamer.adapters.remote.log - package com.lightstreamer.adapters.remote.log
 
com.lightstreamer.adapters.remote.metadata - package com.lightstreamer.adapters.remote.metadata
 
COMMAND - Static variable in class com.lightstreamer.adapters.remote.Mode
The COMMAND Mode.
COMMAND_FIELD - Static variable in class com.lightstreamer.adapters.remote.DataProviderConstants
Constant that can be used as field name for the "command" field in Items to be processed in COMMAND mode.
ConflictingSessionException - Exception in com.lightstreamer.adapters.remote
Thrown by the notifyNewSession method of MetadataProvider if a User is not enabled to open a new Session but he would be enabled as soon as another Session were closed.
ConflictingSessionException(int, String, String, String) - Constructor for exception com.lightstreamer.adapters.remote.ConflictingSessionException
Constructs a ConflictingSessionException with supplied error code and message text that will be forwarded to the Client in case the Server can't solve the issue by closing the conflicting session.
CreditsException - Exception in com.lightstreamer.adapters.remote
Thrown by the notify* methods in MetadataProvider if some functionality cannot be allowed to the supplied User.
CreditsException(int, String) - Constructor for exception com.lightstreamer.adapters.remote.CreditsException
Constructs a CreditsException with supplied error code and message text.
CreditsException(int, String, String) - Constructor for exception com.lightstreamer.adapters.remote.CreditsException
Constructs a CreditsException with supplied error code and message text to be forwarded to the Client.

D

DataException - Exception in com.lightstreamer.adapters.remote
Base class for all exceptions directly thrown by the Data Adapter.
DataException(String, Exception) - Constructor for exception com.lightstreamer.adapters.remote.DataException
 
DataException(String) - Constructor for exception com.lightstreamer.adapters.remote.DataException
 
DataProvider - Interface in com.lightstreamer.adapters.remote
Provides an interface to be implemented by a Remote Data Adapter in order to attach a Data Provider to Lightstreamer.
DataProviderConstants - Class in com.lightstreamer.adapters.remote
Contains constants for the special field names and field values recognized by the Server.
DataProviderConstants() - Constructor for class com.lightstreamer.adapters.remote.DataProviderConstants
 
DataProviderException - Exception in com.lightstreamer.adapters.remote
Thrown by the init method in DataProvider if there is some problem that prevents the correct behavior of the Data Adapter.
DataProviderException(String) - Constructor for exception com.lightstreamer.adapters.remote.DataProviderException
Constructs a DataProviderException with a supplied error message text.
DataProviderServer - Class in com.lightstreamer.adapters.remote
A server object which can run a Remote Data Adapter and connect it to the Proxy Adapter running on Lightstreamer Server.
The object should be provided with a DataProvider instance and with suitable initialization parameters and established connections, then activated through Server.start() and finally disposed through Server.close().
DataProviderServer() - Constructor for class com.lightstreamer.adapters.remote.DataProviderServer
Creates an empty server still to be configured and started.
DataProviderServer(boolean) - Constructor for class com.lightstreamer.adapters.remote.DataProviderServer
Creates an empty server still to be configured and started.
debug(String) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Debug level.
debug(String, Throwable) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Debug level and a related exception.
DELETE_COMMAND - Static variable in class com.lightstreamer.adapters.remote.DataProviderConstants
Constant that can be used as the "DELETE" value for the "command" fields of Items to be processed in COMMAND mode.
DISTINCT - Static variable in class com.lightstreamer.adapters.remote.Mode
The DISTINCT Mode.

E

endOfSnapshot(String) - Method in interface com.lightstreamer.adapters.remote.ItemEventListener
Called by a Data Adapter to signal to Lightstreamer Kernel that no more Item Event belonging to the Snapshot are expected for an Item.
equals(Object) - Method in class com.lightstreamer.adapters.remote.Mode
Method Equals.
equals(Object) - Method in class com.lightstreamer.adapters.remote.MpnPlatformType
Method Equals.
error(String) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Error level.
error(String, Throwable) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Error level and a related exception.
ExceptionHandler - Interface in com.lightstreamer.adapters.remote
Interface to be implemented in order to provide the Server instance with a custom handler for error conditions occurring on the Remote Server.

F

failure(Exception) - Method in interface com.lightstreamer.adapters.remote.ItemEventListener
Called by a Data Adapter to notify Lightstreamer Kernel of the occurrence of a severe problem that can compromise future operation of the Data Adapter.
FailureException - Exception in com.lightstreamer.adapters.remote
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.
FailureException(String) - Constructor for exception com.lightstreamer.adapters.remote.FailureException
Constructs a FailureException with a supplied error message text.
fatal(String) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Fatal level.
fatal(String, Throwable) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Fatal level and a related exception.

G

GCM - Static variable in class com.lightstreamer.adapters.remote.MpnPlatformType
Google Cloud Messaging platform type.
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.
The default value is null.
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.
The default value is null.
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.
The default value is an empty HashMap.
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.
The default value is an empty HashMap.
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
Gets the application ID, also known as the bundle ID on some platforms.
getArguments() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the list of optional arguments to be used with a localized format key.
getBadge() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the optional value for the icon badge when a push notification is delivered.
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.
getCollapseKey() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnGcmSubscriptionInfo
Gets the key to be use to collapse multiple push notifications.
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.
getCustomData() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the map of optional custom key-value pairs to be added to the push notification.
getData() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnGcmSubscriptionInfo
Gets the push notifications' payload.
getDelayWhileIdle() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnGcmSubscriptionInfo
If "true", the delivery of push notifications is delayed if the device is idle.
getDevice() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo
Gets the MPN device of the push notifications.
getDeviceToken() - Method in class com.lightstreamer.adapters.remote.MpnDeviceInfo
Gets the token of the device.
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.
getFormat() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the format for the push notification text when it is delivered.
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.
getIsDebugEnabled() - Method in interface com.lightstreamer.adapters.remote.log.Logger
Checks if this logger is enabled for the Debug level.
This property is intended to lessen the computational cost of disabled log Debug statements.
getIsErrorEnabled() - Method in interface com.lightstreamer.adapters.remote.log.Logger
Checks if this logger is enabled for the Error level.
This property is intended to lessen the computational cost of disabled log Error statements.
getIsFatalEnabled() - Method in interface com.lightstreamer.adapters.remote.log.Logger
Checks if this logger is enabled for the Fatal level.
This property is intended to lessen the computational cost of disabled log Fatal statements.
getIsInfoEnabled() - Method in interface com.lightstreamer.adapters.remote.log.Logger
Checks if this logger is enabled for the Info level.
This property is intended to lessen the computational cost of disabled log Info statements.
getIsWarnEnabled() - Method in interface com.lightstreamer.adapters.remote.log.Logger
Checks if this logger is enabled for the Warn level.
This property is intended to lessen the computational cost of disabled log Warn statements.
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.
getLaunchImage() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the optional image name to be shown while the app is loading when the action.
getLocalizedActionKey() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the optional key of the localized text to be used as the action button when a push notification is delivered.
getLocalizedFormatKey() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the key of the localized text to be used as the format for the push notification text when it is delivered.
getLogger(String) - Method in interface com.lightstreamer.adapters.remote.log.LoggerProvider
Request for a Logger instance that will be used for logging occurring on the given category.
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
Gets 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.
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.
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.
getSound() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Gets the optional sound ID to be played when a push notification is delivered.
getTimeToLive() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnGcmSubscriptionInfo
Gets the expiration of push notifications, expressed as an integer number of in seconds.
getTrigger() - Method in class com.lightstreamer.adapters.remote.MpnSubscriptionInfo
Gets the optional expression the updates are checked against to trigger the notification.
getType() - Method in class com.lightstreamer.adapters.remote.MpnDeviceInfo
Gets 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.

H

handleException(RemotingException) - Method in interface com.lightstreamer.adapters.remote.ExceptionHandler
Called by the Remote Server upon an unexpected error.
handleIOException(IOException) - Method in interface com.lightstreamer.adapters.remote.ExceptionHandler
Called by the Remote Server upon a read or write operation failure.

I

IndexedItemEvent - Interface in com.lightstreamer.adapters.remote
Provides to the Data Adapter an alternative interface for creating Item Events in order to send updates to Lightstreamer Kernel.
info(String) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Info level.
info(String, Throwable) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Info level and a related exception.
init(Map<String, String>, String) - Method in interface com.lightstreamer.adapters.remote.DataProvider
Called by the Remote Server to provide initialization information to the Data Adapter.
init(Map<String, String>, String) - Method in class com.lightstreamer.adapters.remote.metadata.LiteralBasedProvider
Reads configuration settings for user and resource constraints.
init(Map<String, String>, String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
Called by Lightstreamer Kernel through the Remote Server to provide initialization information to the Metadata Adapter.
init(Map<String, String>, String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
No-op initialization.
isModeAllowed(String, String, Mode) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
Called by Lightstreamer Kernel through the Remote Server to ask for the allowance of a publishing Mode for an Item.
isModeAllowed(String, String, Mode) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
Called by Lightstreamer Kernel through the Remote Server to ask for the allowance of a publishing Mode for an Item.
isSnapshotAvailable(String) - Method in interface com.lightstreamer.adapters.remote.DataProvider
Called by Lightstreamer Kernel through the Remote Server to know whether the Data Adapter, after a subscription for an Item, will send some Snapshot Item Events before sending the updates.
ItemEvent - Interface in com.lightstreamer.adapters.remote
Provides to the Data Adapter a base interface for creating Item Events in order to send updates to Lightstreamer Kernel.
ItemEventListener - Interface in com.lightstreamer.adapters.remote
Used by Lightstreamer Kernel to receive the Item Events and any asynchronous severe error notification from the Data Adapter.
ItemsException - Exception in com.lightstreamer.adapters.remote
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.adapters.remote.ItemsException
Constructs an ItemsException with a supplied error message text.

K

KEY_FIELD - Static variable in class com.lightstreamer.adapters.remote.DataProviderConstants
Constant that can be used as field name for the "key" field in Items to be processed in COMMAND mode.

L

LiteralBasedProvider - Class in com.lightstreamer.adapters.remote.metadata
Simple full implementation of a Metadata Adapter, made available in Lightstreamer SDK.
LiteralBasedProvider() - Constructor for class com.lightstreamer.adapters.remote.metadata.LiteralBasedProvider
Void constructor required by the Remote Server.
Logger - Interface in com.lightstreamer.adapters.remote.log
Interface to be implemented to consume log from the library.
Instances of implemented classes are obtained by the library through the LoggerProvider instance set on Server.SetLoggerProvider.
LoggerProvider - Interface in com.lightstreamer.adapters.remote.log
Simple interface to be implemented to provide custom log consumers to the library.
An instance of the custom implemented class has to be passed to the library through the Server.setLoggerProvider(com.lightstreamer.adapters.remote.log.LoggerProvider).

M

MERGE - Static variable in class com.lightstreamer.adapters.remote.Mode
The MERGE Mode.
MetadataException - Exception in com.lightstreamer.adapters.remote
Base class for all exceptions directly thrown by the Metadata Adapter.
MetadataException(String, Exception) - Constructor for exception com.lightstreamer.adapters.remote.MetadataException
 
MetadataException(String) - Constructor for exception com.lightstreamer.adapters.remote.MetadataException
 
MetadataProvider - Interface in com.lightstreamer.adapters.remote
Provides an interface to be implemented by a Remote Metadata Adapter in order to attach a Metadata Provider to Lightstreamer.
MetadataProviderAdapter - Class in com.lightstreamer.adapters.remote
Provides a default implementation of all the MetadataProvider interface methods.
MetadataProviderAdapter() - Constructor for class com.lightstreamer.adapters.remote.MetadataProviderAdapter
 
MetadataProviderException - Exception in com.lightstreamer.adapters.remote
Thrown by the init method in MetadataProvider if there is some problem that prevents the correct behavior of the Metadata Adapter.
MetadataProviderException(String) - Constructor for exception com.lightstreamer.adapters.remote.MetadataProviderException
Constructs a MetadataProviderException with a supplied error message text.
MetadataProviderServer - Class in com.lightstreamer.adapters.remote
A server object which can run a Remote Metadata Adapter and connect it to the Proxy Adapter running on Lightstreamer Server.
The object should be provided with a MetadataProvider instance and with suitable initialization parameters and established connections, then activated through Server.start() and finally disposed through Server.close().
MetadataProviderServer() - Constructor for class com.lightstreamer.adapters.remote.MetadataProviderServer
Creates an empty server still to be configured and started.
MetadataProviderServer(boolean) - Constructor for class com.lightstreamer.adapters.remote.MetadataProviderServer
Creates an empty server still to be configured and started.
Mode - Class in com.lightstreamer.adapters.remote
Encapsulates a publishing Mode.
modeMayBeAllowed(String, Mode) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
Called by Lightstreamer Kernel through the Remote Server to ask for the allowance of a publishing Mode for an Item (for at least one User).
modeMayBeAllowed(String, Mode) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
Called by Lightstreamer Kernel through the Remote Server to ask for the allowance of a publishing Mode for an Item (for at least one User).
MpnApnsSubscriptionInfo(MpnDeviceInfo, String, String, String, String, String, String, List<String>, Map<String, String>, String) - Constructor for class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnApnsSubscriptionInfo
Used by Lightstreamer to create an MpnApnsSubscriptionInfo instance, collecting all the details of a push notifications specification for Apple's APNS.
MpnDeviceInfo - Class in com.lightstreamer.adapters.remote
Specifies a target device for Push Notifications, to be specified upon MPN-related methods.
MpnDeviceInfo(MpnPlatformType, String, String) - Constructor for class com.lightstreamer.adapters.remote.MpnDeviceInfo
Used by Lightstreamer to provide a MpnDeviceInfo instance to the MPN-related methods.
MpnGcmSubscriptionInfo(MpnDeviceInfo, String, Map<String, String>, String, String, String) - Constructor for class com.lightstreamer.adapters.remote.MpnSubscriptionInfo.MpnGcmSubscriptionInfo
Used by Lightstreamer to create an MpnGcmSubscriptionInfo instance, collecting all the details of a push notifications specification for Google's GCM.
MpnPlatformType - Class in com.lightstreamer.adapters.remote
Identifies a push notifications platform type.
MpnPlatformType(String) - Constructor for class com.lightstreamer.adapters.remote.MpnPlatformType
Used by Lightstreamer to create a MpnPlatformType instance.
MPNS - Static variable in class com.lightstreamer.adapters.remote.MpnPlatformType
Microsoft Push Notification Service platform type.
MpnSubscriptionInfo - Class in com.lightstreamer.adapters.remote
Abstract class used by Lightstreamer to provide value objects to method NotifyMpnSubscriptionActivation.
MpnSubscriptionInfo(MpnDeviceInfo, String) - Constructor for class com.lightstreamer.adapters.remote.MpnSubscriptionInfo
Used by Lightstreamer to create a MpnSubscriptionInfo instance.
MpnSubscriptionInfo.MpnApnsSubscriptionInfo - Class in com.lightstreamer.adapters.remote
Concrete subclass of MpnSubscriptionInfo for APNS platform type.
MpnSubscriptionInfo.MpnGcmSubscriptionInfo - Class in com.lightstreamer.adapters.remote
Concrete subclass of MpnSubscriptionInfo for GCM platform type.

N

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, 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, 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, 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 a MPN device.
notifyMpnDeviceTokenChange(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.
This method is called by the Server asynchronously and does not consume a pooled thread.
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.
Note that the above flag can be set for each listening port independently (and it can be set for TLS/SSL ports only), hence, both overloads may be invoked, depending on the port used by the client.
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.

R

RAW - Static variable in class com.lightstreamer.adapters.remote.Mode
The RAW Mode.
RemotingException - Exception in com.lightstreamer.adapters.remote
Issued by the Remote Server upon an unexpected error.
RemotingException(String) - Constructor for exception com.lightstreamer.adapters.remote.RemotingException
Used by the Remote Server to construct a RemotingException with a supplied error message text.
RemotingException(String, Exception) - Constructor for exception com.lightstreamer.adapters.remote.RemotingException
Used by the Remote Server to construct a RemotingException with a supplied error message text and cause exception.

S

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 server object, which can run a Remote Data or Metadata Adapter and connect it to the Proxy Adapter running on Lightstreamer Server.
The object should be provided with a suitable Adapter instance and with suitable initialization parameters and established connections, then activated through Server.start() and finally disposed through Server.close().
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.
The default value is null.
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.
The default value is null.
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.
The default value is an empty HashMap.
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.
The default value is an empty HashMap.
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
Sets the LoggerProvider instance that will be used by the classes of the library to obtain Logger instances used to propagate internal logging.
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.
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 Remote Adapter.
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.

T

TableInfo - Class in com.lightstreamer.adapters.remote
Used by MetadataProvider to provide value objects to the calls to methods NotifyNewTables and NotifyTablesClose.
TableInfo(int, Mode, String, String, int, int, String) - Constructor for class com.lightstreamer.adapters.remote.TableInfo
Used by Lightstreamer to create a TableInfo instance, collecting the various attributes of a Table (i.e.: Subscription).
toString() - Method in class com.lightstreamer.adapters.remote.Mode
Method ToString.
toString() - Method in class com.lightstreamer.adapters.remote.MpnPlatformType
Method ToString.

U

unsubscribe(String) - Method in interface com.lightstreamer.adapters.remote.DataProvider
Called by Lightstreamer Kernel through the Remote Server to end a previous request of data for an Item.
update(String, ItemEvent, boolean) - Method in interface com.lightstreamer.adapters.remote.ItemEventListener
Called by a Data Adapter to send an Item Event to Lightstreamer Kernel when the Item Event is implemented as an ItemEvent instance.
The Remote Adapter should ensure that, after an unsubscribe call for the Item has returned, no more update calls are issued, until requested by a new subscription for the same Item.
update(String, Map<String, ?>, boolean) - Method in interface com.lightstreamer.adapters.remote.ItemEventListener
Called by a Data Adapter to send an Item Event to Lightstreamer Kernel when the Item Event is implemented as a Map<String,?> instance.
The Remote Adapter should ensure that, after an unsubscribe call for the Item has returned, no more update calls are issued, until requested by a new subscription for the same Item.
update(String, IndexedItemEvent, boolean) - Method in interface com.lightstreamer.adapters.remote.ItemEventListener
Called by a Data Adapter to send an Item Event to Lightstreamer Kernel when the Item Event is implemented as an IndexedItemEvent instance.
The Remote Adapter should ensure that, after an unsubscribe call for the Item has returned, no more update calls are issued, until requested by a new subscription for the same Item.
UPDATE_COMMAND - Static variable in class com.lightstreamer.adapters.remote.DataProviderConstants
Constant that can be used as the "UPDATE" value for the "command" fields of Items to be processed in COMMAND mode.

W

wantsTablesNotification(String) - Method in interface com.lightstreamer.adapters.remote.MetadataProvider
Called by Lightstreamer Kernel through the Remote Server to know whether the Metadata Adapter must or must not be notified any time a Table (i.e.
wantsTablesNotification(String) - Method in class com.lightstreamer.adapters.remote.MetadataProviderAdapter
Called by Lightstreamer Kernel through the Remote Server to know whether the Metadata Adapter must or must not be notified any time a Table (i.e.: Subscription) is added or removed from a push Session owned by a supplied User.
warn(String) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Warn level.
warn(String, Throwable) - Method in interface com.lightstreamer.adapters.remote.log.Logger
Receives log messages at Warn level and a related exception.
WNS - Static variable in class com.lightstreamer.adapters.remote.MpnPlatformType
Microsoft Windows Push Notification Service platform type.
A B C D E F G H I K L M N R S T U W 
Skip navigation links