setAdapterSet method

void setAdapterSet(
  1. String? newVal
)

Setter method that sets the name of the Adapter Set mounted on Lightstreamer Server to be used to handle all requests in the session.

An Adapter Set defines the Metadata Adapter and one or several Data Adapters. It is configured on the server side through an "adapters.xml" file; the name is configured through the "id" attribute in the <adapters_conf> element.

Default The default Adapter Set, configured as "DEFAULT" on the Server.

Lifecycle The Adapter Set name should be set on the LightstreamerClient.connectionDetails object before calling the LightstreamerClient.connect method. However, the value can be changed at any time: the supplied value will be used for the next time a new session is requested to the server.
This setting can also be specified in the LightstreamerClient constructor.

Notification A change to this setting will be notified through a call to ClientListener.onPropertyChange with argument "adapterSet" on any ClientListener listening to the related LightstreamerClient.

  • newVal The name of the Adapter Set to be used. A null value is equivalent to the "DEFAULT" name.

Implementation

external void setAdapterSet(String? newVal);