public class AsyncSupportListenerAdapter extends Object implements AsyncSupportListener
AsyncSupportListener| Constructor and Description |
|---|
AsyncSupportListenerAdapter() |
| 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. |
public void onSuspend(AtmosphereRequest request, AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets suspended.onSuspend in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onResume(AtmosphereRequest request, AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets resumed.onResume in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onTimeout(AtmosphereRequest request, AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource times out.onTimeout in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onClose(AtmosphereRequest request, AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets closed.onClose in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onDestroyed(AtmosphereRequest request, AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets destroyed.onDestroyed in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponseCopyright © 2016. All rights reserved.