Package org.atmosphere.cpr
Class AsyncSupportListenerAdapter
java.lang.Object
org.atmosphere.cpr.AsyncSupportListenerAdapter
- All Implemented Interfaces:
AsyncSupportListener
A default implementation of
AsyncSupportListener- Author:
- Jeanfrancois Arcand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonClose(AtmosphereRequest request, AtmosphereResponse response) Invoked when anAtmosphereResourcegets closed.voidonDestroyed(AtmosphereRequest request, AtmosphereResponse response) Invoked when anAtmosphereResourcegets destroyed.voidonResume(AtmosphereRequest request, AtmosphereResponse response) Invoked when anAtmosphereResourcegets resumed.voidonSuspend(AtmosphereRequest request, AtmosphereResponse response) Invoked when anAtmosphereResourcegets suspended.voidonTimeout(AtmosphereRequest request, AtmosphereResponse response) Invoked when anAtmosphereResourcetimes out.
-
Constructor Details
-
AsyncSupportListenerAdapter
public AsyncSupportListenerAdapter()
-
-
Method Details
-
onSuspend
Description copied from interface:AsyncSupportListenerInvoked when anAtmosphereResourcegets suspended.- Specified by:
onSuspendin interfaceAsyncSupportListener- Parameters:
request- anAtmosphereRequestresponse- anAtmosphereResponse
-
onResume
Description copied from interface:AsyncSupportListenerInvoked when anAtmosphereResourcegets resumed.- Specified by:
onResumein interfaceAsyncSupportListener- Parameters:
request- anAtmosphereRequestresponse- anAtmosphereResponse
-
onTimeout
Description copied from interface:AsyncSupportListenerInvoked when anAtmosphereResourcetimes out.- Specified by:
onTimeoutin interfaceAsyncSupportListener- Parameters:
request- anAtmosphereRequestresponse- anAtmosphereResponse
-
onClose
Description copied from interface:AsyncSupportListenerInvoked when anAtmosphereResourcegets closed.- Specified by:
onClosein interfaceAsyncSupportListener- Parameters:
request- anAtmosphereRequestresponse- anAtmosphereResponse
-
onDestroyed
Description copied from interface:AsyncSupportListenerInvoked when anAtmosphereResourcegets destroyed.- Specified by:
onDestroyedin interfaceAsyncSupportListener- Parameters:
request- anAtmosphereRequestresponse- anAtmosphereResponse
-