public class BLFContactQuery extends AbstractContactQuery<BLFContactSourceService>
QUERY_CANCELED, QUERY_COMPLETED, QUERY_ERROR, QUERY_IN_PROGRESS
Constructor and Description |
---|
BLFContactQuery(BLFContactSourceService parentService,
java.util.Collection<OperationSetTelephonyBLF.Line> monitoredLines,
java.lang.String queryString,
int contactCount)
Constructs new query.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
addLine(OperationSetTelephonyBLF.Line line,
boolean fireEvent)
Adds new line to display.
|
java.util.List<SourceContact> |
getQueryResults()
Returns the list of query results.
|
java.lang.String |
getQueryString()
Returns the query string.
|
void |
start()
Starts this BLFContactQuery.
|
(package private) void |
updateLineStatus(OperationSetTelephonyBLF.Line line,
int status)
Updates the source contact status.
|
addContactQueryListener, cancel, fireContactChanged, fireContactReceived, fireContactReceived, fireContactRemoved, fireQueryStatusChanged, getContactSource, getStatus, removeContactQueryListener, setStatus
public BLFContactQuery(BLFContactSourceService parentService, java.util.Collection<OperationSetTelephonyBLF.Line> monitoredLines, java.lang.String queryString, int contactCount)
parentService
- the parent contact source servicequeryString
- the query stringcontactCount
- contacts to process, not used currently.public java.lang.String getQueryString()
public java.util.List<SourceContact> getQueryResults()
public void start()
void addLine(OperationSetTelephonyBLF.Line line, boolean fireEvent)
line
- to display status.fireEvent
- whether to fire eventsvoid updateLineStatus(OperationSetTelephonyBLF.Line line, int status)
line
- status
-
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.