public class CleanupChannelGroup
extends org.jboss.netty.channel.group.DefaultChannelGroup
DefaultChannelGroup that's used mainly as a cleanup container, where close() is only
supposed to be called once.| Constructor and Description |
|---|
CleanupChannelGroup() |
CleanupChannelGroup(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(org.jboss.netty.channel.Channel channel) |
org.jboss.netty.channel.group.ChannelGroupFuture |
close() |
clear, compareTo, contains, disconnect, equals, find, getName, hashCode, isEmpty, iterator, remove, setInterestOps, setReadable, size, toArray, toArray, toString, unbind, write, writeremoveAlladdAll, containsAll, retainAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, removeAll, retainAllpublic CleanupChannelGroup()
public CleanupChannelGroup(String name)
public org.jboss.netty.channel.group.ChannelGroupFuture close()
close in interface org.jboss.netty.channel.group.ChannelGroupclose in class org.jboss.netty.channel.group.DefaultChannelGrouppublic boolean add(org.jboss.netty.channel.Channel channel)
add in interface Collection<org.jboss.netty.channel.Channel>add in interface Set<org.jboss.netty.channel.Channel>add in class org.jboss.netty.channel.group.DefaultChannelGroupCopyright © 2015. All rights reserved.