|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DispatchTarget
DispatchTarget is a mechanism that enables non-linear flows of control around asynchronous tasks such as networked I/O.
In such cases, when an object makes a call to initiate an asynchronous operation, it passes itself to the service provider, as aDispatchTarget.
Usually the result will be an immediate return, followed by a call to the
delivery method at some later point in time. Usually, the service provider
must guarantee that it will make such calls, even in cases of error.
| Method Summary | |
|---|---|
void |
delivery(java.lang.Object o)
Called, probably later asynchronously, when the requested service is complete. |
| Method Detail |
|---|
void delivery(java.lang.Object o)
o - -- enables an argument of any type to be passed back.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||