|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CallHistoryQuery
The CallHistoryQuery corresponds to a query made to the CallHistoryService. It allows to be canceled, to listen for changes in the results and to obtain initial results if available.
| Method Summary | |
|---|---|
void |
addQueryListener(CallHistoryQueryListener l)
Adds the given CallHistoryQueryListener to the list of listeners interested in query result changes. |
void |
cancel()
Cancels this query. |
Collection<CallRecord> |
getCallRecords()
Returns a collection of the initial results for this query. |
String |
getQueryString()
Returns the query string, this query was created for. |
void |
removeQueryListener(CallHistoryQueryListener l)
Removes the given CallHistoryQueryListener from the list of listeners interested in query result changes. |
| Method Detail |
|---|
void cancel()
String getQueryString()
Collection<CallRecord> getCallRecords()
This method is meant to be used in order to return first fast initial results and then notify interested parties of additional results through the CallHistoryQueryListener, which should improve user experience when waiting for results.
void addQueryListener(CallHistoryQueryListener l)
l - the CallHistoryQueryListener to addvoid removeQueryListener(CallHistoryQueryListener l)
l - the CallHistoryQueryListener to remove
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||