org.eclipse.ecf.presence.search.message
Interface IMessageSearchListener


public interface IMessageSearchListener

This Interface allows for implementing classes to execute the search for messages 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

Method Summary
 void handleMessageSearchEvent(IMessageSearchEvent event)
          Catch the event fired and proceed to complete the search.
 

Method Detail

handleMessageSearchEvent

void handleMessageSearchEvent(IMessageSearchEvent 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 criteria String and deal with the results in a non-blocking way