Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.history.event
Class HistoryRecordEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.history.event.HistoryRecordEvent
All Implemented Interfaces:
Serializable

public class HistoryRecordEvent
extends EventObject

The HistoryRecordEvent indicates that a HistoryRecords has been received as a result of a HistoryQuery.

Author:
Yana Stamcheva
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HistoryRecordEvent(HistoryQuery query, HistoryRecord historyRecord)
          Creates a HistoryRecordEvent by specifying the initial query and the record this event is about.
 
Method Summary
 HistoryRecord getHistoryRecord()
          Returns the HistoryRecords this event is about.
 HistoryQuery getQuerySource()
          Returns the HistoryQuery that triggered this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryRecordEvent

public HistoryRecordEvent(HistoryQuery query,
                          HistoryRecord historyRecord)
Creates a HistoryRecordEvent by specifying the initial query and the record this event is about.

Parameters:
query - the source that triggered this event
historyRecord - the HistoryRecord this event is about
Method Detail

getQuerySource

public HistoryQuery getQuerySource()
Returns the HistoryQuery that triggered this event.

Returns:
the HistoryQuery that triggered this event

getHistoryRecord

public HistoryRecord getHistoryRecord()
Returns the HistoryRecords this event is about.

Returns:
the HistoryRecords this event is about

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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