Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Problems with IRemoteServiceContainerAdapter

Hi Eugen,

Eugen Reiswich wrote:
<stuff deleted>

Our client does call getRemoteServiceReferences in a UI thread.

This is generally not a great idea as getRemoteServiceReferences can/will block. But with this provider (where the xmpp container is already actually connected), it won't block as often as, say, in the case when using http/r-osgi as transport. I need to add more documentation/javadocs to this effect.

If interested, there is also the method(s) IFuture asyncGetRemoteServiceReferences, which are guaranteed not to block (i.e. where the IFuture is returned immediately, and the actual value retrieved asynchronously.

Scott




Back to the top