public class AsyncSupportListenerAdapter extends java.lang.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 gets timed out |
public void onSuspend(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets suspended.onSuspend in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onResume(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets resumedonResume in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onTimeout(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets timed outonTimeout in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onClose(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets closedonClose in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponsepublic void onDestroyed(AtmosphereRequest request, AtmosphereResponse response)
AtmosphereResource gets destroyedonDestroyed in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponseCopyright © 2018. All Rights Reserved.