public interface AsyncSupportListener
AsyncSupport events like SUSPEND, RESUME, TIMEOUT, DESTROYED and CLOSED| Modifier and Type | Method and Description |
|---|---|
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 gets timed out |
void onSuspend(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets suspended.request - an AtmosphereRequestresponse - an AtmosphereResponsevoid onResume(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets resumedrequest - an AtmosphereRequestresponse - an AtmosphereResponsevoid onTimeout(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets timed outrequest - an AtmosphereRequestresponse - an AtmosphereResponsevoid onClose(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets closedrequest - an AtmosphereRequestresponse - an AtmosphereResponsevoid onDestroyed(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets destroyedrequest - an AtmosphereRequestresponse - an AtmosphereResponseCopyright © 2018. All Rights Reserved.