は、私は、特定のユーザーのために作成 がhttp://download.igniterealtime.org/smack/docs/latest/documentation/extensions/pubsub.htmlSmack APIの特定のユーザーのすべてのpub-sub項目のリスト?
は、誰も私が購読項目のリストを取得するのに役立つ可能性があり、リンクを使用してのpubsubプロトコルを使用してノードを作成するのですか?ここに私のコードは次のとおりです。
PubSubManager manager = PubSubManager.getInstance(connection);
LeafNode leaf = mgr.createNode("testNode");
ConfigureForm form = new ConfigureForm(FormType.submit);
form.setAccessModel(AccessModel.open);
form.setDeliverPayloads(false);
form.setNotifyRetract(true);
form.setPersistentItems(true);
form.setPublishModel(PublishModel.open);
leaf.sendConfigurationForm(form);
私はあなたがノードツリーを発見するためにPubSubManager
を使用することができ、この
manager.getAllListofSubscriedItems(){
// TO DO Implementation here, **Need some idea here**
}
あなたがこれまでにしようとしているものをご提示ください。スタックオーバーフローはコード作成サービスではありませんが、少なくともあなた自身で問題を解決しようとすると、人々はあなたを助けてくれるでしょう。 [最小限で完全で検証可能なサンプルを作成する方法](http://stackoverflow.com/help/mcve)と[どのように良い質問をしますか?](http://stackoverflow.com/help/)をお読みください。ハウツー・ザ・クエスチョン)。その後、あなたの質問を更新し*改善します*。 –