Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] org.eclipse.ecf.presence.IFQID

Hi folks,

I'm trying to work with the above mentioned ID to get the resource for an XMPP-ID. According to this solution: https://bugs.eclipse.org/bugs/show_bug.cgi?id=246155 I should be able to call:

IDFQ idfq = (IDFQ) id.getAdapter(IDFQ.class);
idfq.getResourceName();

But unfortunately this doesn't work for me. The resource I get is always empty. I'm basically trying to display online user in a tree with the associated resource using XMPP as protocol. When I debug my code my IRosterEntry-objects are all listed without a resource. This is the way how I retrieve the IRoster:

IPresenceContainerAdapter adapter = (IPresenceContainerAdapter) this.containter
.getAdapter(IPresenceContainerAdapter.class);

IRosterManager rosterManager = adapter.getRosterManager();
IRoster roster = rosterManager.getRoster(); 

I would really appreciate if someone could help me with my problem.

Cheers,
Eugen

Back to the top