|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.callhistory.CallHistoryQueryImpl
public class CallHistoryQueryImpl
| Constructor Summary | |
|---|---|
CallHistoryQueryImpl(HistoryQuery query)
Creates an instance of CallHistoryQueryImpl by specifying the underlying HistoryQuery. |
|
| 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 results for this query. |
void |
removeQueryListener(CallHistoryQueryListener l)
Removes the given CallHistoryQueryListener from the list of listeners interested in query result changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CallHistoryQueryImpl(HistoryQuery query)
query - the underlying HistoryQuery this query is based on| Method Detail |
|---|
public void cancel()
cancel in interface CallHistoryQuerypublic Collection<CallRecord> getCallRecords()
This method could be used in order to obtain first fast initial results and then obtain the additional results through the CallHistoryQueryListener, which should improve user experience when waiting for results.
getCallRecords in interface CallHistoryQuerypublic void addQueryListener(CallHistoryQueryListener l)
addQueryListener in interface CallHistoryQueryl - the CallHistoryQueryListener to addpublic void removeQueryListener(CallHistoryQueryListener l)
removeQueryListener in interface CallHistoryQueryl - the CallHistoryQueryListener to remove
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||