|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cindy.util.ChannelUtils
public final class ChannelUtils
Utils for java nio channels.
| Constructor Summary | |
|---|---|
ChannelUtils()
|
|
| Method Summary | |
|---|---|
static void |
close(java.nio.channels.Channel channel)
Close channel and ignore any exceptions. |
static void |
close(java.nio.channels.Selector selector)
Close selector and ignore any exceptions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelUtils()
| Method Detail |
|---|
public static void close(java.nio.channels.Channel channel)
channel - channelpublic static void close(java.nio.channels.Selector selector)
selector - selector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||