Package org.elasticsearch.transport
Class Netty4NioSocketChannel
java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.nio.AbstractNioChannel
io.netty.channel.nio.AbstractNioByteChannel
io.netty.channel.socket.nio.NioSocketChannel
org.elasticsearch.transport.Netty4NioSocketChannel
- All Implemented Interfaces:
io.netty.channel.Channel,io.netty.channel.ChannelOutboundInvoker,io.netty.channel.socket.DuplexChannel,io.netty.channel.socket.SocketChannel,io.netty.util.AttributeMap,java.lang.Comparable<io.netty.channel.Channel>
- Direct Known Subclasses:
CopyBytesSocketChannel
public class Netty4NioSocketChannel
extends io.netty.channel.socket.nio.NioSocketChannel
Helper class to expose
javaChannel() method-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.channel.nio.AbstractNioByteChannel
io.netty.channel.nio.AbstractNioByteChannel.NioByteUnsafeNested classes/interfaces inherited from class io.netty.channel.nio.AbstractNioChannel
io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe, io.netty.channel.nio.AbstractNioChannel.NioUnsafe -
Field Summary
-
Constructor Summary
Constructors Constructor Description Netty4NioSocketChannel()Netty4NioSocketChannel(io.netty.channel.Channel parent, java.nio.channels.SocketChannel socket) -
Method Summary
Modifier and Type Method Description java.nio.channels.SocketChanneljavaChannel()Methods inherited from class io.netty.channel.socket.nio.NioSocketChannel
config, doBind, doClose, doConnect, doDisconnect, doFinishConnect, doReadBytes, doShutdownOutput, doWrite, doWriteBytes, doWriteFileRegion, isActive, isInputShutdown, isInputShutdown0, isOutputShutdown, isShutdown, localAddress, localAddress0, newUnsafe, parent, remoteAddress, remoteAddress0, shutdown, shutdown, shutdownInput, shutdownInput, shutdownOutput, shutdownOutputMethods inherited from class io.netty.channel.nio.AbstractNioByteChannel
clearOpWrite, doWrite0, filterOutboundMessage, incompleteWrite, metadata, setOpWriteMethods inherited from class io.netty.channel.nio.AbstractNioChannel
clearReadPending, doBeginRead, doDeregister, doRegister, eventLoop, isCompatible, isOpen, isReadPending, newDirectBuffer, newDirectBuffer, selectionKey, setReadPending, unsafeMethods inherited from class io.netty.channel.AbstractChannel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, equals, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, pipeline, read, toString, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.channel.Channel
alloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isOpen, isRegistered, isWritable, metadata, pipeline, read, unsafeMethods inherited from interface io.netty.channel.ChannelOutboundInvoker
bind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlush
-
Constructor Details
-
Netty4NioSocketChannel
public Netty4NioSocketChannel() -
Netty4NioSocketChannel
public Netty4NioSocketChannel(io.netty.channel.Channel parent, java.nio.channels.SocketChannel socket)
-
-
Method Details
-
javaChannel
public java.nio.channels.SocketChannel javaChannel()- Overrides:
javaChannelin classio.netty.channel.socket.nio.NioSocketChannel
-