[JBoss JIRA] Closed: (NETTY-85) Global Channel registry
Trustin Lee (JIRA)
jira-events at lists.jboss.org
Mon Dec 1 02:06:36 EST 2008
[ https://jira.jboss.org/jira/browse/NETTY-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee closed NETTY-85.
----------------------------
Resolution: Done
Initial implementation has been finished. Here's a simple usage:
ChannelGroup g = ChannelGroupFactory.getGroup("myService");
g.add(myChannel1);
g.add(...);
ChannelGroupFuture f = g.close();
f.awaitUninterruptibly();
if (f.isCompleteSuccess()) {
// yay
} else if (f.isPartialSuccess()) {
// oops
}
> Global Channel registry
> -----------------------
>
> Key: NETTY-85
> URL: https://jira.jboss.org/jira/browse/NETTY-85
> Project: Netty
> Issue Type: Feature Request
> Components: Core API
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 3.1.0.ALPHA2
>
>
> There should be a way to maintain the global list of open channels. The global registry should:
> * be optional - some users might not want Netty to maintain the list but want to maintain the list by themselves.
> * have a notion of a 'channel group' that a user can define freely depending one's business logic. (e.g. a group could contain the list of authenticated channels)
> * allow a channel to belong to more than one group.
> * deregister a channel when it is closed.
--
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