Rname StreamOioByteChannel to OioByteStreamChannel
This commit is contained in:
parent
7316a3c65c
commit
4192222b38
@ -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");
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user