Fix a compilation error
This commit is contained in:
parent
3669e31e14
commit
d3a3b329f3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user