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 times out. |
void onSuspend(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets suspended.request - an AtmosphereRequestresponse - an AtmosphereResponsevoid onResume(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets resumed.request - an AtmosphereRequestresponse - an AtmosphereResponsevoid onTimeout(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource times out.request - an AtmosphereRequestresponse - an AtmosphereResponsevoid onClose(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets closed.request - an AtmosphereRequestresponse - an AtmosphereResponsevoid onDestroyed(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets destroyed.request - an AtmosphereRequestresponse - an AtmosphereResponseCopyright © 2016. All rights reserved.