Package org.atmosphere.interceptor
Class AtmosphereResourceStateRecovery.OnAlwaysSuspend
- java.lang.Object
-
- org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
-
- org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter.OnSuspend
-
- org.atmosphere.interceptor.AtmosphereResourceStateRecovery.OnAlwaysSuspend
-
- All Implemented Interfaces:
AtmosphereResourceEventListener,AtmosphereResourceHeartbeatEventListener,AllowInterceptor
- Enclosing class:
- AtmosphereResourceStateRecovery
public abstract static class AtmosphereResourceStateRecovery.OnAlwaysSuspend extends AtmosphereResourceEventListenerAdapter.OnSuspend implements AllowInterceptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
AtmosphereResourceEventListenerAdapter.OnBroadcast, AtmosphereResourceEventListenerAdapter.OnClose, AtmosphereResourceEventListenerAdapter.OnDisconnect, AtmosphereResourceEventListenerAdapter.OnHeartbeat, AtmosphereResourceEventListenerAdapter.OnPreSuspend, AtmosphereResourceEventListenerAdapter.OnResume, AtmosphereResourceEventListenerAdapter.OnSuspend, AtmosphereResourceEventListenerAdapter.OnThrowable
-
-
Constructor Summary
Constructors Constructor Description OnAlwaysSuspend()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidonSuspend(AtmosphereResourceEvent event)Invoked when theAtmosphereResource.suspend()has been completed and the response is considered as suspended.-
Methods inherited from class org.atmosphere.cpr.AtmosphereResourceEventListenerAdapter
onBroadcast, onClose, onDisconnect, onHeartbeat, onPreSuspend, onResume, onThrowable
-
-
-
-
Method Detail
-
onSuspend
public abstract void onSuspend(AtmosphereResourceEvent event)
Description copied from interface:AtmosphereResourceEventListenerInvoked when theAtmosphereResource.suspend()has been completed and the response is considered as suspended.- Specified by:
onSuspendin interfaceAtmosphereResourceEventListener- Specified by:
onSuspendin classAtmosphereResourceEventListenerAdapter.OnSuspend- Parameters:
event- aAtmosphereResourceEvent
-
-