Rname StreamOioByteChannel to OioByteStreamChannel

This commit is contained in:
Norman Maurer 2013-01-21 12:10:07 +01:00
parent 7316a3c65c
commit 4192222b38
3 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ package io.netty.channel.rxtx;
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 @@ import static io.netty.channel.rxtx.RxtxChannelOption.*;
/**
* 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");

View File

@ -30,7 +30,7 @@ import java.nio.channels.WritableByteChannel;
/**
* 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);
}

View File

@ -35,7 +35,7 @@ import java.net.SocketTimeoutException;
/**
* 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 =