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, write
removeAll
addAll, containsAll, retainAll
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, removeAll, retainAll
public CleanupChannelGroup()
public CleanupChannelGroup(String name)
public org.jboss.netty.channel.group.ChannelGroupFuture close()
close
in interface org.jboss.netty.channel.group.ChannelGroup
close
in class org.jboss.netty.channel.group.DefaultChannelGroup
public 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.DefaultChannelGroup
Copyright © 2014. All Rights Reserved.