|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.TaskEvent<E>
public class TaskEvent<E>
Sample event object used by instance of TaskListener
to share
status information about where they are when processing a request.
Field Summary | |
---|---|
static int |
COMPLETED
|
static int |
CONTINUE
|
protected E |
ctx
The associated TaskContext instance. |
static int |
ERROR
|
static int |
START
|
static int |
START_ASYNCHRONOUS
|
Constructor Summary | |
---|---|
TaskEvent()
Create an empty instance. |
|
TaskEvent(E ctx)
Create an instance and associated the TaskContext object. |
Method Summary | |
---|---|
void |
attach(E ctx)
Set TaskContext instance. |
E |
attachement()
Return the TaskContext instance. |
int |
getStatus()
|
void |
setStatus(int status)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int START
public static final int ERROR
public static final int COMPLETED
public static final int CONTINUE
public static final int START_ASYNCHRONOUS
protected E ctx
TaskContext
instance. Can be null.
Constructor Detail |
---|
public TaskEvent(E ctx)
TaskContext
object.
public TaskEvent()
Method Detail |
---|
public int getStatus()
public void setStatus(int status)
public void attach(E ctx)
TaskContext
instance. Can be null.
public E attachement()
TaskContext
instance. Can be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |