Fix a compilation error

This commit is contained in:
Trustin Lee 2012-05-16 23:05:58 +09:00
parent 3669e31e14
commit d3a3b329f3

View File

@ -26,6 +26,7 @@ import io.netty.logging.InternalLogger;
import io.netty.logging.InternalLoggerFactory;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.channels.SelectionKey;
import java.nio.channels.SocketChannel;
@ -75,6 +76,16 @@ public class NioSocketChannel extends AbstractNioChannel implements io.netty.cha
return config;
}
@Override
public InetSocketAddress localAddress() {
return (InetSocketAddress) super.localAddress();
}
@Override
public InetSocketAddress remoteAddress() {
return (InetSocketAddress) super.remoteAddress();
}
@Override
protected SocketChannel javaChannel() {
return (SocketChannel) super.javaChannel();