Package io.netty.channel.rxtx
Class RxtxChannel
- java.lang.Object
-
- io.netty.util.DefaultAttributeMap
-
- io.netty.channel.AbstractChannel
-
- io.netty.channel.oio.AbstractOioChannel
-
- io.netty.channel.oio.AbstractOioByteChannel
-
- io.netty.channel.oio.OioByteStreamChannel
-
- io.netty.channel.rxtx.RxtxChannel
-
- All Implemented Interfaces:
io.netty.channel.Channel,io.netty.channel.ChannelOutboundInvoker,io.netty.util.AttributeMap,Comparable<io.netty.channel.Channel>
@Deprecated public class RxtxChannel extends io.netty.channel.oio.OioByteStreamChannel
Deprecated.this transport will be removed in the next major version.A channel to a serial device using the RXTX library.
-
-
Constructor Summary
Constructors Constructor Description RxtxChannel()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RxtxChannelConfigconfig()Deprecated.protected voiddoBind(SocketAddress localAddress)Deprecated.protected voiddoClose()Deprecated.protected voiddoConnect(SocketAddress remoteAddress, SocketAddress localAddress)Deprecated.protected voiddoDisconnect()Deprecated.protected voiddoInit()Deprecated.protected booleanisInputShutdown()Deprecated.booleanisOpen()Deprecated.RxtxDeviceAddresslocalAddress()Deprecated.protected RxtxDeviceAddresslocalAddress0()Deprecated.protected io.netty.channel.AbstractChannel.AbstractUnsafenewUnsafe()Deprecated.RxtxDeviceAddressremoteAddress()Deprecated.protected RxtxDeviceAddressremoteAddress0()Deprecated.protected io.netty.channel.ChannelFutureshutdownInput()Deprecated.-
Methods inherited from class io.netty.channel.oio.OioByteStreamChannel
activate, available, doReadBytes, doWriteBytes, doWriteFileRegion, isActive
-
Methods inherited from class io.netty.channel.oio.AbstractOioByteChannel
doRead, doWrite, filterOutboundMessage, metadata
-
Methods inherited from class io.netty.channel.oio.AbstractOioChannel
clearReadPending, doBeginRead, isCompatible, isReadPending, setReadPending
-
Methods inherited from class io.netty.channel.AbstractChannel
closeFuture, compareTo, doDeregister, doRegister, doRegister, doShutdownOutput, equals, eventLoop, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, toString, unsafe, validateFileRegion, voidPromise
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.channel.Channel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, flush, getOption, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, read, setOption, write, write, writeAndFlush, writeAndFlush
-
-
-
-
Method Detail
-
config
public RxtxChannelConfig config()
Deprecated.
-
isOpen
public boolean isOpen()
Deprecated.
-
newUnsafe
protected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()
Deprecated.- Overrides:
newUnsafein classio.netty.channel.oio.AbstractOioChannel
-
doConnect
protected void doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
Deprecated.- Specified by:
doConnectin classio.netty.channel.oio.AbstractOioChannel- Throws:
Exception
-
localAddress
public RxtxDeviceAddress localAddress()
Deprecated.- Specified by:
localAddressin interfaceio.netty.channel.Channel- Overrides:
localAddressin classio.netty.channel.AbstractChannel
-
remoteAddress
public RxtxDeviceAddress remoteAddress()
Deprecated.- Specified by:
remoteAddressin interfaceio.netty.channel.Channel- Overrides:
remoteAddressin classio.netty.channel.AbstractChannel
-
localAddress0
protected RxtxDeviceAddress localAddress0()
Deprecated.- Specified by:
localAddress0in classio.netty.channel.AbstractChannel
-
remoteAddress0
protected RxtxDeviceAddress remoteAddress0()
Deprecated.- Specified by:
remoteAddress0in classio.netty.channel.AbstractChannel
-
doBind
protected void doBind(SocketAddress localAddress) throws Exception
Deprecated.- Specified by:
doBindin classio.netty.channel.AbstractChannel- Throws:
Exception
-
doDisconnect
protected void doDisconnect() throws ExceptionDeprecated.- Specified by:
doDisconnectin classio.netty.channel.AbstractChannel- Throws:
Exception
-
doClose
protected void doClose() throws ExceptionDeprecated.- Overrides:
doClosein classio.netty.channel.oio.OioByteStreamChannel- Throws:
Exception
-
isInputShutdown
protected boolean isInputShutdown()
Deprecated.- Specified by:
isInputShutdownin classio.netty.channel.oio.AbstractOioByteChannel
-
shutdownInput
protected io.netty.channel.ChannelFuture shutdownInput()
Deprecated.- Specified by:
shutdownInputin classio.netty.channel.oio.AbstractOioByteChannel
-
-