public final class Event extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
EVENT_MODE_ASYNCHRONOUS |
static int |
EVENT_MODE_SYNCHRONOUS |
static int |
EVENT_TYPE_REQUEST |
static int |
EVENT_TYPE_RESPONSE |
Modifier and Type | Method and Description |
---|---|
static Event |
copy(Event event) |
static Event |
createEvent(String serviceId,
Context context) |
static Event |
createEvent(String serviceId,
String nodeName,
Context context) |
String |
getEventId() |
boolean |
getGroupMode() |
int |
getMode() |
int |
getPriority() |
ServiceRequest |
getServiceRequest() |
Throwable |
getThrowable() |
int |
getType() |
void |
setEventId(String eventId) |
void |
setGroupMode(boolean groupMode) |
void |
setMode(int mode) |
void |
setPriority(int priority) |
void |
setServiceRequest(ServiceRequest serviceRequest) |
void |
setThrowable(Throwable throwable) |
void |
setType(int type) |
public static final int EVENT_TYPE_REQUEST
public static final int EVENT_TYPE_RESPONSE
public static final int EVENT_MODE_SYNCHRONOUS
public static final int EVENT_MODE_ASYNCHRONOUS
public Event()
public Event(String eventId)
public boolean getGroupMode()
public void setGroupMode(boolean groupMode)
public int getMode()
public void setMode(int mode)
public int getPriority()
public void setPriority(int priority)
public int getType()
public void setType(int type)
public Throwable getThrowable()
public void setThrowable(Throwable throwable)
public String getEventId()
public void setEventId(String eventId)
public ServiceRequest getServiceRequest()
public void setServiceRequest(ServiceRequest serviceRequest)
Copyright © 2006–2018 TinyGroup. All rights reserved.