public class AsyncResult extends Object
Modifier and Type | Field and Description |
---|---|
Throwable |
exception |
Object |
result |
Object |
userObj
Instance Variables
|
Constructor and Description |
---|
AsyncResult(Object uo,
Object r,
Throwable ex)
please note, this sets m.obj to be this
|
Modifier and Type | Method and Description |
---|---|
static AsyncResult |
forMessage(Message m)
Saves and sets m.obj
|
static AsyncResult |
forMessage(Message m,
Object r,
Throwable ex)
Saves and sets m.obj
|
public Object userObj
public Throwable exception
public Object result
public static AsyncResult forMessage(Message m, Object r, Throwable ex)
public static AsyncResult forMessage(Message m)