public interface HistoryQuery
Modifier and Type | Method and Description |
---|---|
void |
addHistoryRecordsListener(HistoryQueryListener l)
Adds the given HistoryQueryListener to the list of
listeners interested in query result changes.
|
void |
cancel()
Cancels this query.
|
java.util.Collection<HistoryRecord> |
getHistoryRecords()
Returns a collection of the results for this query.
|
java.lang.String |
getQueryString()
Returns the query string, this query was created for.
|
void |
removeHistoryRecordsListener(HistoryQueryListener l)
Removes the given HistoryQueryListener from the list of
listeners interested in query result changes.
|
void cancel()
java.lang.String getQueryString()
java.util.Collection<HistoryRecord> getHistoryRecords()
This method could be used in order to obtain first fast initial results and then obtain the additional results through the HistoryQueryListener, which should improve user experience when waiting for results.
void addHistoryRecordsListener(HistoryQueryListener l)
l
- the HistoryQueryListener to addvoid removeHistoryRecordsListener(HistoryQueryListener l)
l
- the HistoryQueryListener to remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.