com.ning.http.client.providers.netty.timeout
Class TimeoutTimerTask

java.lang.Object
  extended by com.ning.http.client.providers.netty.timeout.TimeoutTimerTask
All Implemented Interfaces:
org.jboss.netty.util.TimerTask
Direct Known Subclasses:
IdleConnectionTimeoutTimerTask, RequestTimeoutTimerTask

public abstract class TimeoutTimerTask
extends Object
implements org.jboss.netty.util.TimerTask


Field Summary
protected  NettyResponseFuture<?> nettyResponseFuture
           
protected  NettyAsyncHttpProvider provider
           
protected  TimeoutsHolder timeoutsHolder
           
 
Constructor Summary
TimeoutTimerTask(NettyResponseFuture<?> nettyResponseFuture, NettyAsyncHttpProvider provider, TimeoutsHolder timeoutsHolder)
           
 
Method Summary
protected  void expire(String message, long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.netty.util.TimerTask
run
 

Field Detail

nettyResponseFuture

protected final NettyResponseFuture<?> nettyResponseFuture

provider

protected final NettyAsyncHttpProvider provider

timeoutsHolder

protected final TimeoutsHolder timeoutsHolder
Constructor Detail

TimeoutTimerTask

public TimeoutTimerTask(NettyResponseFuture<?> nettyResponseFuture,
                        NettyAsyncHttpProvider provider,
                        TimeoutsHolder timeoutsHolder)
Method Detail

expire

protected void expire(String message,
                      long time)


Copyright © 2014. All Rights Reserved.