[JBoss JIRA] Commented: (NETTY-79) IdleChannelHandler
Christian Migowski (JIRA)
jira-events at lists.jboss.org
Thu Dec 4 05:43:36 EST 2008
[ https://jira.jboss.org/jira/browse/NETTY-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441104#action_12441104 ]
Christian Migowski commented on NETTY-79:
-----------------------------------------
This sounds like a good idea!
It should be noted in the documentation that with many channels the "idle events" can be a bit delayed as a compromise to performance.
That should be ok for almost everyone I guess, since a server with many connections may not answer to his clients in a precise timeframe anyway because it is very busy doing lots of business logic.
> IdleChannelHandler
> ------------------
>
> Key: NETTY-79
> URL: https://jira.jboss.org/jira/browse/NETTY-79
> Project: Netty
> Issue Type: Feature Request
> Components: Handler
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 3.1.0.ALPHA3
>
>
> Netty core doesn't detect an idle channel at all. There should be a ChannelHandler which triggers some action when a connection becomes idle. For example, a connection which didn't send a certain message for a certain amount of time could be closed automatically. To fulfill this requirement,
> 1) A user should be able to define what an 'idle' channel is. (sensible default would be 'no communication for 10 seconds' for example)
> 2) A user should be able to define what action should be performed when a channel becomes idle. (sensible default would be disconnection for example)
> 3) A user should be able to add multiple instances of this handler so that one can enforce multiple rules.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the netty-dev
mailing list