|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.cpr.AsyncSupportListenerAdapter
public class AsyncSupportListenerAdapter
A default implementation of AsyncSupportListener
| Constructor Summary | |
|---|---|
AsyncSupportListenerAdapter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsyncSupportListenerAdapter()
| Method Detail |
|---|
public void onSuspend(AtmosphereRequest request,
AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets suspended.
onSuspend in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponse
public void onResume(AtmosphereRequest request,
AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets resumed.
onResume in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponse
public void onTimeout(AtmosphereRequest request,
AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource times out.
onTimeout in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponse
public void onClose(AtmosphereRequest request,
AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets closed.
onClose in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponse
public void onDestroyed(AtmosphereRequest request,
AtmosphereResponse response)
AsyncSupportListenerAtmosphereResource gets destroyed.
onDestroyed in interface AsyncSupportListenerrequest - an AtmosphereRequestresponse - an AtmosphereResponse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||