public interface AsyncSupportListener
AsyncSupport
events like SUSPEND, RESUME, TIMEOUT, DESTROYED and CLOSEDModifier 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 AtmosphereRequest
response
- an AtmosphereResponse
void onResume(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource
gets resumed.request
- an AtmosphereRequest
response
- an AtmosphereResponse
void onTimeout(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource
times out.request
- an AtmosphereRequest
response
- an AtmosphereResponse
void onClose(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource
gets closed.request
- an AtmosphereRequest
response
- an AtmosphereResponse
void onDestroyed(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource
gets destroyed.request
- an AtmosphereRequest
response
- an AtmosphereResponse
Copyright © 2016. All rights reserved.