org.eclipse.ecf.presence.search
Interface IUserSearchListener
public interface IUserSearchListener
This Interface allows for implementing classes to execute the search
for users in a non block way.
Note these methods will be called asynchronously not blocking a search action.
The provider is free to call the methods below with an arbitrary thread, so the
implementation of these methods must be appropriately prepared.
- Since:
- 2.0
handleUserSearchEvent
void handleUserSearchEvent(IUserSearchEvent event)
- Catch the event fired and proceed to complete the search.
Handle the search asynchronously. Notify that the search was completed
for the specific criteria.
- Parameters:
event
- the object that contains the composition of ICriteria
and deal with the results in a non-blocking way