- changeConstraints(ConnectionConstraints) - Method in class com.lightstreamer.ls_client.LSClient
-
Requests new constraints to be applied on the overall data flow
from the current connection.
- changeSubscription(SubscribedTableKey, SubscriptionConstraints) - Method in class com.lightstreamer.ls_client.LSClient
-
Dynamically changes subscription parameters on a table previously
subscribed to the Server.
- changeSubscriptions(SubscribedTableKey[], SubscriptionConstraints) - Method in class com.lightstreamer.ls_client.LSClient
-
Dynamically changes subscription parameters on a set of tables previously
subscribed to the Server.
- clearConnection() - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Requests the stopping of push activity and the cancellation of all
current subscriptions.
- clone() - Method in class com.lightstreamer.ls_client.ConnectionConstraints
-
- clone() - Method in class com.lightstreamer.ls_client.ConnectionInfo
-
- clone() - Method in class com.lightstreamer.ls_client.ExtendedTableInfo
-
- clone() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
- clone() - Method in class com.lightstreamer.ls_client.SubscriptionConstraints
-
- clone() - Method in class com.lightstreamer.ls_proxy.ProxyInfo
-
- closeBatch() - Method in class com.lightstreamer.ls_client.LSClient
-
Closes a pending batch.
- closeConnection() - Method in class com.lightstreamer.ls_client.LSClient
-
Closes the connection to the Server, if one is open.
- com.lightstreamer.ls_client - package com.lightstreamer.ls_client
-
- com.lightstreamer.ls_proxy - package com.lightstreamer.ls_proxy
-
- COMMAND - Static variable in class com.lightstreamer.ls_client.SimpleTableInfo
-
String constant for COMMAND subscription mode.
- COMMAND - Static variable in class com.lightstreamer.ls_proxy.Item
-
String constant for COMMAND subscription mode.
- COMMAND_FIELD - Static variable in class com.lightstreamer.ls_proxy.Item
-
String constant for COMMAND field in COMMAND subscription mode.
- ConnectionConstraints - Class in com.lightstreamer.ls_client
-
Collects constraints to be applied on the overall data flow
from a Connection.
- ConnectionConstraints() - Constructor for class com.lightstreamer.ls_client.ConnectionConstraints
-
Creates a connection constraints bean object with no constraints
specified.
- ConnectionException - Exception in com.lightstreamer.ls_proxy
-
Notifies an internal problem that prevents a connection operation.
- ConnectionException(int) - Constructor for exception com.lightstreamer.ls_proxy.ConnectionException
-
Used by Lightstreamer to create a ConnectionException.
- ConnectionException(int, String) - Constructor for exception com.lightstreamer.ls_proxy.ConnectionException
-
Used by Lightstreamer to create a ConnectionException.
- ConnectionInfo - Class in com.lightstreamer.ls_client
-
Collects the parameters related to a connection request to Lightstreamer
Server.
- ConnectionInfo() - Constructor for class com.lightstreamer.ls_client.ConnectionInfo
-
Creates a connection settings bean object with default settings
specified.
- ConnectionListener - Interface in com.lightstreamer.ls_client
-
Receives notifications of connection activity and errors.
- connectionRetryTimeoutMillis - Variable in class com.lightstreamer.ls_proxy.ProxyInfo
-
The time to wait between subsequent reconnection attempts.
- connectionTimeoutMillis - Variable in class com.lightstreamer.ls_proxy.ProxyInfo
-
The maximum elapsed time in milliseconds allowed for a successful
connection attempt.
- constraints - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
Configuration object that specifies the constraints to be applied
on the overall data flow from the Connection.
- contentLength - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
The length to be used by the Server for the response body on a
stream connection (a minimum length, however, is ensured by the server).
- getBandwidth() - Method in class com.lightstreamer.ls_proxy.BandwidthEvent
-
Gets an estimation of the current connection bandwidth usage.
- getBufferSize() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the requested size for the Server ItemEventBuffer for all
the items in the table.
- getBufferSize() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the maximum size for the Server ItemEventBuffer for the Item.
- getConnectionConstraints() - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Returns the constraints currently requested on the overall data flow
from the Connection.
- getDataAdapter() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the name of the Data Adapter (within the Adapter Set used
by the current session) that supplies all the items in the Table.
- getDataAdapter() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the name of the Data Adapter (within the Adapter Set used by the
current session) that supplies the Item.
- getDelayTimeout() - Method in class com.lightstreamer.ls_client.MessageInfo
-
Recalls the delay timeout specified for this message.
- getDistinctSnapshotLength() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the requested length for the snapshot to be received for all
the items in the table, provided that their subscription mode is
DISTINCT.
- getDistinctSnapshotLength() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the length of the Snapshot to be maintained for the Item, if the
Item is to be subscribed in DISTINCT mode
- getEnd() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the position of the last item in the Group to be considered.
- getErrorCode() - Method in exception com.lightstreamer.ls_client.PushServerException
-
Returns the detailed error code, to support automatic recovery actions.
- getErrorCode() - Method in exception com.lightstreamer.ls_client.PushUserException
-
Returns the detailed error code, as received by the Server.
- getErrorCode() - Method in exception com.lightstreamer.ls_proxy.ConnectionException
-
Gets the error code for the error condition.
- getErrorCode() - Method in exception com.lightstreamer.ls_proxy.ItemException
-
Gets the error code for the error condition.
- getErrorCode() - Method in exception com.lightstreamer.ls_proxy.PushUpdateException
-
Gets the error code for the error condition.
- getErrorCode() - Method in exception com.lightstreamer.ls_proxy.RequestException
-
Gets the error code for the error condition.
- getFieldNames() - Method in interface com.lightstreamer.ls_proxy.UpdateEvent
-
Gets the set of Fields whose value informations are carried.
- getFields() - Method in class com.lightstreamer.ls_client.ExtendedTableInfo
-
Recalls the fields contained in this table.
- getGroup() - Method in class com.lightstreamer.ls_client.ExtendedTableInfo
-
Gets the name of the Group of items contained in this table,
as specified to the Server.
- getGroup() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the name of the Group of items contained in this table.
- getItem() - Method in interface com.lightstreamer.ls_proxy.UpdateEvent
-
Gets the subscription Item involved in the Update event.
- getItemName() - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Gets the name of the item involved in the current update, if available.
- getItemPos() - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Gets positional information for the item involved in the current update.
- getItems() - Method in class com.lightstreamer.ls_client.ExtendedTableInfo
-
Recalls the items contained in this table.
- getMaxFrequency() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the maximum Server update frequency for the Item.
- getMessage() - Method in class com.lightstreamer.ls_client.MessageInfo
-
Recalls the message to be sent to the server.
- getMode() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the subscription mode for the items contained in this table.
- getMode() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the subscription mode of the Item.
- getName() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the name of the information Item supplied by Lightstreamer Server
through a Data Adapter.
- getNewValue(int) - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Gets the value for a field as it is after the reception of this update.
- getNewValue(String) - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Gets the value for a field as it is after the reception of this update.
- getNumFields() - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Gets the total number of fields contained in the subscriprion schema.
- getOldValue(int) - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Gets the value for a field as it was before the reception of this update.
- getOldValue(String) - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Gets the value for a field as it was before the reception of this update.
- getRequestedMaxFrequency() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the requested maximum update frequency for all the items
in the table.
- getSchema() - Method in class com.lightstreamer.ls_client.ExtendedTableInfo
-
Gets the name of the Schema of fields used in this table,
as specified to the Server.
- getSchema() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the name of the Schema of fields used in this table.
- getSelector() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the selector to be applied by the Server to the updates.
- getSelector() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the optional selector associated to the Item.
- getSequence() - Method in class com.lightstreamer.ls_client.MessageInfo
-
Recalls sequence name specified for this message.
- getStart() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the position of the first item in the Group to be considered.
- getUpdatedValue(String) - Method in interface com.lightstreamer.ls_proxy.UpdateEvent
-
Gets the new value for a Field, if the Field value has just changed.
- getValue(String) - Method in interface com.lightstreamer.ls_proxy.UpdateEvent
-
Gets the current value for a Field.
- GIVEN_UP - Static variable in exception com.lightstreamer.ls_proxy.ConnectionException
-
Indicates that a pending connection request has been interrupted
by a subsequent request.
- INCOMPATIBLE_REQUEST - Static variable in exception com.lightstreamer.ls_proxy.ConnectionException
-
Indicates that a connection with incompatible parameters is active
and an explicit disconnection should be performed.
- isPolling - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
If set to true, data streaming is simulated through a smart polling
mechanism, that is a sequence of synchronous connections to the Server,
each of which will receive the currently available updates, or wait
until one is available.
- isPushing() - Method in class com.lightstreamer.ls_proxy.BandwidthEvent
-
Gets the current push activity status.
- isPushing() - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Returns the current connection state.
- isSnapshot() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls whether or not the snapshot is being asked for the items contained in this table.
- isSnapshot() - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Asks whether the current update pertains to the item snapshot.
- isUnfiltered() - Method in class com.lightstreamer.ls_proxy.Item
-
Gets the setting for unfiltered dispatching.
- isUnfilteredDispatching() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Recalls the filtering behavior for all the items in the table.
- isValueChanged(int) - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Asks whether the value for a field has changed after the reception
of this update.
- isValueChanged(String) - Method in interface com.lightstreamer.ls_client.UpdateInfo
-
Asks whether the value for a field has changed after the reception
of this update.
- Item - Class in com.lightstreamer.ls_proxy
-
Specifies a subscription Item, that is, an information Item supplied by
Lightstreamer Server through a Data Adapter, together with subscription
preferences.
- Item(String, String) - Constructor for class com.lightstreamer.ls_proxy.Item
-
Constructs a subscription Item with a supplied subscription mode
and default subscription preferences.
- Item(String, String, String) - Constructor for class com.lightstreamer.ls_proxy.Item
-
Constructs a subscription Item with a supplied subscription mode
and Data Adapter name and default subscription preferences.
- ITEM_NOT_FOUND - Static variable in exception com.lightstreamer.ls_proxy.RequestException
-
Indicates an incorrect unsubscribe request, in which the supplied
Item is not currently subscribed.
- ItemException - Exception in com.lightstreamer.ls_proxy
-
Notifies an error in the configuration of an Item.
- ItemException(int) - Constructor for exception com.lightstreamer.ls_proxy.ItemException
-
Used by Lightstreamer to create an ItemException.
- ITEMS_ERROR - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates that an update has been received with an unexpected item
number.
- OBSOLETE_REQUEST - Static variable in exception com.lightstreamer.ls_proxy.ConnectionException
-
Indicates that a subsequent request has prevented the satisfaction
of this request.
- onAbort(MessageInfo, int, Exception) - Method in interface com.lightstreamer.ls_client.SendMessageListener
-
Notification that the outcome of a sent message will not be received.
- onActivityWarning(boolean) - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification that the connection is stalled (i.e. nothing has been
received on the connection for more than the
ConnectionInfo.probeWarningMillis
timeout)
or that the connection is working again after being notified as stalled.
- onClose() - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification of the closure of the Connection.
- onClosedConnection(int) - Method in interface com.lightstreamer.ls_proxy.PushErrorListener
-
Notifies a closure of the connection to Lightstreamer Server imposed
by the Server itself.
- onConnecting() - Method in interface com.lightstreamer.ls_proxy.PushStatusListener
-
Notifies that a connection attempt has started.
- onConnectionEstablished() - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification of the opening of the connection to the Server.
- onConnectionRetry(PushException) - Method in interface com.lightstreamer.ls_proxy.PushErrorListener
-
Notifies that an unexpected interruption of the connection to
Lightstreamer Server is being recovered by a new connection attempt.
- onDataError(PushServerException) - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification that a block of data received from the Server could not
be correctly interpreted.
- onDisconnected() - Method in interface com.lightstreamer.ls_proxy.PushStatusListener
-
Notifies that the current connection has closed or that the current
connection attempt has been abandoned.
- onEnd(int) - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification of the closure of the Connection because of a Server side
decision.
- onError(int, String, MessageInfo, int) - Method in interface com.lightstreamer.ls_client.SendMessageListener
-
- onException(Item, RequestException) - Method in interface com.lightstreamer.ls_proxy.UpdateListener
-
Notifies an error in a subscription or unsubscription request for an
Item.
- onException(Item, PushException) - Method in interface com.lightstreamer.ls_proxy.UpdateListener
-
Notifies an error in the subscription of an Item to Lightstreamer Server
or in data reception from the Server.
- onFailedConnection(PushException) - Method in interface com.lightstreamer.ls_proxy.PushErrorListener
-
Notifies an unexpected interruption of the connection to Lightstreamer
Server.
- onFailedConnectionRetry - Variable in class com.lightstreamer.ls_proxy.ProxyInfo
-
The specification of the automatic recovery action to try in case of
asynchronous connection failure.
- onFailedReconnection(PushException) - Method in interface com.lightstreamer.ls_proxy.PushErrorListener
-
Notifies that an automatic reconnection attempt has failed.
- onFailure(PushServerException) - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification of the closure of the Connection because of an unrecoverable
error in data coming from the Server.
- onFailure(PushConnException) - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification of the closure of the Connection because of a connection
problem.
- onLostUpdates(Item, int) - Method in interface com.lightstreamer.ls_proxy.UpdateListener
-
Notifies that some Updates for a RAW or COMMAND Item
(or MERGE or DISTINCT Item with unfiltered dispatching requested)
have been lost (for COMMAND mode with filtering allowed, this applies
to ADD and DELETE events only).
- onNewBytes(long) - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification of the reception of some data bytes from the Server,
for statistical purposes.
- onPolling() - Method in interface com.lightstreamer.ls_proxy.PushStatusListener
-
If the current status is "Connecting", notifies that the connection
attempt has been successful and a series of poll connections
has thus started.
- onProcessed(MessageInfo, int) - Method in interface com.lightstreamer.ls_client.SendMessageListener
-
Notification of the successful processing of a sent message
- onRawUpdatesLost(int, String, int) - Method in interface com.lightstreamer.ls_client.HandyTableListener
-
Notification of one or more updates that were suppressed in the Server
because of internal memory limitations.
- onReconnection() - Method in interface com.lightstreamer.ls_proxy.PushErrorListener
-
Notifies that an automatic reconnection attempt has succeeded.
- onReconnectionAbandoned() - Method in interface com.lightstreamer.ls_proxy.PushErrorListener
-
- onSessionStarted(boolean) - Method in interface com.lightstreamer.ls_client.ConnectionListener
-
Notification that a session has been started by the Server
on the connection.
- onSessionStarted(boolean, String) - Method in interface com.lightstreamer.ls_client.ExtendedConnectionListener
-
Notification that a session has been started by the Server
on the connection.
- onSnapshotEnd(int, String) - Method in interface com.lightstreamer.ls_client.HandyTableListener
-
Notification that no more snapshot events are coming for an item.
- onSnapshotEnd(Item) - Method in interface com.lightstreamer.ls_proxy.UpdateListener
-
Signals the completion of the Snapshot for an Item that has been
previously subscribed with DISTINCT (provided that a snapshot length
has been specified) or COMMAND (with filtering allowed) subscription
mode.
- onStalled() - Method in interface com.lightstreamer.ls_proxy.PushStatusListener
-
Notifies that no data has been coming from a connection for a time
greater that a configured threshold.
- onStreaming() - Method in interface com.lightstreamer.ls_proxy.PushStatusListener
-
If the current status is "Connecting", notifies that the connection
attempt has been successful and streaming on the connection is started.
- onUnsubscr(int, String) - Method in interface com.lightstreamer.ls_client.HandyTableListener
-
Notification of the unsubscription of an item in the table.
- onUnsubscrAll() - Method in interface com.lightstreamer.ls_client.HandyTableListener
-
Notification of the unsubscription of all the items in the table.
- onUpdate(int, String, UpdateInfo) - Method in interface com.lightstreamer.ls_client.HandyTableListener
-
Notification of an update of the values for an item in the table.
- openConnection(ConnectionInfo, ConnectionListener) - Method in class com.lightstreamer.ls_client.LSClient
-
Opens a connection to the Server with the supplied parameters.
- password - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
User password to be supplied to the Server in the connection request.
- pollingIdleMillis - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
Maximum time the Server is allowed to wait for updates in case none
are available at connection time and a poll connection has been
requested.
- pollingMillis - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
Time between the end of a poll connection and the start of the next
one, if polling behaviour has been specified.
- POSSIBLE_LOSS_OF_EVENTS - Static variable in exception com.lightstreamer.ls_proxy.PushUpdateException
-
Indicates that a hole in events flow could be happened;
in such case, the flow could not be recovered.
- probeTimeoutMillis - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
Timeout for activity checks, expressed in milliseconds.
- probeWarningMillis - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
Timeout for activity check warnings, expressed in milliseconds.
- PROTOCOL_ERROR - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates a Server answer not consistent with the requests.
- ProxyInfo - Class in com.lightstreamer.ls_proxy
-
Carries informations about the policies to be applied in Lightstreamer
Server connection management.
- ProxyInfo() - Constructor for class com.lightstreamer.ls_proxy.ProxyInfo
-
Creates a policy settings bean object with default settings specified.
- PushConnException - Exception in com.lightstreamer.ls_client
-
Thrown when the connection to Lightstreamer Server cannot be established
or in case of abnormal connection termination.
- PushConnException(IOException) - Constructor for exception com.lightstreamer.ls_client.PushConnException
-
Used by Lightstreamer to create a PushConnException.
- PushConnException(String) - Constructor for exception com.lightstreamer.ls_client.PushConnException
-
Used by Lightstreamer to create a PushConnException.
- PushConnException(String, Throwable) - Constructor for exception com.lightstreamer.ls_client.PushConnException
-
Used by Lightstreamer to create a PushConnException.
- PushErrorListener - Interface in com.lightstreamer.ls_proxy
-
Receives asynchronous notifications for connection errors.
- PushException - Exception in com.lightstreamer.ls_proxy
-
Indicates an error condition occurred during communication with
Lightstreamer Server.
- PushException(ConnectionException) - Constructor for exception com.lightstreamer.ls_proxy.PushException
-
- PushException(PushUpdateException) - Constructor for exception com.lightstreamer.ls_proxy.PushException
-
- PushException(PushConnException) - Constructor for exception com.lightstreamer.ls_proxy.PushException
-
Used by Lightstreamer to create a PushException
which encapsulates a
PushConnException
- PushException(PushServerException) - Constructor for exception com.lightstreamer.ls_proxy.PushException
-
- PushException(PushUserException) - Constructor for exception com.lightstreamer.ls_proxy.PushException
-
Used by Lightstreamer to create a PushException
which encapsulates a
PushUserException
- pushServerControlUrl - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
Lightstreamer Server URL (without the path part) to be used for
control requests;
e.g.
- PushServerException - Exception in com.lightstreamer.ls_client
-
Thrown in case of an unexpected answer or error condition received from
Lightstreamer Server.
- PushServerException(int, String) - Constructor for exception com.lightstreamer.ls_client.PushServerException
-
Used by Lightstreamer to create a PushServerException.
- PushServerException(int) - Constructor for exception com.lightstreamer.ls_client.PushServerException
-
Used by Lightstreamer to create a PushServerException.
- PushServerException(int, Throwable) - Constructor for exception com.lightstreamer.ls_client.PushServerException
-
Used by Lightstreamer to create a PushServerException.
- pushServerUrl - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
Lightstreamer Server URL, without the path part;
e.g.
- PushStatusListener - Interface in com.lightstreamer.ls_proxy
-
Receives asynchronous notifications for connection status changes.
- PushUpdateException - Exception in com.lightstreamer.ls_proxy
-
Notifies an asynchronous error caused by unexpected data values
coming from Lightstreamer Server.
- PushUpdateException(int) - Constructor for exception com.lightstreamer.ls_proxy.PushUpdateException
-
Used by Lightstreamer to create a PushUpdateException.
- PushUpdateException(int, String) - Constructor for exception com.lightstreamer.ls_proxy.PushUpdateException
-
Used by Lightstreamer to create a PushUpdateException.
- PushUserException - Exception in com.lightstreamer.ls_client
-
Thrown in case the Server refuses to satisfy a request because of the
constraints imposed by the Metadata Adapter or by Server configuration.
- PushUserException(int, String) - Constructor for exception com.lightstreamer.ls_client.PushUserException
-
Used by Lightstreamer to create a PushUserException.
- RAW - Static variable in class com.lightstreamer.ls_client.SimpleTableInfo
-
String constant for RAW subscription mode.
- RAW - Static variable in class com.lightstreamer.ls_proxy.Item
-
String constant for RAW subscription mode.
- RECONNECTION_TIMEOUT - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates that an attempt to reconnect to a session has not received
any answer for longer than a configurable timeout time.
- reconnectionTimeoutMillis - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
The maximum elapsed time in milliseconds allowed for a successful
reconnection attempt.
- RECOVERY_DELAY_UNEXPECTED - Static variable in exception com.lightstreamer.ls_proxy.ItemException
-
Indicates an attempt to set a null mode for the Item.
- REENTRANCE - Static variable in exception com.lightstreamer.ls_proxy.RequestException
-
Indicates a reentrant subscription or unsubscription request on the
Item.
- RequestException - Exception in com.lightstreamer.ls_proxy
-
Notifies an error that prevents a subscription or unsubscription request
from being accomplished.
- RequestException(int) - Constructor for exception com.lightstreamer.ls_proxy.RequestException
-
Used by Lightstreamer to create a RequestException.
- RequestException(int, String) - Constructor for exception com.lightstreamer.ls_proxy.RequestException
-
Used by Lightstreamer to create a RequestException.
- requestUnfilteredDispatching() - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Requests that events for the items in the table are dispatched
in an unfiltered way.
- requestUnfilteredDispatching() - Method in class com.lightstreamer.ls_proxy.Item
-
Requests that events for the Item are dispatched in an unfiltered way.
- REQUIRED_FIELD_MISSING - Static variable in exception com.lightstreamer.ls_proxy.RequestException
-
Indicates an incorrect subscribe or unsubscribe request, by which
a required field is no longer subscribed.
- REQUIRED_FIELD_NULL - Static variable in exception com.lightstreamer.ls_proxy.PushUpdateException
-
Indicates that a required field has been received null from the Server.
- rethrow() - Method in exception com.lightstreamer.ls_proxy.PushException
-
Gets the specific error notification.
- SCHEMA_ERROR - Static variable in exception com.lightstreamer.ls_proxy.RequestException
-
Indicates an incorrect unsubscribe request, in which the supplied
schema doesn't match with the currently subscribed Fields for the
supplied listener.
- sendMessage(String) - Method in class com.lightstreamer.ls_client.LSClient
-
Sends a message to Lightstreamer Server.
- sendMessage(MessageInfo, SendMessageListener) - Method in class com.lightstreamer.ls_client.LSClient
-
Send a message to Lightstreamer Server.
- SendMessageListener - Interface in com.lightstreamer.ls_client
-
Receives notifications of server responses to sent messages.
- SERVER_REFUSAL - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates that a request has been unexpectedly refused by the Server.
- SERVER_TIMEOUT - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates that the Server has not sent data updates or probes on the
connection for longer than a configurable timeout time.
- SERVER_TIMEOUT - Static variable in exception com.lightstreamer.ls_proxy.ConnectionException
-
Indicates an application timeout in the connection to the Server.
- setConnectionConstraints(ConnectionConstraints) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Changes the constraints to be applied on the overall data flow
from the Connection.
- setDataAdapter(String) - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Specifies the name of the Data Adapter (within the Adapter Set used
by the current session) that supplies all the items in the Group.
- setDistinctSnapshotLength(int) - Method in class com.lightstreamer.ls_proxy.Item
-
Sets the length of the Snapshot to be maintained for an Item subscribed
in DISTINCT mode.
- setRange(int, int) - Method in class com.lightstreamer.ls_client.ExtendedTableInfo
-
Inherited from SimpleTableInfo, but ignored in this case.
- setRange(int, int) - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Specifies a subrange of the specified Group of items to be requested.
- setRequestedBufferSize(int) - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Sets the requested size for the Server ItemEventBuffer for all the items
in the table.
- setRequestedBufferSize(int) - Method in class com.lightstreamer.ls_proxy.Item
-
Sets the requested size for the Server ItemEventBuffer for the Item.
- setRequestedDistinctSnapshotLength(int) - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Sets the requested length for the snapshot to be received for all
the items in the table.
- setRequestedMaxFrequency(double) - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Sets the maximum update frequency for all the items in the table.
- setRequestedMaxFrequency(double) - Method in class com.lightstreamer.ls_proxy.Item
-
Sets the maximum Server update frequency for the Item.
- setSelector(String) - Method in class com.lightstreamer.ls_client.SimpleTableInfo
-
Specifies a selector to be applied by the Server to the updates
pertaining to all the Items in the Group.
- setSelector(String) - Method in class com.lightstreamer.ls_proxy.Item
-
Specifies a selector to be applied by the Server to the updates
pertaining to the Item.
- setUnique() - Method in class com.lightstreamer.ls_proxy.Item
-
Forces the Item instance not to be equal to other Item instances related
to the same information Item and with the same subscription preferences.
- SimpleTableInfo - Class in com.lightstreamer.ls_client
-
Contains the specification of a table to be subscribed to Lightstreamer
Server.
- SimpleTableInfo(String, String, String, boolean) - Constructor for class com.lightstreamer.ls_client.SimpleTableInfo
-
Constructs a table specification with basic table attributes.
- startPushConnection(ConnectionInfo) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Requests the starting of push activity.
- startTran() - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Starts a subscription requests transaction.
- stopPushConnection() - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Requests the stopping of push activity.
- streamingTimeoutMillis - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
The maximum elapsed time in milliseconds allowed for the first
successful streaming connection attempt on a streaming session.
- SubscrException - Exception in com.lightstreamer.ls_client
-
Thrown if a subscription or unsubscription specification is not correct
or the request cannot be executed for some reason.
- SubscrException(String) - Constructor for exception com.lightstreamer.ls_client.SubscrException
-
Used by Lightstreamer to create a SubscrException.
- subscribeBandwidth(BandwidthListener) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Adds a listener to samplings about connection activity.
- SubscribedTableKey - Class in com.lightstreamer.ls_client
-
Key object to be used to unsubscribe from tables.
- SubscribedTableKey() - Constructor for class com.lightstreamer.ls_client.SubscribedTableKey
-
Used by Lightstreamer to create an instance of a SubscribedTableKey.
- subscribeItem(UpdateListener, Item, String[]) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Requests the subscription of some Fields for an Item and supplies
a listener to receive value Updates and an initial Snapshot, if it is
available.
- subscribeItems(ExtendedTableInfo, HandyTableListener) - Method in class com.lightstreamer.ls_client.LSClient
-
Subscribes to a set of items, which share the same schema and other
subscription parameters.
- subscribeItems(UpdateListener, Item[], String[]) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Requests the subscription of some Fields for a set of Items and supplies
a listener to receive information for all the Items.
- subscribeTable(SimpleTableInfo, HandyTableListener, boolean) - Method in class com.lightstreamer.ls_client.LSClient
-
Subscribes to a table through the Server.
- subscribeTable(ExtendedTableInfo, HandyTableListener, boolean) - Method in class com.lightstreamer.ls_client.LSClient
-
Subscribes to a table through the Server.
- SubscriptionConstraints - Class in com.lightstreamer.ls_client
-
Collects constraints to be applied on a subscription, to change the
currently set parameters for all the involved items.
- SubscriptionConstraints() - Constructor for class com.lightstreamer.ls_client.SubscriptionConstraints
-
Creates a subscription constraints bean object with no constraints
specified.
- SYNC_ERROR - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates that the connection content length has been consumed
but the binding to the same session with a new connection has failed.
- SYNTAX_ERROR - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates an illegal output from the Server.
- unbatchRequest() - Method in class com.lightstreamer.ls_client.LSClient
-
Signals that one of the requests previously scheduled for batching
is no longer going to be issued.
- UNEXPECTED_END - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates that the Server connection ended in the handshaking phase.
- UNEXPECTED_EOS - Static variable in exception com.lightstreamer.ls_proxy.PushUpdateException
-
Indicates that an unexpected end of snapshot notification
has been received from the Server.
- UNEXPECTED_ERROR - Static variable in exception com.lightstreamer.ls_client.PushServerException
-
Indicates an unexpected exception in the client.
- UNEXPECTED_ERROR - Static variable in exception com.lightstreamer.ls_proxy.ConnectionException
-
Indicates an unexpected error condition while trying to satisfy
a connection request.
- UNFILTERED_UNEXPECTED - Static variable in exception com.lightstreamer.ls_proxy.ItemException
-
Indicates an attempt to request unfiltered dispatching for
an Item that doesn't support filtering/unfiltering setting.
- UNORDERED_MESSAGES - Static variable in class com.lightstreamer.ls_client.MessageInfo
-
Constant representing the special sequence name to be used to prevent the sequential management of the messages on the server.
- unsubscribeBandwidth(BandwidthListener) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Removes a listener to samplings about connection activity.
- unsubscribeItem(UpdateListener, Item, String[]) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Removes a subscription previously requested.
- unsubscribeItems(UpdateListener, Item[], String[]) - Method in class com.lightstreamer.ls_proxy.LSProxy
-
Removes a subscription previously requested for a set of items.
- unsubscribeTable(SubscribedTableKey) - Method in class com.lightstreamer.ls_client.LSClient
-
Unsubscribes from a table previously subscribed to the Server.
- unsubscribeTables(SubscribedTableKey[]) - Method in class com.lightstreamer.ls_client.LSClient
-
Unsubscribes from a set of tables previously subscribed to the Server.
- update(UpdateEvent) - Method in interface com.lightstreamer.ls_proxy.UpdateListener
-
Brings Snapshots or notifies Updates for a previously subscribed Item.
- UPDATE_COMMAND - Static variable in class com.lightstreamer.ls_proxy.Item
-
String constant for UPDATE value of COMMAND field in COMMAND subscription mode.
- UpdateEvent - Interface in com.lightstreamer.ls_proxy
-
Carries values Snapshot and Update informations for an Item.
- UpdateInfo - Interface in com.lightstreamer.ls_client
-
Implemented by Lightstreamer to provide information about an update
for a subscribed item.
- UpdateListener - Interface in com.lightstreamer.ls_proxy
-
Receives Snapshots and Updates about Item values and subscription errors.
- user - Variable in class com.lightstreamer.ls_client.ConnectionInfo
-
User name to be supplied to the Server in the connection request.