LightstreamerClientExt extension
Properties
- connectionDetails → ConnectionDetails
-
Data object that contains the details needed to open a connection to
a Lightstreamer Server.
no setter
- connectionOptions → ConnectionOptions
-
Data object that contains options and policies for the connection to
the server.
no setter
Methods
-
addListener(
ClientListener listener) → void - Adds a listener that will receive events from the LightstreamerClient instance.
-
connect(
) → void - Operation method that requests to open a Session against the configured Lightstreamer Server.
-
disconnect(
) → void - Operation method that requests to close the Session opened against the configured Lightstreamer Server (if any).
-
findMpnSubscription(
String subscriptionId) → MpnSubscription? -
getListeners(
) → List< ClientListener> - Returns a list containing the ClientListener instances that were added to this client.
-
getMpnSubscriptions(
String? filter) → List< MpnSubscription> - Inquiry method that returns a collection of the existing MPN subscription with a specified status.
-
getStatus(
) → String - Inquiry method that gets the current client status and transport (when applicable).
-
getSubscriptions(
) → List< Subscription> - Inquiry method that returns a list containing all the Subscription instances that are currently "active" on this LightstreamerClient.
-
registerForMpn(
MpnDevice device) → void - Operation method that registers the MPN device on the server's MPN Module.
-
removeListener(
ClientListener listener) → void - Removes a listener from the LightstreamerClient instance so that it will not receive events anymore.
-
sendMessage(
String message, [String? sequence, int? delayTimeout, ClientMessageListener? listener, bool? enqueueWhileDisconnected]) → void - Operation method that sends a message to the Server.
-
subscribe(
Subscription sub) → void - Operation method that adds a Subscription to the list of "active" Subscriptions. The Subscription cannot already be in the "active" state.
-
subscribeMpn(
MpnSubscription subscription, bool coalescing) → void - Operation method that subscribes an MpnSubscription on server's MPN Module.
-
unsubscribe(
Subscription sub) → void - Operation method that removes a Subscription that is currently in the "active" state.
-
unsubscribeMpn(
MpnSubscription sub) → void - Operation method that unsubscribes an MpnSubscription from the server's MPN Module.
-
unsubscribeMpnSubscriptions(
String? filter) → void - Operation method that unsubscribes all the MPN subscriptions with a specified status from the server's MPN Module.