public class HistoryQueryStatusEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
QUERY_CANCELED
Indicates that a query has been canceled.
|
static int |
QUERY_COMPLETED
Indicates that a query has been completed.
|
static int |
QUERY_ERROR
Indicates that a query has been stopped because of an error.
|
Constructor and Description |
---|
HistoryQueryStatusEvent(HistoryQuery source,
int eventType)
Creates a HistoryQueryStatusEvent by specifying the source
HistoryQuery and the eventType indicating why initially
this event occurred.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventType()
Returns the type of this event.
|
HistoryQuery |
getQuerySource()
Returns the HistoryQuery that triggered this event.
|
public static final int QUERY_COMPLETED
public static final int QUERY_CANCELED
public static final int QUERY_ERROR
public HistoryQueryStatusEvent(HistoryQuery source, int eventType)
source
- the HistoryQuery this event is abouteventType
- the type of the event. One of the QUERY_XXX constants
defined in this classpublic HistoryQuery getQuerySource()
public int getEventType()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.