diff --git a/transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java b/transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java index c9e5835773d5..d39dd433710c 100644 --- a/transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java +++ b/transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannel.java @@ -18,7 +18,7 @@ import gnu.io.CommPort; import gnu.io.CommPortIdentifier; import gnu.io.SerialPort; -import io.netty.channel.socket.oio.StreamOioByteChannel; +import io.netty.channel.socket.oio.OioByteStreamChannel; import java.net.SocketAddress; @@ -27,7 +27,7 @@ /** * A channel to a serial device using the RXTX library. */ -public class RxtxChannel extends StreamOioByteChannel { +public class RxtxChannel extends OioByteStreamChannel { private static final RxtxDeviceAddress LOCAL_ADDRESS = new RxtxDeviceAddress("localhost"); diff --git a/transport/src/main/java/io/netty/channel/socket/oio/StreamOioByteChannel.java b/transport/src/main/java/io/netty/channel/socket/oio/OioByteStreamChannel.java similarity index 97% rename from transport/src/main/java/io/netty/channel/socket/oio/StreamOioByteChannel.java rename to transport/src/main/java/io/netty/channel/socket/oio/OioByteStreamChannel.java index 7d7730dc44c7..2fdc90f5b283 100644 --- a/transport/src/main/java/io/netty/channel/socket/oio/StreamOioByteChannel.java +++ b/transport/src/main/java/io/netty/channel/socket/oio/OioByteStreamChannel.java @@ -30,7 +30,7 @@ /** * Abstract base class for OIO Channels that are based on streams. */ -public abstract class StreamOioByteChannel extends AbstractOioByteChannel { +public abstract class OioByteStreamChannel extends AbstractOioByteChannel { private InputStream is; private OutputStream os; @@ -43,7 +43,7 @@ public abstract class StreamOioByteChannel extends AbstractOioByteChannel { * {@link} has no parent as it was created by your self. * @param id the id which should be used for this instance or {@code null} if a new one should be generated */ - protected StreamOioByteChannel(Channel parent, Integer id) { + protected OioByteStreamChannel(Channel parent, Integer id) { super(parent, id); } diff --git a/transport/src/main/java/io/netty/channel/socket/oio/OioSocketChannel.java b/transport/src/main/java/io/netty/channel/socket/oio/OioSocketChannel.java index 7afabd975fdd..662621114c98 100755 --- a/transport/src/main/java/io/netty/channel/socket/oio/OioSocketChannel.java +++ b/transport/src/main/java/io/netty/channel/socket/oio/OioSocketChannel.java @@ -35,7 +35,7 @@ /** * A {@link SocketChannel} which is using Old-Blocking-IO */ -public class OioSocketChannel extends StreamOioByteChannel +public class OioSocketChannel extends OioByteStreamChannel implements SocketChannel { private static final InternalLogger logger =