|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet<org.jboss.netty.channel.Channel>
org.jboss.netty.channel.group.DefaultChannelGroup
com.ning.http.util.CleanupChannelGroup
public class CleanupChannelGroup
Extension of DefaultChannelGroup that's used mainly as a cleanup container, where close() is only
supposed to be called once.
| Constructor Summary | |
|---|---|
CleanupChannelGroup()
|
|
CleanupChannelGroup(String name)
|
|
| Method Summary | |
|---|---|
boolean |
add(org.jboss.netty.channel.Channel channel)
|
org.jboss.netty.channel.group.ChannelGroupFuture |
close()
|
| Methods inherited from class org.jboss.netty.channel.group.DefaultChannelGroup |
|---|
clear, compareTo, contains, disconnect, equals, find, getName, hashCode, isEmpty, iterator, remove, setInterestOps, setReadable, size, toArray, toArray, toString, unbind, write, write |
| Methods inherited from class java.util.AbstractSet |
|---|
removeAll |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, containsAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
addAll, containsAll, removeAll, retainAll |
| Constructor Detail |
|---|
public CleanupChannelGroup()
public CleanupChannelGroup(String name)
| Method Detail |
|---|
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.DefaultChannelGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||