public class MetaContactQueryStatusEvent
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 |
---|
MetaContactQueryStatusEvent(MetaContactQuery source,
int eventType)
Creates a MetaContactQueryStatusEvent by specifying the source
MetaContactQuery and the eventType indicating why
initially this event occurred.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventType()
Returns the type of this event.
|
MetaContactQuery |
getQuerySource()
Returns the ContactQuery that triggered this event.
|
public static final int QUERY_COMPLETED
public static final int QUERY_CANCELED
public static final int QUERY_ERROR
public MetaContactQueryStatusEvent(MetaContactQuery source, int eventType)
source
- the initiator of the eventeventType
- the type of the event. One of the QUERY_XXX constants
defined in this classpublic MetaContactQuery getQuerySource()
public int getEventType()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.