|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICallback<T>
This interface must be implemented by a object willing to be notifed
when the ICommand
's process
method execution has been completed.
Method Summary | |
---|---|
void |
setError(Exception e)
Called by the framework when an a ICommand 's process
method execution throws an Exception. |
void |
setResult(T res)
Called by the framework when an a ICommand 's process
method execution has been completed without throwing an Exception. |
Method Detail |
---|
void setResult(T res)
ICommand
's process
method execution has been completed without throwing an Exception.
res
- The result object returned by the ICommand
's process
method.void setError(Exception e)
ICommand
's process
method execution throws an Exception.
e
- The exception thrown by the ICommand
's process
method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |