Package | Description |
---|---|
org.jboss.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
org.jboss.netty.util |
Utility classes used across multiple packages.
|
Constructor and Description |
---|
IdleStateHandler(Timer timer,
int readerIdleTimeSeconds,
int writerIdleTimeSeconds,
int allIdleTimeSeconds)
Creates a new instance.
|
IdleStateHandler(Timer timer,
long readerIdleTime,
long writerIdleTime,
long allIdleTime,
TimeUnit unit)
Creates a new instance.
|
ReadTimeoutHandler(Timer timer,
int timeoutSeconds)
Creates a new instance.
|
ReadTimeoutHandler(Timer timer,
long timeout,
TimeUnit unit)
Creates a new instance.
|
WriteTimeoutHandler(Timer timer,
int timeoutSeconds)
Creates a new instance.
|
WriteTimeoutHandler(Timer timer,
long timeout,
TimeUnit unit)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
HashedWheelTimer
A
Timer optimized for approximated I/O timeout scheduling. |
Modifier and Type | Method and Description |
---|---|
Timer |
Timeout.getTimer()
Returns the
Timer that created this handle. |
Copyright © 2008-2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.