net.java.sip.communicator.service.contactsource
Class AsyncContactSourceService
java.lang.Object
net.java.sip.communicator.service.contactsource.AsyncContactSourceService
- All Implemented Interfaces:
- ContactSourceService, ExtendedContactSourceService
- Direct Known Subclasses:
- MacOSXAddrBookContactSourceService, MsOutlookAddrBookContactSourceService
public abstract class AsyncContactSourceService
- extends Object
- implements ExtendedContactSourceService
Declares the interface of a ContactSourceService which performs
ContactQuerys in a separate Thread.
- Author:
- Lyubomir Marinov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncContactSourceService
public AsyncContactSourceService()
queryContactSource
public ContactQuery queryContactSource(String query)
- Queries this ContactSourceService for SourceContacts
which match a specific query String.
- Specified by:
queryContactSource in interface ContactSourceService
- Parameters:
query - the String which this ContactSourceService
is being queried for
- Returns:
- a ContactQuery which represents the query of this
ContactSourceService implementation for the specified
String and via which the matching SourceContacts (if
any) will be returned
- See Also:
ContactSourceService.queryContactSource(String)
queryContactSource
public ContactQuery queryContactSource(String query,
int contactCount)
- Queries this ContactSourceService for SourceContacts
which match a specific query String.
- Specified by:
queryContactSource in interface ContactSourceService
- Parameters:
query - the String which this ContactSourceService
is being queried forcontactCount - the maximum count of result contacts
- Returns:
- a ContactQuery which represents the query of this
ContactSourceService implementation for the specified
String and via which the matching SourceContacts (if
any) will be returned
- See Also:
ContactSourceService.queryContactSource(String)
stop
public abstract void stop()
- Stops this ContactSourceService.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.