Index

A B C D E F G H I K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractMessageHandler<T> - Class in org.miaixz.bus.socket.metric.handler
抽象消息处理
AbstractMessageHandler() - Constructor for class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
AbstractPlugin<T> - Class in org.miaixz.bus.socket.plugin
抽象插件
AbstractPlugin() - Constructor for class org.miaixz.bus.socket.plugin.AbstractPlugin
 
ACCEPT_EXCEPTION - Enum constant in enum class org.miaixz.bus.socket.Status
服务端接受连接异常
access(InetSocketAddress) - Method in interface org.miaixz.bus.socket.plugin.BlackListPlugin.BlackListRule
是否允许建立连接
addPlugin(Plugin<T>) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
addRegister(Consumer<Selector>) - Method in class org.miaixz.bus.socket.Worker
注册事件
addRule(BlackListPlugin.BlackListRule) - Method in class org.miaixz.bus.socket.plugin.BlackListPlugin
添加黑名单失败规则
afterRead(Session, int) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
afterRead(Session, int) - Method in interface org.miaixz.bus.socket.Monitor
监控触发本次读回调Session的已读数据字节数
afterRead(Session, int) - Method in class org.miaixz.bus.socket.plugin.AbstractPlugin
 
afterRead(Session, int) - Method in class org.miaixz.bus.socket.plugin.MonitorPlugin
 
afterWrite(Session, int) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
afterWrite(Session, int) - Method in interface org.miaixz.bus.socket.Monitor
监控触发本次写回调session的已写数据字节数
afterWrite(Session, int) - Method in class org.miaixz.bus.socket.plugin.AbstractPlugin
 
afterWrite(Session, int) - Method in class org.miaixz.bus.socket.plugin.MonitorPlugin
 
AioClient - Class in org.miaixz.bus.socket.accord
AIO实现的客户端服务
AioClient(String, int, Message<T>, Handler<T>) - Constructor for class org.miaixz.bus.socket.accord.AioClient
当前构造方法设置了启动Aio客户端的必要参数,基本实现开箱即用。
AioServer - Class in org.miaixz.bus.socket.accord
AIO服务端
AioServer(int, Message<T>, Handler<T>) - Constructor for class org.miaixz.bus.socket.accord.AioServer
设置服务端启动必要参数配置
AioServer(String, int, Message<T>, Handler<T>) - Constructor for class org.miaixz.bus.socket.accord.AioServer
 
allocate(int) - Method in class org.miaixz.bus.socket.buffer.BufferPage
申请虚拟内存
allocateBufferPage() - Method in class org.miaixz.bus.socket.buffer.BufferPagePool
申请内存页
AsynchronousChannelProvider - Class in org.miaixz.bus.socket.metric.channels
异步通道提供程序
AsynchronousChannelProvider(boolean) - Constructor for class org.miaixz.bus.socket.metric.channels.AsynchronousChannelProvider
 
asynchronousSocketChannel - Variable in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
AsynchronousSocketChannelProxy - Class in org.miaixz.bus.socket.metric.channels
异步套接字通道代理
AsynchronousSocketChannelProxy(AsynchronousSocketChannel) - Constructor for class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
awaitRead() - Method in class org.miaixz.bus.socket.accord.TcpSession
 
awaitRead() - Method in class org.miaixz.bus.socket.accord.UdpSession
 
awaitRead() - Method in class org.miaixz.bus.socket.Session
 

B

beforeRead(Session) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
beforeRead(Session) - Method in interface org.miaixz.bus.socket.Monitor
即将开始读取数据
beforeRead(Session) - Method in class org.miaixz.bus.socket.plugin.AbstractPlugin
 
beforeRead(Session) - Method in class org.miaixz.bus.socket.plugin.MonitorPlugin
 
beforeWrite(Session) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
beforeWrite(Session) - Method in interface org.miaixz.bus.socket.Monitor
即将开始写数据
beforeWrite(Session) - Method in class org.miaixz.bus.socket.plugin.AbstractPlugin
 
beforeWrite(Session) - Method in class org.miaixz.bus.socket.plugin.MonitorPlugin
 
bind(SocketAddress) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
bind(SocketAddress) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
bindLocal(String, int) - Method in class org.miaixz.bus.socket.accord.AioClient
绑定本机地址、端口用于连接远程服务
BlackListPlugin<T> - Class in org.miaixz.bus.socket.plugin
黑名单插件,会拒绝与黑名单中的IP建立连接
BlackListPlugin() - Constructor for class org.miaixz.bus.socket.plugin.BlackListPlugin
 
BlackListPlugin.BlackListRule - Interface in org.miaixz.bus.socket.plugin
黑名单规则定义
BLUE_HEX_INPUT_STREAM - Static variable in class org.miaixz.bus.socket.plugin.StreamMonitorPlugin
 
BLUE_TEXT_INPUT_STREAM - Static variable in class org.miaixz.bus.socket.plugin.StreamMonitorPlugin
 
buffer() - Method in class org.miaixz.bus.socket.buffer.VirtualBuffer
获取真实缓冲区
BufferPage - Class in org.miaixz.bus.socket.buffer
ByteBuffer内存页
BufferPageMonitorPlugin<T> - Class in org.miaixz.bus.socket.plugin
内存页监测插件
BufferPageMonitorPlugin(AioServer, int) - Constructor for class org.miaixz.bus.socket.plugin.BufferPageMonitorPlugin
 
BufferPagePool - Class in org.miaixz.bus.socket.buffer
ByteBuffer内存池
BufferPagePool(int, int, boolean) - Constructor for class org.miaixz.bus.socket.buffer.BufferPagePool
 
bus.socket - module bus.socket
bus.socket
ByteArrayMessage - Class in org.miaixz.bus.socket.metric.message
字节数组模式
ByteArrayMessage() - Constructor for class org.miaixz.bus.socket.metric.message.ByteArrayMessage
 

C

callback() - Method in interface org.miaixz.bus.socket.secure.ssl.HandshakeCallback
握手回调
callback(Session, long) - Method in interface org.miaixz.bus.socket.plugin.HeartPlugin.TimeoutCallback
 
cancel() - Method in interface org.miaixz.bus.socket.metric.SocketTask
取消定时器
cancel(boolean) - Method in class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 
clean() - Method in class org.miaixz.bus.socket.buffer.VirtualBuffer
释放虚拟缓冲区
ClientAuth - Enum Class in org.miaixz.bus.socket.secure.ssl
配置引擎请求客户端验证 此选项只对服务器模式的引擎有用
ClientSSLContextFactory - Class in org.miaixz.bus.socket.secure.ssl.factory
 
ClientSSLContextFactory() - Constructor for class org.miaixz.bus.socket.secure.ssl.factory.ClientSSLContextFactory
 
ClientSSLContextFactory(InputStream, String) - Constructor for class org.miaixz.bus.socket.secure.ssl.factory.ClientSSLContextFactory
 
close() - Method in class org.miaixz.bus.socket.accord.UdpChannel
关闭当前连接
close() - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
 
close() - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
close() - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
close() - Method in class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
close() - Method in class org.miaixz.bus.socket.Session
强制关闭当前Session 若此时还存留待输出的数据,则会导致该部分数据丢失
close(boolean) - Method in class org.miaixz.bus.socket.accord.TcpSession
是否立即关闭会话
close(boolean) - Method in class org.miaixz.bus.socket.accord.UdpSession
为确保消息尽可能发送,UDP不支持立即close
close(boolean) - Method in class org.miaixz.bus.socket.Session
是否立即关闭会话
completed(V, A) - Method in class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 
connect(String, int) - Method in class org.miaixz.bus.socket.accord.UdpChannel
 
connect(SocketAddress) - Method in class org.miaixz.bus.socket.accord.UdpChannel
建立与远程服务的连接会话,通过Session可进行数据传输
connect(SocketAddress) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
connect(SocketAddress) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
connect(SocketAddress, A, CompletionHandler<Void, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
connect(SocketAddress, A, CompletionHandler<Void, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
connectTimeout(int) - Method in class org.miaixz.bus.socket.accord.AioClient
客户端连接超时时间,单位:毫秒
context - Variable in class org.miaixz.bus.socket.accord.UdpChannel
服务上下文
Context - Class in org.miaixz.bus.socket
服务端/客户端上下文信息 T:解码后生成的对象类型
Context() - Constructor for class org.miaixz.bus.socket.Context
 
create() - Method in class org.miaixz.bus.socket.secure.ssl.factory.ClientSSLContextFactory
 
create() - Method in class org.miaixz.bus.socket.secure.ssl.factory.PemServerSSLContextFactory
 
create() - Method in class org.miaixz.bus.socket.secure.ssl.factory.ServerSSLContextFactory
 
create() - Method in interface org.miaixz.bus.socket.secure.ssl.factory.SSLContextFactory
 

D

debug(boolean) - Method in class org.miaixz.bus.socket.plugin.SslPlugin
 
debug(boolean) - Method in class org.miaixz.bus.socket.secure.ssl.SslService
 
decode(byte[], Session) - Method in class org.miaixz.bus.socket.metric.message.ByteArrayMessage
 
decode(byte[], Session) - Method in class org.miaixz.bus.socket.metric.message.FixedLengthBytesMessage
 
decode(ByteBuffer) - Method in class org.miaixz.bus.socket.metric.decoder.DelimiterFrameDecoder
 
decode(ByteBuffer) - Method in class org.miaixz.bus.socket.metric.decoder.FixedLengthFrameDecoder
 
decode(ByteBuffer) - Method in interface org.miaixz.bus.socket.metric.decoder.SocketDecoder
解码算法
decode(ByteBuffer, Session) - Method in class org.miaixz.bus.socket.accord.kcp.KcpMessage
 
decode(ByteBuffer, Session) - Method in interface org.miaixz.bus.socket.Message
对于从Socket流中获取到的数据采用当前Protocol的实现类协议进行解析。
decode(ByteBuffer, Session) - Method in class org.miaixz.bus.socket.metric.message.FixedLengthBytesMessage
 
decode(ByteBuffer, Session) - Method in class org.miaixz.bus.socket.metric.message.StringMessage
 
DECODE_EXCEPTION - Enum constant in enum class org.miaixz.bus.socket.Status
协议解码异常 执行Message.decode(ByteBuffer, Session)期间发生未捕获的异常
DEFAULT_BUFFER_PAGE_POOL - Static variable in class org.miaixz.bus.socket.buffer.BufferPagePool
 
DEFAULT_TIMER - Static variable in class org.miaixz.bus.socket.metric.HashedWheelTimer
 
DelimiterFrameDecoder - Class in org.miaixz.bus.socket.metric.decoder
指定结束标识的解码器
DelimiterFrameDecoder(byte[], int) - Constructor for class org.miaixz.bus.socket.metric.decoder.DelimiterFrameDecoder
 
disableLowMemory() - Method in class org.miaixz.bus.socket.accord.AioClient
禁用低代码模式
disableLowMemory() - Method in class org.miaixz.bus.socket.accord.AioServer
禁用低代码模式
doHandshake(HandshakeModel) - Method in class org.miaixz.bus.socket.secure.ssl.SslService
纯异步实现的SSL握手, 在执行doHandshake期间必须保证当前通道无数据读写正在执行。
doRead(UdpChannel) - Method in class org.miaixz.bus.socket.Worker
 
doSelector() - Method in class org.miaixz.bus.socket.Worker
 
doWrite() - Method in class org.miaixz.bus.socket.accord.UdpChannel
 

E

eof - Variable in class org.miaixz.bus.socket.Session
是否读通道以至末尾

F

failed(Throwable, A) - Method in class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 
finishWrite() - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
 
FixedLengthBytesMessage<T> - Class in org.miaixz.bus.socket.metric.message
固定长度字节模式
FixedLengthBytesMessage() - Constructor for class org.miaixz.bus.socket.metric.message.FixedLengthBytesMessage
 
FixedLengthFrameDecoder - Class in org.miaixz.bus.socket.metric.decoder
指定长度的解码器
FixedLengthFrameDecoder(int) - Constructor for class org.miaixz.bus.socket.metric.decoder.FixedLengthFrameDecoder
 
flush() - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
 
FutureCompletionHandler<V,A> - Class in org.miaixz.bus.socket.metric.handler
 
FutureCompletionHandler() - Constructor for class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 

G

get() - Method in class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 
get(long, TimeUnit) - Method in class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 
getAppReadBuffer() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getAppWriteBuffer() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getAttachment() - Method in class org.miaixz.bus.socket.Session
获取附件对象
getBacklog() - Method in class org.miaixz.bus.socket.Context
 
getBuffer() - Method in class org.miaixz.bus.socket.metric.decoder.DelimiterFrameDecoder
 
getBuffer() - Method in class org.miaixz.bus.socket.metric.decoder.FixedLengthFrameDecoder
 
getBuffer() - Method in interface org.miaixz.bus.socket.metric.decoder.SocketDecoder
获取本次解析到的完整数据
getCapacity() - Method in class org.miaixz.bus.socket.buffer.VirtualBuffer
 
getChannel() - Method in class org.miaixz.bus.socket.accord.UdpChannel
 
getException() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getHandshakeCallback() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getHost() - Method in class org.miaixz.bus.socket.Context
 
getInputStream() - Method in class org.miaixz.bus.socket.accord.TcpSession
获得数据输入流对象。
getInputStream() - Method in class org.miaixz.bus.socket.Session
获得数据输入流对象 faster模式下调用该方法会触发UnsupportedOperationException异常。
getInputStream(int) - Method in class org.miaixz.bus.socket.accord.TcpSession
获取已知长度的InputStream
getInputStream(int) - Method in class org.miaixz.bus.socket.Session
获取已知长度的InputStream
getLocalAddress() - Method in class org.miaixz.bus.socket.accord.TcpSession
 
getLocalAddress() - Method in class org.miaixz.bus.socket.accord.UdpSession
 
getLocalAddress() - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
getLocalAddress() - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
getLocalAddress() - Method in class org.miaixz.bus.socket.Session
获取当前会话的本地连接地址
getMonitor() - Method in class org.miaixz.bus.socket.Context
 
getNetReadBuffer() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getNetWriteBuffer() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getOption(SocketOption<T>) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
getOption(SocketOption<T>) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
getOption(SocketOption<V>) - Method in class org.miaixz.bus.socket.plugin.SocketOptionPlugin
 
getPort() - Method in class org.miaixz.bus.socket.Context
 
getProcessor() - Method in class org.miaixz.bus.socket.Context
 
getProtocol() - Method in class org.miaixz.bus.socket.Context
 
getReadBufferSize() - Method in class org.miaixz.bus.socket.Context
 
getRemoteAddress() - Method in class org.miaixz.bus.socket.accord.TcpSession
 
getRemoteAddress() - Method in class org.miaixz.bus.socket.accord.UdpSession
 
getRemoteAddress() - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
getRemoteAddress() - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
getRemoteAddress() - Method in class org.miaixz.bus.socket.Session
获取当前会话的远程连接地址
getSession() - Method in class org.miaixz.bus.socket.accord.AioClient
 
getSessionID() - Method in class org.miaixz.bus.socket.Session
获取当前Session的唯一标识
getSocketChannel() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getSocketOptions() - Method in class org.miaixz.bus.socket.Context
 
getSslEngine() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
getThreadNum() - Method in class org.miaixz.bus.socket.Context
 
getWriteBufferCapacity() - Method in class org.miaixz.bus.socket.Context
 
getWriteBufferSize() - Method in class org.miaixz.bus.socket.Context
获取默认内存块大小

H

Handler<T> - Interface in org.miaixz.bus.socket
消息处理
HandshakeCallback - Interface in org.miaixz.bus.socket.secure.ssl
握手回调
HandshakeModel - Class in org.miaixz.bus.socket.secure.ssl
套接字
HandshakeModel() - Constructor for class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
HashedWheelTimer - Class in org.miaixz.bus.socket.metric
哈希计时器
HashedWheelTimer(ThreadFactory) - Constructor for class org.miaixz.bus.socket.metric.HashedWheelTimer
 
HashedWheelTimer(ThreadFactory, long, int) - Constructor for class org.miaixz.bus.socket.metric.HashedWheelTimer
 
HeartPlugin<T> - Class in org.miaixz.bus.socket.plugin
心跳插件
HeartPlugin(int, int, TimeUnit) - Constructor for class org.miaixz.bus.socket.plugin.HeartPlugin
心跳插件
HeartPlugin(int, int, TimeUnit, HeartPlugin.TimeoutCallback) - Constructor for class org.miaixz.bus.socket.plugin.HeartPlugin
心跳插件 心跳插件在断网场景可能会触发TCP Retransmission,导致无法感知到网络实际状态,可通过设置timeout关闭连接
HeartPlugin(int, TimeUnit) - Constructor for class org.miaixz.bus.socket.plugin.HeartPlugin
心跳插件
HeartPlugin.TimeoutCallback - Interface in org.miaixz.bus.socket.plugin
 

I

IdleStatePlugin<T> - Class in org.miaixz.bus.socket.plugin
空闲IO状态监听插件
IdleStatePlugin(int) - Constructor for class org.miaixz.bus.socket.plugin.IdleStatePlugin
 
IdleStatePlugin(int, boolean, boolean) - Constructor for class org.miaixz.bus.socket.plugin.IdleStatePlugin
 
INPUT_EXCEPTION - Enum constant in enum class org.miaixz.bus.socket.Status
读操作异常 在底层服务执行read操作期间因发生异常情况触发了CompletionHandler.failed(Throwable, Object)
INPUT_SHUTDOWN - Enum constant in enum class org.miaixz.bus.socket.Status
读通道已被关闭。
INTERNAL_EXCEPTION - Enum constant in enum class org.miaixz.bus.socket.Status
内部异常
isCancelled() - Method in class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 
isCancelled() - Method in interface org.miaixz.bus.socket.metric.SocketTask
 
isDone() - Method in class org.miaixz.bus.socket.metric.handler.FutureCompletionHandler
 
isDone() - Method in interface org.miaixz.bus.socket.metric.SocketTask
定时任务是否已执行
isEmpty() - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
是否存在待输出的数据
isFinished() - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
isHeartMessage(Session, T) - Method in class org.miaixz.bus.socket.plugin.HeartPlugin
判断当前收到的消息是否为心跳消息。
isInvalid() - Method in class org.miaixz.bus.socket.Session
当前会话是否已失效
isOpen() - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
isOpen() - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 

K

KcpMessage - Class in org.miaixz.bus.socket.accord.kcp
 
KcpMessage() - Constructor for class org.miaixz.bus.socket.accord.kcp.KcpMessage
 
KcpPacket - Class in org.miaixz.bus.socket.accord.kcp
 
KcpPacket() - Constructor for class org.miaixz.bus.socket.accord.kcp.KcpPacket
 

M

Message<T> - Interface in org.miaixz.bus.socket
消息传输采用的模式
modCount - Variable in class org.miaixz.bus.socket.Session
 
Monitor - Interface in org.miaixz.bus.socket
网络监控器,提供通讯层面监控功能的接口
MonitorPlugin<T> - Class in org.miaixz.bus.socket.plugin
服务器运行状态监控插件
MonitorPlugin() - Constructor for class org.miaixz.bus.socket.plugin.MonitorPlugin
 
MonitorPlugin(int) - Constructor for class org.miaixz.bus.socket.plugin.MonitorPlugin
 
MonitorPlugin(int, boolean) - Constructor for class org.miaixz.bus.socket.plugin.MonitorPlugin
 

N

NEW_SESSION - Enum constant in enum class org.miaixz.bus.socket.Status
连接已建立并构建Session对象
newBuffer(BufferPage) - Method in interface org.miaixz.bus.socket.buffer.VirtualBufferFactory
 
NONE - Enum constant in enum class org.miaixz.bus.socket.secure.ssl.ClientAuth
不需要客户端验证

O

open() - Method in class org.miaixz.bus.socket.accord.UdpBootstrap
开启一个UDP通道,端口号随机
open(int) - Method in class org.miaixz.bus.socket.accord.UdpBootstrap
开启一个UDP通道
open(String, int) - Method in class org.miaixz.bus.socket.accord.UdpBootstrap
开启一个UDP通道
openAsynchronousChannelGroup(int, ThreadFactory) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousChannelProvider
 
openAsynchronousChannelGroup(ExecutorService, int) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousChannelProvider
 
openAsynchronousServerSocketChannel(AsynchronousChannelGroup) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousChannelProvider
 
openAsynchronousSocketChannel(AsynchronousChannelGroup) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousChannelProvider
 
OPTIONAL - Enum constant in enum class org.miaixz.bus.socket.secure.ssl.ClientAuth
请求的客户端验证 如果设置了此选项并且客户端选择不提供其自身的验证信息,则协商将会继续
org.miaixz.bus.socket - package org.miaixz.bus.socket
定义用户进行通信开发所需实现的接口
org.miaixz.bus.socket.accord - package org.miaixz.bus.socket.accord
 
org.miaixz.bus.socket.accord.kcp - package org.miaixz.bus.socket.accord.kcp
KCP相关实现
org.miaixz.bus.socket.buffer - package org.miaixz.bus.socket.buffer
内存缓冲实现
org.miaixz.bus.socket.metric - package org.miaixz.bus.socket.metric
转码/消息处理等实现
org.miaixz.bus.socket.metric.channels - package org.miaixz.bus.socket.metric.channels
套接字实现
org.miaixz.bus.socket.metric.decoder - package org.miaixz.bus.socket.metric.decoder
提供通信解码具体实现
org.miaixz.bus.socket.metric.handler - package org.miaixz.bus.socket.metric.handler
消息处理实现
org.miaixz.bus.socket.metric.message - package org.miaixz.bus.socket.metric.message
字符协议等实现
org.miaixz.bus.socket.plugin - package org.miaixz.bus.socket.plugin
插件等实现
org.miaixz.bus.socket.secure.ssl - package org.miaixz.bus.socket.secure.ssl
SSL 安全实现
org.miaixz.bus.socket.secure.ssl.factory - package org.miaixz.bus.socket.secure.ssl.factory
SSL 安全实现
OUTPUT_EXCEPTION - Enum constant in enum class org.miaixz.bus.socket.Status
写操作异常。

P

PemServerSSLContextFactory - Class in org.miaixz.bus.socket.secure.ssl.factory
 
PemServerSSLContextFactory(InputStream) - Constructor for class org.miaixz.bus.socket.secure.ssl.factory.PemServerSSLContextFactory
 
PemServerSSLContextFactory(InputStream, InputStream) - Constructor for class org.miaixz.bus.socket.secure.ssl.factory.PemServerSSLContextFactory
 
pendingTimeouts() - Method in class org.miaixz.bus.socket.metric.HashedWheelTimer
 
Plugin<T> - Interface in org.miaixz.bus.socket
插件
poll() - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
获取并移除当前缓冲队列中头部的VirtualBuffer
process(Session, T) - Method in interface org.miaixz.bus.socket.Handler
处理接收到的消息
process(Session, T) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
process(Session, T) - Method in class org.miaixz.bus.socket.plugin.AbstractPlugin
 
process(Session, T) - Method in class org.miaixz.bus.socket.plugin.HeartPlugin
 
process(Session, T) - Method in class org.miaixz.bus.socket.plugin.MonitorPlugin
 
process(Session, T) - Method in interface org.miaixz.bus.socket.Plugin
对请求消息进行预处理,并决策是否进行后续的Handler处理 若返回false,则当前消息将被忽略。
PROCESS_EXCEPTION - Enum constant in enum class org.miaixz.bus.socket.Status
业务处理异常 执行Handler.process(Session, Object)期间发生未捕获的异常
process0(Session, T) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
处理接收到的消息

R

RateLimiterPlugin<T> - Class in org.miaixz.bus.socket.plugin
网络流量控制插件
RateLimiterPlugin(int, int) - Constructor for class org.miaixz.bus.socket.plugin.RateLimiterPlugin
 
read(ByteBuffer) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
read(ByteBuffer) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
read(ByteBuffer) - Method in class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
read(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
read(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
read(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
read(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
read(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
read(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
READ_MONITOR_SIGNAL - Static variable in class org.miaixz.bus.socket.metric.channels.AsynchronousChannelProvider
读监听信号
READABLE_SIGNAL - Static variable in class org.miaixz.bus.socket.metric.channels.AsynchronousChannelProvider
可读信号
readBuffer() - Method in class org.miaixz.bus.socket.accord.TcpSession
 
readBuffer() - Method in class org.miaixz.bus.socket.accord.UdpSession
 
readBuffer() - Method in class org.miaixz.bus.socket.Session
获取读缓冲区对象
RED_HEX_OUTPUT_STREAM - Static variable in class org.miaixz.bus.socket.plugin.StreamMonitorPlugin
 
RED_TEXT_OUTPUT_STREAM - Static variable in class org.miaixz.bus.socket.plugin.StreamMonitorPlugin
 
REJECT_ACCEPT - Enum constant in enum class org.miaixz.bus.socket.Status
拒绝接受连接,仅Server端有效
release() - Method in class org.miaixz.bus.socket.buffer.BufferPagePool
释放回收内存
removeRule(BlackListPlugin.BlackListRule) - Method in class org.miaixz.bus.socket.plugin.BlackListPlugin
移除黑名单规则
REQUIRE - Enum constant in enum class org.miaixz.bus.socket.secure.ssl.ClientAuth
必须的客户端验证 如果设置了此选项并且客户端选择不提供其自身的验证信息,则协商将会停止且引擎将开始它的关闭过程
reset() - Method in class org.miaixz.bus.socket.metric.decoder.DelimiterFrameDecoder
重置解码器
reset(byte[]) - Method in class org.miaixz.bus.socket.metric.decoder.DelimiterFrameDecoder
重置解码器
run() - Method in class org.miaixz.bus.socket.metric.HashedWheelTimer
 
run() - Method in class org.miaixz.bus.socket.plugin.MonitorPlugin
 
run() - Method in class org.miaixz.bus.socket.Worker
 

S

schedule(Runnable, long, TimeUnit) - Method in class org.miaixz.bus.socket.metric.HashedWheelTimer
 
schedule(Runnable, long, TimeUnit) - Method in interface org.miaixz.bus.socket.metric.SocketTimer
 
scheduleWithFixedDelay(Runnable, long, TimeUnit) - Method in class org.miaixz.bus.socket.metric.HashedWheelTimer
 
scheduleWithFixedDelay(Runnable, long, TimeUnit) - Method in interface org.miaixz.bus.socket.metric.SocketTimer
 
sendHeartRequest(Session) - Method in class org.miaixz.bus.socket.plugin.HeartPlugin
自定义心跳消息并发送
ServerSSLContextFactory - Class in org.miaixz.bus.socket.secure.ssl.factory
 
ServerSSLContextFactory(InputStream, String, String) - Constructor for class org.miaixz.bus.socket.secure.ssl.factory.ServerSSLContextFactory
 
Session - Class in org.miaixz.bus.socket
会话相关实现
Session() - Constructor for class org.miaixz.bus.socket.Session
 
SESSION_CLOSED - Enum constant in enum class org.miaixz.bus.socket.Status
会话关闭成功
SESSION_CLOSING - Enum constant in enum class org.miaixz.bus.socket.Status
会话正在关闭中 执行了Session.close(boolean immediate)方法,并且当前还存在待输出的数据
SESSION_STATUS_CLOSED - Static variable in class org.miaixz.bus.socket.Session
Session状态:已关闭
SESSION_STATUS_CLOSING - Static variable in class org.miaixz.bus.socket.Session
Session状态:关闭中
SESSION_STATUS_ENABLED - Static variable in class org.miaixz.bus.socket.Session
Session状态:正常
setAppReadBuffer(VirtualBuffer) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setAppWriteBuffer(VirtualBuffer) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setAttachment(A) - Method in class org.miaixz.bus.socket.Session
存放附件,支持任意类型
setBacklog(int) - Method in class org.miaixz.bus.socket.accord.AioServer
设置 backlog 大小
setBacklog(int) - Method in class org.miaixz.bus.socket.Context
 
setBufferPagePool(BufferPagePool) - Method in class org.miaixz.bus.socket.accord.AioClient
设置内存池。
setBufferPagePool(BufferPagePool) - Method in class org.miaixz.bus.socket.accord.AioServer
设置读写内存池。
setBufferPagePool(BufferPagePool) - Method in class org.miaixz.bus.socket.accord.UdpBootstrap
设置内存池 通过该方法设置的内存池,在AioServer执行shutdown时不会触发内存池的释放。
setBufferPagePool(BufferPagePool, BufferPagePool) - Method in class org.miaixz.bus.socket.accord.AioClient
 
setBufferPagePool(BufferPagePool, BufferPagePool) - Method in class org.miaixz.bus.socket.accord.AioServer
设置读写内存池。
setException(Throwable) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setFinished(boolean) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setHandshakeCallback(HandshakeCallback) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setHost(String) - Method in class org.miaixz.bus.socket.Context
 
setNetReadBuffer(VirtualBuffer) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setNetWriteBuffer(VirtualBuffer) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setOption(SocketOption<T>, T) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
setOption(SocketOption<T>, T) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
setOption(SocketOption<V>, V) - Method in class org.miaixz.bus.socket.accord.AioClient
设置Socket的TCP参数配置
setOption(SocketOption<V>, V) - Method in class org.miaixz.bus.socket.accord.AioServer
设置Socket的TCP参数配置。
setOption(SocketOption<V>, V) - Method in class org.miaixz.bus.socket.plugin.SocketOptionPlugin
设置Socket的TCP参数配置。
setOption(SocketOption, Object) - Method in class org.miaixz.bus.socket.Context
 
setOption(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.SocketOptionPlugin
往socket channel中设置option值。
setPort(int) - Method in class org.miaixz.bus.socket.Context
 
setProcessor(Handler) - Method in class org.miaixz.bus.socket.Context
 
setProtocol(Message) - Method in class org.miaixz.bus.socket.Context
 
setReadBufferSize(int) - Method in class org.miaixz.bus.socket.accord.AioClient
设置读缓存区大小
setReadBufferSize(int) - Method in class org.miaixz.bus.socket.accord.AioServer
设置读缓存区大小
setReadBufferSize(int) - Method in class org.miaixz.bus.socket.accord.UdpBootstrap
设置读缓存区大小
setReadBufferSize(int) - Method in class org.miaixz.bus.socket.Context
 
setSocketChannel(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setSslEngine(SSLEngine) - Method in class org.miaixz.bus.socket.secure.ssl.HandshakeModel
 
setThreadNum(int) - Method in class org.miaixz.bus.socket.accord.AioServer
设置服务工作线程数,设置数值必须大于等于2
setThreadNum(int) - Method in class org.miaixz.bus.socket.accord.UdpBootstrap
设置线程大小
setThreadNum(int) - Method in class org.miaixz.bus.socket.Context
 
setWriteBuffer(int, int) - Method in class org.miaixz.bus.socket.accord.AioClient
设置输出缓冲区容量
setWriteBuffer(int, int) - Method in class org.miaixz.bus.socket.accord.AioServer
设置输出缓冲区容量
setWriteBufferCapacity(int) - Method in class org.miaixz.bus.socket.Context
 
setWriteBufferSize(int) - Method in class org.miaixz.bus.socket.Context
 
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
shouldAccept(AsynchronousSocketChannel) - Method in interface org.miaixz.bus.socket.Monitor
监控已接收到的连接
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.AbstractPlugin
 
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.BlackListPlugin
 
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.IdleStatePlugin
 
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.RateLimiterPlugin
 
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.SocketOptionPlugin
 
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.SslPlugin
 
shouldAccept(AsynchronousSocketChannel) - Method in class org.miaixz.bus.socket.plugin.StreamMonitorPlugin
 
shutdown() - Method in class org.miaixz.bus.socket.accord.AioClient
停止客户端服务.
shutdown() - Method in class org.miaixz.bus.socket.accord.AioServer
停止服务端
shutdown() - Method in class org.miaixz.bus.socket.accord.UdpBootstrap
 
shutdown() - Method in class org.miaixz.bus.socket.metric.HashedWheelTimer
 
shutdown() - Method in interface org.miaixz.bus.socket.metric.SocketTimer
 
shutdown() - Method in class org.miaixz.bus.socket.Worker
停止服务
shutdownInput() - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
shutdownInput() - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
shutdownNow() - Method in class org.miaixz.bus.socket.accord.AioClient
立即关闭客户端
shutdownOutput() - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
shutdownOutput() - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
signalRead() - Method in class org.miaixz.bus.socket.accord.TcpSession
触发通道的读回调操作
signalRead() - Method in class org.miaixz.bus.socket.accord.UdpSession
 
signalRead() - Method in class org.miaixz.bus.socket.Session
继续触发读行为,该方法仅可在异步处理模式下可使用,否则会触发不可预知的异常
SocketDecoder - Interface in org.miaixz.bus.socket.metric.decoder
 
SocketOptionPlugin<T> - Class in org.miaixz.bus.socket.plugin
用于设置Socket Option的插件
SocketOptionPlugin() - Constructor for class org.miaixz.bus.socket.plugin.SocketOptionPlugin
 
SocketTask - Interface in org.miaixz.bus.socket.metric
计时器任务
SocketTimer - Interface in org.miaixz.bus.socket.metric
计时器
SslAsynchronousSocketChannel - Class in org.miaixz.bus.socket.secure.ssl
握手相关实现
SslAsynchronousSocketChannel(AsynchronousSocketChannel, SslService, BufferPage) - Constructor for class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
SSLContextFactory - Interface in org.miaixz.bus.socket.secure.ssl.factory
 
SslPlugin<T> - Class in org.miaixz.bus.socket.plugin
SSL/TLS通信插件
SslPlugin(ClientSSLContextFactory) - Constructor for class org.miaixz.bus.socket.plugin.SslPlugin
 
SslPlugin(ClientSSLContextFactory, BufferPagePool) - Constructor for class org.miaixz.bus.socket.plugin.SslPlugin
 
SslPlugin(ServerSSLContextFactory, ClientAuth) - Constructor for class org.miaixz.bus.socket.plugin.SslPlugin
 
SslPlugin(ServerSSLContextFactory, ClientAuth, BufferPagePool) - Constructor for class org.miaixz.bus.socket.plugin.SslPlugin
 
SslPlugin(SSLContextFactory) - Constructor for class org.miaixz.bus.socket.plugin.SslPlugin
 
SslPlugin(SSLContextFactory, Consumer<SSLEngine>) - Constructor for class org.miaixz.bus.socket.plugin.SslPlugin
 
SslPlugin(SSLContextFactory, Consumer<SSLEngine>, BufferPagePool) - Constructor for class org.miaixz.bus.socket.plugin.SslPlugin
 
SslService - Class in org.miaixz.bus.socket.secure.ssl
TLS/SSL服务 keytool -genkey -validity 36000 -alias www.miaixz.org -keyalg RSA -keystore server.keystore
SslService(SSLContext, Consumer<SSLEngine>) - Constructor for class org.miaixz.bus.socket.secure.ssl.SslService
 
start() - Method in class org.miaixz.bus.socket.accord.AioClient
启动客户端。
start() - Method in class org.miaixz.bus.socket.accord.AioServer
启动Server端的AIO服务
start(A, CompletionHandler<Session, ? super A>) - Method in class org.miaixz.bus.socket.accord.AioClient
采用异步的方式启动客户端
start(AsynchronousChannelGroup) - Method in class org.miaixz.bus.socket.accord.AioClient
启动客户端。
start(AsynchronousChannelGroup) - Method in class org.miaixz.bus.socket.accord.AioServer
内部启动逻辑
start(AsynchronousChannelGroup, A, CompletionHandler<Session, ? super A>) - Method in class org.miaixz.bus.socket.accord.AioClient
采用异步的方式启动客户端
stateEvent(Session, Status, Throwable) - Method in interface org.miaixz.bus.socket.Handler
状态机事件,当枚举事件发生时由框架触发该方法
stateEvent(Session, Status, Throwable) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
stateEvent(Status, Session, Throwable) - Method in class org.miaixz.bus.socket.plugin.AbstractPlugin
 
stateEvent(Status, Session, Throwable) - Method in class org.miaixz.bus.socket.plugin.HeartPlugin
 
stateEvent(Status, Session, Throwable) - Method in class org.miaixz.bus.socket.plugin.MonitorPlugin
 
stateEvent(Status, Session, Throwable) - Method in interface org.miaixz.bus.socket.Plugin
监听状态机事件
stateEvent0(Session, Status, Throwable) - Method in class org.miaixz.bus.socket.metric.handler.AbstractMessageHandler
 
status - Variable in class org.miaixz.bus.socket.Session
会话当前状态
Status - Enum Class in org.miaixz.bus.socket
列举了当前所关注的各类状态枚举
StreamMonitorPlugin<T> - Class in org.miaixz.bus.socket.plugin
传输层码流监控插件
StreamMonitorPlugin() - Constructor for class org.miaixz.bus.socket.plugin.StreamMonitorPlugin
 
StreamMonitorPlugin(BiConsumer<AsynchronousSocketChannel, byte[]>, BiConsumer<AsynchronousSocketChannel, byte[]>) - Constructor for class org.miaixz.bus.socket.plugin.StreamMonitorPlugin
 
StringMessage - Class in org.miaixz.bus.socket.metric.message
字符模式
StringMessage() - Constructor for class org.miaixz.bus.socket.metric.message.StringMessage
 
StringMessage(Charset) - Constructor for class org.miaixz.bus.socket.metric.message.StringMessage
 
supportedOptions() - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
supportedOptions() - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 

T

TcpSession - Class in org.miaixz.bus.socket.accord
AIO传输层会话
TcpSession(AsynchronousSocketChannel, Context, BufferPage, Supplier<VirtualBuffer>) - Constructor for class org.miaixz.bus.socket.accord.TcpSession
 
toHex(byte) - Static method in class org.miaixz.bus.socket.plugin.AbstractPlugin
将字节转换成16进制显示
toHexString(byte[]) - Static method in class org.miaixz.bus.socket.plugin.AbstractPlugin
以16进制 打印字节数组
toString() - Method in class org.miaixz.bus.socket.buffer.BufferPage
 
toString() - Method in class org.miaixz.bus.socket.buffer.VirtualBuffer
 
toString() - Method in class org.miaixz.bus.socket.Context
 
transferFrom(ByteBuffer, Consumer<WriteBuffer>) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
 

U

UdpBootstrap - Class in org.miaixz.bus.socket.accord
UDP服务启动类
UdpBootstrap(Message<Request>, Handler<Request>) - Constructor for class org.miaixz.bus.socket.accord.UdpBootstrap
构造
UdpBootstrap(Message<Request>, Handler<Request>, Worker) - Constructor for class org.miaixz.bus.socket.accord.UdpBootstrap
构造
UdpChannel - Class in org.miaixz.bus.socket.accord
封装UDP底层真实渠道对象,并提供通信及会话管理
UdpSession - Class in org.miaixz.bus.socket.accord
 
UdpSession(UdpChannel, SocketAddress, BufferPage) - Constructor for class org.miaixz.bus.socket.accord.UdpSession
 
UnsupportedAsynchronousSocketChannel - Class in org.miaixz.bus.socket.metric.channels
非异步套接字通道
UnsupportedAsynchronousSocketChannel(AsynchronousSocketChannel) - Constructor for class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 

V

valueOf(String) - Static method in enum class org.miaixz.bus.socket.secure.ssl.ClientAuth
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.miaixz.bus.socket.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.miaixz.bus.socket.secure.ssl.ClientAuth
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.miaixz.bus.socket.Status
Returns an array containing the constants of this enum class, in the order they are declared.
VirtualBuffer - Class in org.miaixz.bus.socket.buffer
虚拟ByteBuffer缓冲区
VirtualBufferFactory - Interface in org.miaixz.bus.socket.buffer
虚拟缓冲工厂

W

Worker - Class in org.miaixz.bus.socket
Worker相关实现
Worker(BufferPagePool, int) - Constructor for class org.miaixz.bus.socket.Worker
 
Worker(BufferPage, BufferPagePool, int) - Constructor for class org.miaixz.bus.socket.Worker
 
wrap(ByteBuffer) - Static method in class org.miaixz.bus.socket.buffer.VirtualBuffer
 
write(byte[], int, int) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
 
write(byte[], int, int, Consumer<WriteBuffer>) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
执行异步输出操作 此方法会将指定的字节流异步写入,并在完成时通知提供的消费者。
write(byte[], Consumer<WriteBuffer>) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
 
write(int) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
按照OutputStream.write(int)规范:要写入的字节是参数 b 的八个低位。
write(ByteBuffer) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
write(ByteBuffer) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
write(ByteBuffer) - Method in class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
write(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
write(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
write(ByteBuffer[], int, int, long, TimeUnit, A, CompletionHandler<Long, ? super A>) - Method in class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
write(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.AsynchronousSocketChannelProxy
 
write(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class org.miaixz.bus.socket.metric.channels.UnsupportedAsynchronousSocketChannel
 
write(ByteBuffer, long, TimeUnit, A, CompletionHandler<Integer, ? super A>) - Method in class org.miaixz.bus.socket.secure.ssl.SslAsynchronousSocketChannel
 
writeBuffer() - Method in class org.miaixz.bus.socket.accord.TcpSession
 
writeBuffer() - Method in class org.miaixz.bus.socket.accord.UdpSession
 
writeBuffer() - Method in class org.miaixz.bus.socket.Session
获取WriteBuffer用以数据输出
WriteBuffer - Class in org.miaixz.bus.socket.buffer
包装当前会话分配到的虚拟Buffer,提供流式操作方式
WriteBuffer(BufferPage, Consumer<VirtualBuffer>, int, int) - Constructor for class org.miaixz.bus.socket.buffer.WriteBuffer
 
writeByte(byte) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
 
writeInt(int) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
输出int数值,占用4个字节
writeLong(long) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
输出long数值,占用8个字节
writeShort(short) - Method in class org.miaixz.bus.socket.buffer.WriteBuffer
输出一个short类型的数据
A B C D E F G H I K M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values