Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.history.event
Interface HistoryQueryListener


public interface HistoryQueryListener

The HistoryQueryListener listens for changes in the result of a given HistoryQuery. When a query to the history is started, this listener would be notified every time new results are available for this query.

Author:
Yana Stamcheva

Method Summary
 void historyRecordReceived(HistoryRecordEvent event)
          Indicates that new HistoryRecord has been received as a result of the query.
 void queryStatusChanged(HistoryQueryStatusEvent event)
          Indicates that the status of the history has changed.
 

Method Detail

historyRecordReceived

void historyRecordReceived(HistoryRecordEvent event)
Indicates that new HistoryRecord has been received as a result of the query.

Parameters:
event - the HistoryRecordEvent containing information about the query results.

queryStatusChanged

void queryStatusChanged(HistoryQueryStatusEvent event)
Indicates that the status of the history has changed.

Parameters:
event - the HistoryQueryStatusEvent containing information about the status change

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.