Class RawSocketChannel

  • All Implemented Interfaces:
    io.netty.channel.Channel, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap, Comparable<io.netty.channel.Channel>

    public class RawSocketChannel
    extends io.netty.channel.oio.OioByteStreamChannel
    TODO write comment
    Author:
    julian Created by julian on 2019-08-16
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.netty.channel.AbstractChannel

        io.netty.channel.AbstractChannel.AbstractUnsafe
      • Nested classes/interfaces inherited from interface io.netty.channel.Channel

        io.netty.channel.Channel.Unsafe
    • Field Summary

      • Fields inherited from class io.netty.channel.oio.AbstractOioChannel

        SO_TIMEOUT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.netty.channel.ChannelConfig config()  
      protected void doBind​(SocketAddress localAddress)  
      protected void doConnect​(SocketAddress remoteAddress, SocketAddress localAddress)  
      protected void doDisconnect()  
      protected int doReadBytes​(io.netty.buffer.ByteBuf buf)  
      protected boolean isInputShutdown()  
      boolean isOpen()  
      protected SocketAddress localAddress0()  
      protected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()  
      protected SocketAddress remoteAddress0()  
      protected io.netty.channel.ChannelFuture shutdownInput()  
      • Methods inherited from class io.netty.channel.oio.OioByteStreamChannel

        activate, available, doClose, 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

        alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doDeregister, doRegister, doShutdownOutput, equals, eventLoop, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, localAddress, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, remoteAddress, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlush
      • Methods inherited from class io.netty.util.DefaultAttributeMap

        attr, hasAttr
      • Methods inherited from interface io.netty.util.AttributeMap

        attr, hasAttr
    • Constructor Detail

      • RawSocketChannel

        public RawSocketChannel()
    • Method Detail

      • isInputShutdown

        protected boolean isInputShutdown()
        Specified by:
        isInputShutdown in class io.netty.channel.oio.AbstractOioByteChannel
      • shutdownInput

        protected io.netty.channel.ChannelFuture shutdownInput()
        Specified by:
        shutdownInput in class io.netty.channel.oio.AbstractOioByteChannel
      • localAddress0

        protected SocketAddress localAddress0()
        Specified by:
        localAddress0 in class io.netty.channel.AbstractChannel
      • remoteAddress0

        protected SocketAddress remoteAddress0()
        Specified by:
        remoteAddress0 in class io.netty.channel.AbstractChannel
      • doBind

        protected void doBind​(SocketAddress localAddress)
        Specified by:
        doBind in class io.netty.channel.AbstractChannel
      • doDisconnect

        protected void doDisconnect()
        Specified by:
        doDisconnect in class io.netty.channel.AbstractChannel
      • doReadBytes

        protected int doReadBytes​(io.netty.buffer.ByteBuf buf)
                           throws Exception
        Overrides:
        doReadBytes in class io.netty.channel.oio.OioByteStreamChannel
        Throws:
        Exception
      • config

        public io.netty.channel.ChannelConfig config()
      • isOpen

        public boolean isOpen()
      • newUnsafe

        protected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()
        Overrides:
        newUnsafe in class io.netty.channel.oio.AbstractOioChannel