JXTA Memo (5)

前回のprocessQueryメソッドは、あれでよかったようです。
JXTA2.0からインプリメントに変更がありました。

– The QueryHandler interface’s processQuery method has changed its signature
to return an int (ResolverService.OK or ResolverService.Repropagate). The
implementation of the QueryHandler is now responsible for using an
instance of ResolverService to send the response, as opposed to returning
a response message or throwing an exception signaling the desire to
repropagate the query.

今度は別のところで、ハマり中。グループにサービスを公開して、公開したクラスのアドバタイスメントも取得できるんですが、lookupService()をすると、Not Foundが返ってきてしまいます。
ん~、なんででしょ・・・。リゾルバのあたりを勉強しなおします(´Д`;)ヾ。

コメント

タイトルとURLをコピーしました