Add Channel.deregister()

This commit is contained in:
Trustin Lee 2012-04-03 22:29:26 +09:00
parent 5a63cc4e1a
commit 049fb35bc1

View File

@ -373,9 +373,12 @@ public interface Channel extends Comparable<Channel> {
/** /**
* Attaches an object to this {@link Channel} to store a stateful information * Attaches an object to this {@link Channel} to store a stateful information
*/ */
void setAttachment(Object attachment); void setAttachment(Object attachment);
ChannelFuture deregister();
void deregister(ChannelFuture future);
Unsafe unsafe(); Unsafe unsafe();
public interface Unsafe { public interface Unsafe {