| Re: [ecf-dev] org.eclipse.ecf.presence.IFQID |
|
Hi Scott, thanks for the hint with Remote-OSGi-Services in your last email. I will try it out this weekend and give you feedback. The problem with IDFQ is the following: The 'id' I'm trying to get the resource for is an item in the IRosterEntry-object: IRosterEntry entry = (IRosterEntry) object; ID id = entry.getUser().getID(); IFQID fqID = id.getAdapter(IFQID.class); If I got it right the problem is located in the XMPPContainerPresenceHelper in this method: protected void handleIQEvent(IQEvent evt) { .... final IRosterEntry entry = createRosterEntry(item); .... } The IRosterEntry object created in this method does not contain any resources as the RosterPacket.Item 'item' doesn't have this information either. And if I try to obtain this information from the IRosterEntry-object the result is just a "/". I've been thinking how to solve this issue but I have got not idea how to obtain the resource information as in my opinion the RosterPacket.Item is the first and only information I get from the XMPP-Server. Have you got any ideas? And even if we are able to get the resources for an ID, will all the Remote-OSGi-Services work with this? I mean there will be one user with several resources and though I'll need to distinguish the remote-services for each user/resource pair. Problems over problems, sorry for that. I already talked to Markus Alexander Kuppe and we'll meet in a few weeks to talk about this issue. Cheers, Eugen Am 29.10.2008 um 21:51 schrieb Scott Lewis:
|