Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.callhistory.event
Class CallRecordEvent

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

public class CallRecordEvent
extends EventObject

The CallRecordEvent indicates that a CallRecord has been received as a result of a CallHistoryQuery.

Author:
Yana Stamcheva
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CallRecordEvent(CallHistoryQuery query, CallRecord callRecord)
          Creates a CallRecordEvent by specifying the parent query and the callRecord this event is about.
 
Method Summary
 CallRecord getCallRecord()
          Returns the CallRecords this event is about.
 CallHistoryQuery getQuerySource()
          Returns the ContactQuery 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

CallRecordEvent

public CallRecordEvent(CallHistoryQuery query,
                       CallRecord callRecord)
Creates a CallRecordEvent by specifying the parent query and the callRecord this event is about.

Parameters:
query - the source that triggered this event
callRecord - the CallRecord this event is about
Method Detail

getQuerySource

public CallHistoryQuery getQuerySource()
Returns the ContactQuery that triggered this event.

Returns:
the ContactQuery that triggered this event

getCallRecord

public CallRecord getCallRecord()
Returns the CallRecords this event is about.

Returns:
the CallRecords 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.