Skip navigation links
A C D E G H I L M N O P R S T U W 

A

activate() - Method in class com.lightstreamer.javameclient.midp.logger.Logger
Switch this Logger instance to active (ie lines of log will appear on console)

C

clone() - Method in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Clone method used internally to spread the provider inside the various parts of the library.
closeApp() - Static method in class com.lightstreamer.javameclient.midp.LSClient
Calling this method will stops all the LSClient's thread.
closeConnection() - Method in class com.lightstreamer.javameclient.midp.LSClient
Closes the connection to the Server, if one is open.
com.lightstreamer.javameclient.midp - package com.lightstreamer.javameclient.midp
 
com.lightstreamer.javameclient.midp.logger - package com.lightstreamer.javameclient.midp.logger
 
COMMAND - Static variable in class com.lightstreamer.javameclient.midp.SimpleTableInfo
String constant for COMMAND subscription mode.
CONNECTING - Static variable in class com.lightstreamer.javameclient.midp.LSClient
String constant for the "connecting" status of LSClient: The Client is trying to reach Lightstreamer Server.
ConnectionInfo - Class in com.lightstreamer.javameclient.midp
Collects the parameters related to a connection request to Lightstreamer Server.
ConnectionInfo(String) - Constructor for class com.lightstreamer.javameclient.midp.ConnectionInfo
Creates a connection settings bean object with default settings specified.
ConnectionListener - Interface in com.lightstreamer.javameclient.midp
Receives notifications of connection activity and errors.
ConnectionPolicy - Class in com.lightstreamer.javameclient.midp
Bean object that contains the configuration settings about connection constraints and fault recovery.
ConnectionPolicy() - Constructor for class com.lightstreamer.javameclient.midp.ConnectionPolicy
Empty constructor
ConnectionProvider - Interface in com.lightstreamer.javameclient.midp
Used by LSClient to obtain Connection instances.

D

deactivate() - Method in class com.lightstreamer.javameclient.midp.logger.Logger
Switch this Logger instance to non active (ie lines of log will not appear on console)
DISTINCT - Static variable in class com.lightstreamer.javameclient.midp.SimpleTableInfo
String constant for DISTINCT subscription mode.

E

ExtendedItemUpdate - Interface in com.lightstreamer.javameclient.midp
Carries any update pertaining to an item.
ExtendedTableInfo - Class in com.lightstreamer.javameclient.midp
Contains the specification of a table to be subscribed to Lightstreamer Server.
ExtendedTableInfo(String[], String[], String) - Constructor for class com.lightstreamer.javameclient.midp.ExtendedTableInfo
Constructs a table specification with basic table attributes.
ExtendedTableListener - Interface in com.lightstreamer.javameclient.midp
A fast, though basic, listener interface, which receives notification of data updates and other messages related to a subscribed table.

G

getAdapter() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Recalls the configured name of the Adapter Set mounted on Lightstreamer Server to be used to handle all requests in the session.
getBuffSize() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the requested buffer size for this table.
getConnectionProvider() - Method in class com.lightstreamer.javameclient.midp.LSClient
Getter method that returns the ConnectionProvider instance in use.
getContentLength() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Recalls the configured response content length to be requested for the stream connection.
getControlPort() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Recalls the configured TCP port to be used for the control connections to Lightstreamer Server.
getControlProtocol() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Gets the protocol to be used for the control connections to Lightstreamer Server, according to what configured through ConnectionInfo.setWorkInHttps(boolean) and ConnectionInfo.setControlInHttps(boolean).
getDataAdapter() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the name of the Data Adapter (for the Adapter Set used by the current session) which supplies all the items in the Group.
getDelayTimeout() - Method in class com.lightstreamer.javameclient.midp.MessageInfo
Recalls the delay timeout specified for this message.
getDistinctSnapshotLength() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the requested length of the snapshot for this table (for DISTINCT subscriptions only).
getEndRange() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the 1-based index of the last item in the group that has to be subscribed.
getFieldNewValue(String) - Method in interface com.lightstreamer.javameclient.midp.ExtendedItemUpdate
Inquiry method that gets the new value for a specified field, as received from the Server with the current update or ExtendedTableListener.UNCHANGED if the field is not changed.
getFieldNewValue(int) - Method in interface com.lightstreamer.javameclient.midp.SimpleItemUpdate
Inquiry method that gets the new value for a specified field, as received from the Server with the current update or SimpleTableListener.UNCHANGED if the field is not changed.
getFields() - Method in class com.lightstreamer.javameclient.midp.ExtendedTableInfo
Recalls the fields contained in this table.
getGroup() - Method in class com.lightstreamer.javameclient.midp.ExtendedTableInfo
Gets the name of the Group of items contained in this table, as specified to the Server.
getGroup() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the group name of the items for this table.
getIdleTimeout() - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Recalls the configured maximum time the Server is allowed to wait for any data to be sent in response to a polling request, if none has accumulated at request time.
getItemName() - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Gets the name of the item involved in the current update, if available.
getItemPos() - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Gets positional information for the item involved in the current update.
getItems() - Method in class com.lightstreamer.javameclient.midp.ExtendedTableInfo
Recalls the items contained in this table.
getKeepAliveInterval() - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Recalls the configured interval between two keepalive packets to be sent by Lightstreamer Server on a stream connection when no actual data is being transmitted.
getLogger(String) - Static method in class com.lightstreamer.javameclient.midp.logger.Logger
Gets a logger from a static repository.
getMessage() - Method in class com.lightstreamer.javameclient.midp.MessageInfo
Recalls the message to be sent to the server.
getMode() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the subscription mode for this table.
getNewValue(int) - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Gets the value for a field as it is after the reception of this update.
getNewValue(String) - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Gets the value for a field as it is after the reception of this update.
getNextConnection(String, boolean) - Method in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Provider method used to obtain a new Connection instance to be used to connect to Lightstreamer server.
getNumberedLogger(String, int) - Static method in class com.lightstreamer.javameclient.midp.logger.Logger
Gets a logger from a static repository.
getNumFields() - Method in interface com.lightstreamer.javameclient.midp.SimpleItemUpdate
Inquiry method that gets the number of fields received from the Server with the current update.
getNumFields() - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Gets the total number of fields contained in the subscriprion schema.
getOldValue(int) - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Gets the value for a field as it was before the reception of this update.
getOldValue(String) - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Gets the value for a field as it was before the reception of this update.
getPollingInterval() - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Recalls the configured polling interval to be used for poll connections.
getPort() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Recalls the configured TCP port to be used for the stream/poll connections to Lightstreamer Server.
getProtocol() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Gets the protocol to be used for the stream/poll connections to Lightstreamer Server, according to what configured through ConnectionInfo.setWorkInHttps(boolean).
getRequestedMaxFrequency() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the requested max frequency for this table.
getRetryTimeout() - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Recalls the configured time the library has to wait, after an unsuccessful streaming or polling connection attempt, before automatically performing a new attempt.
getReverseHeartbeatMillis() - Method in class com.lightstreamer.javameclient.midp.LSClient
Getter method that returns the configured interval used for the reverse-heartbeat mechanism.
getSchema() - Method in class com.lightstreamer.javameclient.midp.ExtendedTableInfo
Gets the name of the Schema of fields used in this table, as specified to the Server.
getSchema() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the schema for this table.
getSelector() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the required selector for this table, if configured.
getSequence() - Method in class com.lightstreamer.javameclient.midp.MessageInfo
Recalls sequence name specified for this message.
getServer() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Recalls the configured address of Lightstreamer Server.
getStartRange() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls the 1-based index of the first item in the group that has to be subscribed.
getStatus() - Method in class com.lightstreamer.javameclient.midp.LSClient
Inquiry method that gets the current client status.
getTimeoutForReconnect() - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Recalls the configured time the client Engine, after entering "STALLED" status, is allowed to wait for a keepalive packet or any data on a stream connection, before disconnecting and trying to reconnect to the Server.
getTimeoutForStalled() - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Recalls the configured extra time the client Engine is allowed to wait when an expected keepalive packet has not been received on a stream connection (and no actual data has arrived), before entering the "STALLED" status.
getUser() - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Recalls the configured username to be used for the authentication on Lightstreamer Server at connection start.

H

HandyTableListener - Interface in com.lightstreamer.javameclient.midp
A fully-featured listener interface, which receives notification of data updates and other messages related to a subscribed table.
hasConnections() - Method in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Test method that returns true if this provider is still able to provide a new type of Connection in response of a ConnectionProvider.getNextConnection(String, boolean) call for a certain type parameter value.

I

isActive() - Method in class com.lightstreamer.javameclient.midp.logger.Logger
Gets the actual status of the Logger
isBufferedStreamingHandled() - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Recalls whether or not to enable the recovery mechanism for streaming connections that appear to be buffered.
isFieldChanged(String) - Method in interface com.lightstreamer.javameclient.midp.ExtendedItemUpdate
Inquiry method to know whether the value for a field is changed after the reception of an update from the Server for an item.
isFieldChanged(int) - Method in interface com.lightstreamer.javameclient.midp.SimpleItemUpdate
Inquiry method that asks whether the value for a field is changed after the reception of an update from the Server for an item.
isReusable() - Method in interface com.lightstreamer.javameclient.midp.ExtendedItemUpdate
Asks whether or not the object may be reused by LSClient.
isReusable() - Method in interface com.lightstreamer.javameclient.midp.SimpleItemUpdate
Asks whether or not the object may be reused by LSClient.
isSnapshot() - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Asks whether the current update pertains to the item snapshot.
isSnapshotRequired() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls whether or not a snapshot is required for this table.
isUnfilteredMaxFreq() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls whether or not unfiltered dispatching is requested for this table.
isUnlimitedBufferSize() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls whether or not an unlimited buffer size is requested for this table.
isUnlimitedMaxFreq() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Recalls whether or not unlimited max frequency is requested for this table.
isUsingReusableItemUpdates() - Method in class com.lightstreamer.javameclient.midp.LSClient
Getter method that returns true if this instance is using reusable update instances, false otherwise.
isUsingSingleConnection() - Method in class com.lightstreamer.javameclient.midp.LSClient
Getter method that returns true if LSClient will be permitted to open only one connection at a time, false otherwise.
isUsingSocketConnection() - Method in class com.lightstreamer.javameclient.midp.LSClient
Getter method that returns true if this instance is going to expect a SocketConnection instance from ConnectionProvider.getNextConnection(String, boolean) calls, while returns false if a HttpConnection is expected.
isValueChanged(int) - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Asks whether the value for a field has changed after the reception of this update.
isValueChanged(String) - Method in interface com.lightstreamer.javameclient.midp.UpdateInfo
Asks whether the value for a field has changed after the reception of this update.

L

log(String) - Method in class com.lightstreamer.javameclient.midp.logger.Logger
Writes a line of log (if logger is active)
log(String) - Method in class com.lightstreamer.javameclient.midp.logger.NumberedLogger
Prints the message using the wrapped Logger and adding its own number to the message.
Logger - Class in com.lightstreamer.javameclient.midp.logger
Logger class for debug purpose.
LSClient - Class in com.lightstreamer.javameclient.midp
Incapsulates a single connector to Lightstreamer Server.
LSClient() - Constructor for class com.lightstreamer.javameclient.midp.LSClient
Constructor LSClient.

M

MERGE - Static variable in class com.lightstreamer.javameclient.midp.SimpleTableInfo
String constant for MERGE subscription mode.
MessageInfo - Class in com.lightstreamer.javameclient.midp
A Message object that will be sent to a Lightstreamer Server through a call to LSClient.sendMessage(MessageInfo,SendMessageListener).
MessageInfo(String, String) - Constructor for class com.lightstreamer.javameclient.midp.MessageInfo
Create an object to be used to send a message to a Lightstreamer Server.
MessageInfo(String, String, int) - Constructor for class com.lightstreamer.javameclient.midp.MessageInfo
Create an object to be used to send a message to a Lightstreamer Server.

N

NumberedLogger - Class in com.lightstreamer.javameclient.midp.logger
Logger class for debug purpose.

O

OFF - Static variable in class com.lightstreamer.javameclient.midp.LSClient
String constant for the "off" status of LSClient: The Client is waiting for connection commands.
onAbort(MessageInfo, int) - Method in interface com.lightstreamer.javameclient.midp.SendMessageListener
Notification that the outcome of a sent message will not be received.
onBufferFull() - Method in interface com.lightstreamer.javameclient.midp.ConnectionListener
Notification that the local buffer is full and no more data will be read until the buffer is empty.
onClientError(String) - Method in interface com.lightstreamer.javameclient.midp.ConnectionListener
Notification of a Client error.
onConnectionEnd(int) - Method in interface com.lightstreamer.javameclient.midp.ConnectionListener
Notification of the closure of the Connection because of a Server decision.
onControlError(int, String) - Method in interface com.lightstreamer.javameclient.midp.ExtendedTableListener
Notification that the Server has refused a Subscription request because of the constraints imposed by the Metadata Adapter or by Server configuration.
onControlError(int, String) - Method in interface com.lightstreamer.javameclient.midp.HandyTableListener
Notification that the Server has refused a Subscription request because of the constraints imposed by the Metadata Adapter or by Server configuration.
onControlError(int, String) - Method in interface com.lightstreamer.javameclient.midp.SimpleTableListener
Notification that the Server has refused a Subscription request because of the constraints imposed by the Metadata Adapter or by Server configuration.
onEndOfSnapshot(String) - Method in interface com.lightstreamer.javameclient.midp.ExtendedTableListener
Notification that no more snapshot events are coming for an item.
onEndOfSnapshot(int) - Method in interface com.lightstreamer.javameclient.midp.SimpleTableListener
Notification that no more snapshot events are coming for an item.
onError(int, String, MessageInfo, int) - Method in interface com.lightstreamer.javameclient.midp.SendMessageListener
Notification of an error which prevents the correct handling of a Message sent through LSClient.sendMessage(MessageInfo,SendMessageListener) from being accomplished.
onProcessed(MessageInfo, int) - Method in interface com.lightstreamer.javameclient.midp.SendMessageListener
Notification of the successful processing of a sent message
onRawUpdatesLost(String, int) - Method in interface com.lightstreamer.javameclient.midp.ExtendedTableListener
Notification of one or more updates that were suppressed in the Server because of internal memory limitations.
onRawUpdatesLost(int, String, int) - Method in interface com.lightstreamer.javameclient.midp.HandyTableListener
Notification of one or more updates that were suppressed in the Server because of internal memory limitations.
onRawUpdatesLost(int, int) - Method in interface com.lightstreamer.javameclient.midp.SimpleTableListener
Notification of one or more updates that were suppressed in the Server because of internal memory limitations.
onServerError(int, String) - Method in interface com.lightstreamer.javameclient.midp.ConnectionListener
Notification that the Server has refused a connection request because of the constraints imposed by the Metadata Adapter or by Server configuration.
onSnapshotEnd(int, String) - Method in interface com.lightstreamer.javameclient.midp.HandyTableListener
Notification that no more snapshot events are coming for an item.
onStatusChange(String) - Method in interface com.lightstreamer.javameclient.midp.ConnectionListener
Notification of each time the client status has changed.
onUnsubscr(int, String) - Method in interface com.lightstreamer.javameclient.midp.HandyTableListener
Notification of the unsubscription of an item in the table.
onUnsubscrAll() - Method in interface com.lightstreamer.javameclient.midp.HandyTableListener
Notification of the unsubscription of all the items in the table.
onUnsubscribe() - Method in interface com.lightstreamer.javameclient.midp.ExtendedTableListener
Notification of the unsubscription of all the items in the table.
onUnsubscribe() - Method in interface com.lightstreamer.javameclient.midp.SimpleTableListener
Notification of the unsubscription of all the items in the table.
onUpdate(String, ExtendedItemUpdate) - Method in interface com.lightstreamer.javameclient.midp.ExtendedTableListener
Notification of an update of the values for an item in the associated table.
onUpdate(int, String, UpdateInfo) - Method in interface com.lightstreamer.javameclient.midp.HandyTableListener
Notification of an update of the values for an item in the table.
onUpdate(int, SimpleItemUpdate) - Method in interface com.lightstreamer.javameclient.midp.SimpleTableListener
Notification of an update of the values for an item in the associated table.
openConnection(ConnectionInfo, ConnectionListener) - Method in class com.lightstreamer.javameclient.midp.LSClient
Open a stream connection to the Server with the supplied parameters and default policies.
openConnection(ConnectionInfo, ConnectionListener, ConnectionPolicy) - Method in class com.lightstreamer.javameclient.midp.LSClient
Open a stream connection to the Server with the supplied parameters and policies.
openPollingConnection(ConnectionInfo, ConnectionListener) - Method in class com.lightstreamer.javameclient.midp.LSClient
Open a poll connection to the Server with the supplied parameters and default policies.
openPollingConnection(ConnectionInfo, ConnectionListener, ConnectionPolicy) - Method in class com.lightstreamer.javameclient.midp.LSClient
Open a poll connection to the Server with the supplied parameters and policies.

P

POLLING - Static variable in class com.lightstreamer.javameclient.midp.LSClient
Represent the polling status of LSClient.

R

RAW - Static variable in class com.lightstreamer.javameclient.midp.SimpleTableInfo
String constant for RAW subscription mode.
rebuild() - Method in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Method used to reset the current instance.

S

sendMessage(MessageInfo, SendMessageListener) - Method in class com.lightstreamer.javameclient.midp.LSClient
Send a message to Lightstreamer Server.
SendMessageListener - Interface in com.lightstreamer.javameclient.midp
Receives notifications of server responses to sent messages.
setAdapter(String) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the name of the Adapter Set mounted on Lightstreamer Server to be used to handle all requests in the session.
setBandwidthUnlimited() - Method in class com.lightstreamer.javameclient.midp.LSClient
Request unlimited bandwidth for the next/current connection.
setBufferedStreamingHandled(boolean) - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Setter method that turns on or off the recovery mechanism for streaming connections that appear to be buffered.
setBufferMax(int) - Method in class com.lightstreamer.javameclient.midp.LSClient
This method establishes how large the Client buffer must be.
setConnectionProvider(ConnectionProvider) - Method in class com.lightstreamer.javameclient.midp.LSClient
Setter method that sets the ConnectionProvider instance that will be internally used to obtain Connection instances to communicate with Lightstreamer server.
setContentLength(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets 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).
setControlInHttps(boolean) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the protocol to be used for the control connections to Lightstreamer Server.
setControlPort(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the TCP port to be used for the control connections to Lightstreamer Server.
setDataAdapter(String) - Method in class com.lightstreamer.javameclient.midp.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.
setDefaultActive(boolean) - Static method in class com.lightstreamer.javameclient.midp.logger.Logger
Since Logger instances are not useful in production environments this method permits to activate/deactivate the logging system.
setDistinctSnapshotLength(int) - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that sets the snapshot length requested to be requested to Lightstreamer Server for all the items in the table (though the length of the received snapshot may be less than requested, because of insufficient data or server side limits).
setFrequencyUnlimited(SubscribedTableKey) - Method in class com.lightstreamer.javameclient.midp.LSClient
Request unlimited frequency for a table currently subscribed to.
setIdleTimeout(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Setter method that sets the maximum time the Server is allowed to wait for any data to be sent in response to a polling request, if none has accumulated at request time.
setItemsRange(int, int) - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that sets a range of items within the specified group.
setKeepAliveInterval(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Setter method that sets the interval between two keepalive packets to be sent by Lightstreamer Server on a stream connection when no actual data is being transmitted.
setMaxBandwidth(int) - Method in class com.lightstreamer.javameclient.midp.LSClient
Request a new maximum bandwidth for the next/current connection.
setMaxFrequency(SubscribedTableKey, double) - Method in class com.lightstreamer.javameclient.midp.LSClient
Request a new maximum frequency for a table currently subscribed to.
setPassword(String) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the password to be used for the authentication on Lightstreamer Server at connection start.
setPollingInterval(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Setter method that sets the polling interval used for poll connections.
setPort(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the TCP port to be used for the stream/poll connections to Lightstreamer Server.
setRange(int, int) - Method in class com.lightstreamer.javameclient.midp.ExtendedTableInfo
Inherited from SimpleTableInfo, but ignored in this case.
setRequestedBufferSize(int) - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that sets the length of Lightstreamer Server's buffer for the internal queueing of updates for each item in the data table.
setRequestedMaxFrequency(double) - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that sets the maximum update frequency to be requested to Lightstreamer Server for all the items in the table.
setRetryTimeout(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Setter method that sets the time the library has to wait, after an unsuccessful streaming or polling connection attempt, before automatically performing a new attempt.
setReverseHeartbeatMillis(long) - Method in class com.lightstreamer.javameclient.midp.LSClient
This methods permits to enable/disable the reverse-heartbeat mechanism on the control connection by setting the heartbeat interval: if the given value (expressed in milliseconds) equals 0 then the reverse-heartbeat mechanism will be disabled; otherwise if the given value is greater than 0 the mechanism will be enabled with the specified interval.
setSelector(String) - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Specifies a selector to be applied by the Server to the updates pertaining to all the Items in the Group.
setServer(String) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the address of Lightstreamer Server.
setSnaspshotRequired(boolean) - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that enables/disables snapshot delivery request for the items in the data table.
setTimeoutForReconnect(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Setter method that sets the time the client Engine, after entering "STALLED" status, is allowed to wait for a keepalive packet or any data on a stream connection, before disconnecting and trying to reconnect to the Server.
setTimeoutForStalled(int) - Method in class com.lightstreamer.javameclient.midp.ConnectionPolicy
Setter method that sets the extra time the client Engine is allowed to wait when an expected keepalive packet has not been received on a stream connection (and no actual data has arrived), before entering the "STALLED" status.
setType(int) - Method in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Defines the type of ConnectionProvider.
setUnfilteredMaxFrequency() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that can be used to request unfiltered dispatching for the items in the table.
setUnlimitedBufferSize() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that sets to unlimited the length of the internal queueing buffers to be requested to Lightstreamer Server for the items in the data table.
setUnlimitedMaxFrequency() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Setter method that can be used to remove settings of SimpleTableInfo.setRequestedMaxFrequency(double) and SimpleTableInfo.setUnfilteredMaxFrequency() This way the maximum frequency is decided by the Server.
setUser(String) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the username to be used for the authentication on Lightstreamer Server at connection start.
setWorkInHttps(boolean) - Method in class com.lightstreamer.javameclient.midp.ConnectionInfo
Setter method that sets the protocol to be used for the stream/poll connections to Lightstreamer Server.
SimpleItemUpdate - Interface in com.lightstreamer.javameclient.midp
Carries any update pertaining to an item.
SimpleTableInfo - Class in com.lightstreamer.javameclient.midp
Bean object that contains the specification of a table to be subscribed to.
SimpleTableInfo(String, String, String) - Constructor for class com.lightstreamer.javameclient.midp.SimpleTableInfo
Constructs a table specification with basic table attributes.
SimpleTableListener - Interface in com.lightstreamer.javameclient.midp
A fast, though basic, listener interface, which receives notification of data updates and other messages related to a subscribed table.
STALLED - Static variable in class com.lightstreamer.javameclient.midp.LSClient
String constant for the "stalled" status of LSClient: The Client was receiving data from a Lightstreamer Server but it now seems to be isolated.
STREAMING - Static variable in class com.lightstreamer.javameclient.midp.LSClient
String constant for the "streaming" status of LSClient: The Client is receiving real-time updates from Lightstreamer Server.
SubscribedTableKey - Class in com.lightstreamer.javameclient.midp
Key object to be used to unsubscribe from tables.
SubscribedTableKey() - Constructor for class com.lightstreamer.javameclient.midp.SubscribedTableKey
Used by Lightstreamer to create an instance of a SubscribedTableKey.
subscribeTable(ExtendedTableInfo, ExtendedTableListener) - Method in class com.lightstreamer.javameclient.midp.LSClient
Subscribes to a table through the Server.
subscribeTable(SimpleTableInfo, SimpleTableListener) - Method in class com.lightstreamer.javameclient.midp.LSClient
Subscribes to a table through the Server.
subscribeTable(ExtendedTableInfo, HandyTableListener, boolean) - Method in class com.lightstreamer.javameclient.midp.LSClient
Subscribes to a table through the Server.
subscribeTable(SimpleTableInfo, HandyTableListener, boolean) - Method in class com.lightstreamer.javameclient.midp.LSClient
Subscribes to a table through the Server.

T

toString() - Method in class com.lightstreamer.javameclient.midp.LSClient
Returns a string representing the LSClient attributes and the actual state.
toString() - Method in class com.lightstreamer.javameclient.midp.MessageInfo
 
toString() - Method in class com.lightstreamer.javameclient.midp.SimpleTableInfo
Returns a string representation of the table.
TYPE_HTTP - Static variable in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Constant used to specify that a HttpConnection is expected.
TYPE_SOCKET - Static variable in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Constant used to specify that a SocketConnection is expected.

U

UNCHANGED - Static variable in interface com.lightstreamer.javameclient.midp.ExtendedTableListener
Constant that represents unchanged fields.
UNCHANGED - Static variable in interface com.lightstreamer.javameclient.midp.SimpleTableListener
Constant that represents unchanged fields.
UNORDERED_MESSAGES - Static variable in class com.lightstreamer.javameclient.midp.MessageInfo
Costant representing the special sequence name to be used to prevent the sequential management of the messages on the server.
unsubscribeTable(SubscribedTableKey) - Method in class com.lightstreamer.javameclient.midp.LSClient
Unsubscribes from a table previously subscribed to.
UpdateInfo - Interface in com.lightstreamer.javameclient.midp
Implemented by Lightstreamer to provide information about an update for a subscribed item.
useReusableItemUpdates(boolean) - Method in class com.lightstreamer.javameclient.midp.LSClient
This method establishes if the LSClient instance can reuse the SimpleItemUpdate and ExtendedItemUpdate object instances it supplies to the listeners.
useSingleConnection(boolean) - Method in class com.lightstreamer.javameclient.midp.LSClient
This method establish if LSClient will use one or more connections to communicate with Lightstreamer Server.
useSocketConnection(boolean) - Method in class com.lightstreamer.javameclient.midp.LSClient
This method establishes if LSClient will request Connection instances to its ConnectionProvider using the "socket://" and "ssl://" prefixes or the "http://" "https://" ones.

W

wasSuccessful() - Method in interface com.lightstreamer.javameclient.midp.ConnectionProvider
Called after the ConnectionProvider.getNextConnection(String, boolean) method to inform the ConnectionProvider that the last given Connection was successfully used by the library.
A C D E G H I L M N O P R S T U W 
Skip navigation links