Wish Expose method setMaxInflight in MqttConnectOptions

Peter Simpson

Expert
Licensed User
Longtime User
Hello Eral,
I was wondering would it be possible for you to expose setMaxInflight method in object MqttConnectOptions?

I've tried using JavaObject with with org.eclipse.paho.client.mqttv3.MqttConnectOptions but to no joy, all I'm getting is the following.
B4X:
java.lang.RuntimeException: Method: setMaxInflight not found in: org.eclipse.paho.client.mqttv3.MqttConnectOptions

According to the www I can use setMaxInflight to fix an issue. Please note that I'm just playing with speed and just how many payloads I can push at any one time. The default is apparent set to 10 and I would like to up that number to 1000.

If it's not possible, that's fine my me as I'm just testing something out for my own gratification.

Well, I presumed that the method was in the object somewhere :)

Thank you...
 
Last edited:
Top