インターフェースの使用
org.springframework.integration.mqtt.core.ClientManager
ClientManager を使用するパッケージ
パッケージ
説明
MqttAdapter モジュールのコアクラスを提供します。
受信 Spring Integration MqttAdapter コンポーネントを提供します。
送信操作を行うための Spring Integration コンポーネントを提供します。
org.springframework.integration.mqtt.core 内の ClientManager 使用
ClientManager を実装している org.springframework.integration.mqtt.core のクラス修飾子と型クラス説明class一般的な v3/v5 クライアントマネージャー実装のベースとなる MQTT クライアントマネージャーの抽象クラス。classMQTT v3 プロトコルのクライアントマネージャーの実装。classMQTT v5 プロトコルのクライアントマネージャーの実装。org.springframework.integration.mqtt.inbound 内の ClientManager 使用
修飾子と型メソッド説明protected @Nullable ClientManager<T, C> AbstractMqttMessageDrivenChannelAdapter.getClientManager()型 ClientManager のパラメーターを持つ org.springframework.integration.mqtt.inbound のコンストラクター修飾子コンストラクター説明AbstractMqttMessageDrivenChannelAdapter(ClientManager<T, C> clientManager, StringSE... topic) MqttPahoMessageDrivenChannelAdapter(ClientManager<org.eclipse.paho.client.mqttv3.IMqttAsyncClient, org.eclipse.paho.client.mqttv3.MqttConnectOptions> clientManager, StringSE... topic) 単一のClientManagerを使用する必要がある場合 (たとえば、MQTT 接続を再利用する場合) に、このコンストラクターを使用します。Mqttv5PahoMessageDrivenChannelAdapter(ClientManager<org.eclipse.paho.mqttv5.client.IMqttAsyncClient, org.eclipse.paho.mqttv5.client.MqttConnectionOptions> clientManager, StringSE... topic) 単一のClientManagerを使用する必要がある場合 (たとえば、MQTT 接続を再利用する場合) に、このコンストラクターを使用します。Mqttv5PahoMessageDrivenChannelAdapter(ClientManager<org.eclipse.paho.mqttv5.client.IMqttAsyncClient, org.eclipse.paho.mqttv5.client.MqttConnectionOptions> clientManager, org.eclipse.paho.mqttv5.common.MqttSubscription... mqttSubscriptions) クライアントマネージャーとサブスクリプションに基づいてインスタンスを作成します。org.springframework.integration.mqtt.outbound 内の ClientManager 使用
型 ClientManager のパラメーターを持つ org.springframework.integration.mqtt.outbound のコンストラクター修飾子コンストラクター説明AbstractMqttMessageHandler(ClientManager<T, C> clientManager) MqttPahoMessageHandler(ClientManager<org.eclipse.paho.client.mqttv3.IMqttAsyncClient, org.eclipse.paho.client.mqttv3.MqttConnectOptions> clientManager) 単一のClientManagerを使用する必要がある場合 (たとえば、MQTT 接続を再利用する場合) に、このコンストラクターを使用します。Mqttv5PahoMessageHandler(ClientManager<org.eclipse.paho.mqttv5.client.IMqttAsyncClient, org.eclipse.paho.mqttv5.client.MqttConnectionOptions> clientManager) 単一のClientManagerを使用する必要がある場合 (たとえば、MQTT 接続を再利用する場合) に、このコンストラクターを使用します。