Class IdleResourceInterceptor

java.lang.Object
org.atmosphere.cpr.AtmosphereInterceptorAdapter
org.atmosphere.interceptor.IdleResourceInterceptor
All Implemented Interfaces:
AtmosphereInterceptor, AtmosphereConfigAware, InvokationOrder

public class IdleResourceInterceptor extends AtmosphereInterceptorAdapter
An Interceptor that track idle AtmosphereResource and close it. This interceptor is useful for tracking disconnected client that aren't detected by the network. A good example is a wireless connection that goes down. In that case Tomcat and Jetty fail to detects the disconnect.
Author:
Jeanfrancois Arcand