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