软件包 | 描述 |
---|---|
io.netty.channel |
核心通道API是异步和事件驱动的各种传输(如
NIO Channel)的抽象 。
|
io.netty.channel.embedded |
一个虚拟的 Channel ,帮助包装一系列处理程序来单元测试处理程序或在非I / O上下文中使用它们。
|
io.netty.channel.epoll |
针对linux的优化传输,使用
EPOLL Edge-Triggered Mode获得最高性能。
|
io.netty.channel.kqueue |
BSD专用运输。
|
io.netty.channel.local |
一种虚拟传输,可在同一虚拟机中实现双方之间的通信。
|
io.netty.channel.nio |
基于
NIO的通道API实现 - 推荐用于大量连接(> = 1000)。
|
io.netty.channel.oio |
旧阻止基于I / O的通道API实现 - 建议用于少量连接(<1000)。
|
io.netty.channel.sctp.nio |
基于
NIO的SCTP通道API实现 - 推荐用于大量连接(> = 1000)。
|
io.netty.channel.sctp.oio |
旧的阻止基于I / O的SCTP通道API实现 - 建议用于少量连接(<1000)。
|
io.netty.channel.socket.nio |
基于
NIO的套接字通道API实现 - 建议用于大量连接(> = 1000)。
|
io.netty.channel.socket.oio |
旧阻塞基于I / O的套接字通道API实现 - 建议少量连接(<1000)。
|
io.netty.channel.udt.nio |
用于NIO通道的UDT传输。
|
Modifier and Type | Method and Description |
---|---|
ChannelOutboundBuffer |
Channel.Unsafe.outboundBuffer()
返回 Channel 的ChannelOutboundBuffer ,其中存储待处理的写入请求。
|
ChannelOutboundBuffer |
AbstractChannel.AbstractUnsafe.outboundBuffer() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractServerChannel.doWrite(ChannelOutboundBuffer in) |
protected abstract void |
AbstractChannel.doWrite(ChannelOutboundBuffer in)
将给定缓冲区的内容刷新到远程对等体。
|
Modifier and Type | Method and Description |
---|---|
protected void |
EmbeddedChannel.doWrite(ChannelOutboundBuffer in) |
Modifier and Type | Method and Description |
---|---|
protected void |
EpollDatagramChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractEpollStreamChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractEpollServerChannel.doWrite(ChannelOutboundBuffer in) |
protected int |
EpollDomainSocketChannel.doWriteSingle(ChannelOutboundBuffer in) |
protected int |
AbstractEpollStreamChannel.doWriteSingle(ChannelOutboundBuffer in)
尝试编写单个对象。
|
Modifier and Type | Method and Description |
---|---|
protected void |
KQueueDatagramChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractKQueueStreamChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractKQueueServerChannel.doWrite(ChannelOutboundBuffer in) |
protected int |
KQueueDomainSocketChannel.doWriteSingle(ChannelOutboundBuffer in) |
protected int |
AbstractKQueueStreamChannel.doWriteSingle(ChannelOutboundBuffer in)
尝试编写单个对象。
|
Modifier and Type | Method and Description |
---|---|
protected void |
LocalChannel.doWrite(ChannelOutboundBuffer in) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractNioMessageChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
AbstractNioByteChannel.doWrite(ChannelOutboundBuffer in) |
protected int |
AbstractNioByteChannel.doWrite0(ChannelOutboundBuffer in)
将对象写入操作系统。
|
protected abstract boolean |
AbstractNioMessageChannel.doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in)
写下消息到底层
Channel 。
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractOioByteChannel.doWrite(ChannelOutboundBuffer in) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
NioSctpServerChannel.doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in) |
protected boolean |
NioSctpChannel.doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in) |
Modifier and Type | Method and Description |
---|---|
protected void |
OioSctpServerChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
OioSctpChannel.doWrite(ChannelOutboundBuffer in) |
Modifier and Type | Method and Description |
---|---|
protected void |
NioSocketChannel.doWrite(ChannelOutboundBuffer in) |
protected boolean |
NioServerSocketChannel.doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in) |
protected boolean |
NioDatagramChannel.doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in) |
Modifier and Type | Method and Description |
---|---|
protected void |
OioServerSocketChannel.doWrite(ChannelOutboundBuffer in) |
protected void |
OioDatagramChannel.doWrite(ChannelOutboundBuffer in) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
NioUdtMessageConnectorChannel.doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in)
已过时。
|
protected boolean |
NioUdtAcceptorChannel.doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in)
已过时。
|
Copyright © 2008–2018 The Netty Project. All rights reserved.