@FunctionalInterface public interface LSConnectionListener
Methods of this interface are called during
LSConnectionFactory.createContext() calls (and equivalent calls of its subclasses
LSTopicConnectionFactory) as processing of JMS connection
void onLSClient(LightstreamerClient lsClient)
LightstreamerClientinstance has been created and initialized, but before opening the connection.
This event offers the possibility to further customize the
instance before the connection is issued. It can also be used to attach listeners to the given
Note that this method is called synchronously inside the factory methods (i.e. it executes
LSConnectionFactory.createConnection() method ends).
lsClient- the client instance that will be used to connect to the JMS Extender.