|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AsyncSupportListener
A listener that can be used to track AsyncSupport events like SUSPEND, RESUME, TIMEOUT, DESTROYED and CLOSED
| Method Summary | |
|---|---|
void |
onClose(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an AtmosphereResource gets closed. |
void |
onDestroyed(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an AtmosphereResource gets destroyed. |
void |
onResume(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an AtmosphereResource gets resumed. |
void |
onSuspend(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an AtmosphereResource gets suspended. |
void |
onTimeout(AtmosphereRequest request,
AtmosphereResponse response)
Invoked when an AtmosphereResource times out. |
| Method Detail |
|---|
void onSuspend(AtmosphereRequest request,
AtmosphereResponse response)
AtmosphereResource gets suspended.
request - an AtmosphereRequestresponse - an AtmosphereResponse
void onResume(AtmosphereRequest request,
AtmosphereResponse response)
AtmosphereResource gets resumed.
request - an AtmosphereRequestresponse - an AtmosphereResponse
void onTimeout(AtmosphereRequest request,
AtmosphereResponse response)
AtmosphereResource times out.
request - an AtmosphereRequestresponse - an AtmosphereResponse
void onClose(AtmosphereRequest request,
AtmosphereResponse response)
AtmosphereResource gets closed.
request - an AtmosphereRequestresponse - an AtmosphereResponse
void onDestroyed(AtmosphereRequest request,
AtmosphereResponse response)
AtmosphereResource gets destroyed.
request - an AtmosphereRequestresponse - an AtmosphereResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||