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 -
Method Summary
Modifier and TypeMethodDescriptionabstract 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
-
Constructor Details
-
OnAlwaysSuspend
public OnAlwaysSuspend()
-
-
Method Details
-
onSuspend
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
-