Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public class CallHistoryQueryStatusEvent
extends EventObject

The CallHistoryQueryStatusEvent is triggered each time a CallHistoryQuery changes its status. Possible statuses are: QUERY_COMPLETED, QUERY_CANCELED and QUERY_ERROR.

Author:
Yana Stamcheva
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CallHistoryQueryStatusEvent(CallHistoryQuery source, int eventType)
          Creates a CallHistoryQueryStatusEvent by specifying the source CallHistoryQuery and the eventType indicating why initially this event occurred.
 
Method Summary
 int getEventType()
          Returns the type of this event.
 CallHistoryQuery getQuerySource()
          Returns the CallHistoryQuery 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

CallHistoryQueryStatusEvent

public CallHistoryQueryStatusEvent(CallHistoryQuery source,
                                   int eventType)
Creates a CallHistoryQueryStatusEvent by specifying the source CallHistoryQuery and the eventType indicating why initially this event occurred.

Parameters:
source - the CallHistoryQuery this event is about
eventType - the type of the event. One of the QUERY_XXX constants defined in the CallHistoryQuery
Method Detail

getQuerySource

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

Returns:
the CallHistoryQuery that triggered this event

getEventType

public int getEventType()
Returns the type of this event.

Returns:
the type of this event

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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