|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SyncClientFactory
Used to create multiple "sibling" synchronous clients that share an Executor, broker URI, etc.
| Method Summary | |
|---|---|
MqttClient |
newSynchronousClient(MqttClientListener mqttClientListener)
Creates a synchronous client. |
void |
shutdown()
Stops this factory. |
| Method Detail |
|---|
void shutdown()
MqttClient newSynchronousClient(MqttClientListener mqttClientListener)
throws IllegalStateException
client. You may only use this method if the factory was constructed to create synchronous clients.
mqttClientListener - Handles events from this client's channel. Use MqttClientListener.NULL_LISTENER if you don't want to receive messages or be notified
of events.
client
IllegalStateException - If this factory was constructed to create asynchronous clients and not synchronous clients.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||