
com.groupbyinc.flux.common.jboss.netty.handler.timeout.IdleStateHandler.class Maven / Gradle / Ivy
???? 1 ? Gcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler Kcom/groupbyinc/flux/common/jboss/netty/channel/SimpleChannelUpstreamHandler Kcom/groupbyinc/flux/common/jboss/netty/channel/LifeCycleAwareChannelHandler Fcom/groupbyinc/flux/common/jboss/netty/util/ExternalResourceReleasable IdleStateHandler.java HLcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandler$Sharable; Mcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler$State State Zcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler$AllIdleTimeoutTask AllIdleTimeoutTask ]com/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler$WriterIdleTimeoutTask WriterIdleTimeoutTask ]com/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler$ReaderIdleTimeoutTask ReaderIdleTimeoutTask Icom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler$1 Fcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandler$Sharable =com/groupbyinc/flux/common/jboss/netty/channel/ChannelHandler Sharable timer 3Lcom/groupbyinc/flux/common/jboss/netty/util/Timer; readerIdleTimeMillis J writerIdleTimeMillis allIdleTimeMillis 9(Lcom/groupbyinc/flux/common/jboss/netty/util/Timer;III)V java/util/concurrent/TimeUnit & SECONDS Ljava/util/concurrent/TimeUnit; ( ) ' * X(Lcom/groupbyinc/flux/common/jboss/netty/util/Timer;JJJLjava/util/concurrent/TimeUnit;)V $ ,
- this ILcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler; readerIdleTimeSeconds I writerIdleTimeSeconds allIdleTimeSeconds ()V $ 5
6 java/lang/NullPointerException 8 (Ljava/lang/String;)V $ ;
9 < unit > @ ! B toMillis (J)J D E
' F java/lang/Math H max (JJ)J J K
I L " ! N # ! P readerIdleTime writerIdleTime allIdleTime getReaderIdleTimeInMillis ()J getWriterIdleTimeInMillis getAllIdleTimeInMillis releaseExternalResources 1com/groupbyinc/flux/common/jboss/netty/util/Timer Z stop ()Ljava/util/Set; \ ] [ ^ beforeAdd I(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;)V java/lang/Exception b Dcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext d getPipeline B()Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelPipeline; f g e h >com/groupbyinc/flux/common/jboss/netty/channel/ChannelPipeline j
isAttached ()Z l m k n
initialize p a
q ctx FLcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext; afterAdd beforeRemove destroy w a
x afterRemove channelOpen ?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelStateEvent;)V sendUpstream @(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelEvent;)V } ~ e e BLcom/groupbyinc/flux/common/jboss/netty/channel/ChannelStateEvent;
channelClosed messageReceived ?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/channel/MessageEvent;)V
getAttachment ()Ljava/lang/Object; ? ? e ? java/lang/System ? currentTimeMillis ? V
? ? lastReadTime ? ! ? =Lcom/groupbyinc/flux/common/jboss/netty/channel/MessageEvent; state OLcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler$State;
writeComplete ?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/channel/WriteCompletionEvent;)V Ccom/groupbyinc/flux/common/jboss/netty/channel/WriteCompletionEvent ? getWrittenAmount ? V ? ?
lastWriteTime ? ! ? ELcom/groupbyinc/flux/common/jboss/netty/channel/WriteCompletionEvent; ?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;)Lcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler$State; ? ?
? ? 2 ? ?(Lcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler;Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;)V $ ?
? MILLISECONDS ? ) ' ?
newTimeout ?(Lcom/groupbyinc/flux/common/jboss/netty/util/TimerTask;JLjava/util/concurrent/TimeUnit;)Lcom/groupbyinc/flux/common/jboss/netty/util/Timeout; ? ? [ ? readerIdleTimeout 5Lcom/groupbyinc/flux/common/jboss/netty/util/Timeout; ? ? ?
? writerIdleTimeout ? ? ?
? allIdleTimeout ? ? ? 3com/groupbyinc/flux/common/jboss/netty/util/Timeout ? cancel ? 5 ? ?
6
setAttachment (Ljava/lang/Object;)V ? ? e ? fireChannelIdle ?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleState;J)V ?(Lcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleStateHandler;Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleState;J)V $ ?
? execute T(Ljava/lang/Runnable;)Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelFuture; ? ? k ? BLcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleState; lastActivityTimeMillis channelIdle Lcom/groupbyinc/flux/common/jboss/netty/handler/timeout/DefaultIdleStateEvent ?
getChannel :()Lcom/groupbyinc/flux/common/jboss/netty/channel/Channel; ? ? e ? ~(Lcom/groupbyinc/flux/common/jboss/netty/channel/Channel;Lcom/groupbyinc/flux/common/jboss/netty/handler/timeout/IdleState;J)V $ ?
? ?
access$000 ? ?
? x0 x1 x2 x3 Code LocalVariableTable LineNumberTable
Exceptions
SourceFile InnerClasses RuntimeVisibleAnnotations ! ! " ! # ! $ % ? f *+???? +? .? ? 4 / 0 1 2 3 2 4 2 ?
? ? $ , ? *? 7+?
? 9Y:? =??
? 9Y?? =?*+? A ?? * ? C? * ? G
? M? C ?? * ? O? *? G
? M? O ?? * ? Q? *? G
? M? Q? ? > / 0 R ! S ! T ! > ) ? B ? ? ? ? ? ! ? &