com.ning.http.util
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(java.lang.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
public CleanupChannelGroup()
public CleanupChannelGroup(java.lang.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 java.util.Collection<org.jboss.netty.channel.Channel>
add
in interface java.util.Set<org.jboss.netty.channel.Channel>
add
in class org.jboss.netty.channel.group.DefaultChannelGroup
Copyright © 2014. All Rights Reserved.