Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

AbsClusterMessage - Class in org.tio.server.cluster.message
集群消息类型
AbsClusterMessage() - Constructor for class org.tio.server.cluster.message.AbsClusterMessage
 
AcceptCompletionHandler - Class in org.tio.server
 
AcceptCompletionHandler() - Constructor for class org.tio.server.AcceptCompletionHandler
 
accepted - Variable in class org.tio.server.ServerGroupStat
接受了多少连接
addJoinMember(Node) - Method in class org.tio.server.cluster.core.ClusterImpl
后加入进来的节点
addMsg(Packet) - Method in class org.tio.core.task.SendRunnable
 
addSeedMember(String, int) - Method in class org.tio.server.cluster.core.ClusterConfig
 
addSeedMember(Node) - Method in class org.tio.server.cluster.core.ClusterConfig
 
addSeedMembers(List<Node>) - Method in class org.tio.server.cluster.core.ClusterConfig
 
ALL_CLIENT_GROUP_CONTEXTS - Static variable in class org.tio.core.TioConfig
本jvm中所有的TioClientConfig对象
ALL_GROUP_CONTEXTS - Static variable in class org.tio.core.TioConfig
本jvm中所有的TioConfig对象
ALL_SERVER_GROUP_CONTEXTS - Static variable in class org.tio.core.TioConfig
本jvm中所有的TioServerConfig对象
apply(ChannelContext, ByteBuffer, int) - Method in interface org.tio.server.intf.DecoderFunction
解码函数
assignAnUnknownClientNode() - Method in class org.tio.core.ChannelContext
 
asyncConnect(Node) - Method in class org.tio.client.TioClient
asyncConnect
asyncConnect(Node, Integer) - Method in class org.tio.client.TioClient
asyncConnect
asyncConnect(Node, String, Integer, Integer) - Method in class org.tio.client.TioClient
asyncConnect
asynchronousSocketChannel - Variable in class org.tio.core.ChannelContext
The asynchronous socket channel.

B

beginHandshake() - Method in interface org.tio.core.ssl.facade.ISSLFacade
开始握手
beginHandshake() - Method in class org.tio.core.ssl.facade.SSLFacade
 
beginHandshake() - Method in class org.tio.core.ssl.SslFacadeContext
beginHandshake
bind(ChannelContext, String) - Method in class org.tio.core.maintain.BsIds
 
bind(String, ChannelContext) - Method in class org.tio.core.maintain.Groups
和组绑定
bind(String, ChannelContext, boolean) - Method in class org.tio.core.maintain.Groups
和组绑定
bind(ChannelContext) - Method in class org.tio.core.maintain.Ids
 
bind(String, ChannelContext) - Method in class org.tio.core.maintain.Tokens
绑定token.
bind(String, ChannelContext) - Method in class org.tio.core.maintain.Users
绑定userid.
bindBsId(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定业务id
bindGroup(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定群组
bindGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
将用户绑定到群组
bindToken(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定token
bindUser(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定用户
broadcast(byte[]) - Method in interface org.tio.server.cluster.core.ClusterApi
在集群中广播消息
broadcast(byte[]) - Method in class org.tio.server.cluster.core.ClusterImpl
 
bSend(Packet) - Method in class org.tio.core.ChannelContext
发送消息
bSend(ChannelContext, Packet) - Static method in class org.tio.core.Tio
阻塞发送消息到指定ChannelContext
bSend(TioConfig, String, int, Packet) - Static method in class org.tio.core.Tio
发送到指定的ip和port
bSendToAll(TioConfig, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到所有连接
bSendToBsId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
阻塞发消息给指定业务ID
bSendToGroup(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息到组
bSendToGroup(TioConfig, String, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到组
bSendToId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定ChannelContext id
bSendToSet(TioConfig, Set<ChannelContext>, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到指定集合
bSendToToken(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
阻塞发消息到指定token
bSendToUser(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
阻塞发消息给指定用户
BsIds - Class in org.tio.core.maintain
一对一 (bsid <--> ChannelContext)
Bs: business,业务id和ChannelContext绑定
需求见:https://gitee.com/tywo45/t-io/issues/IK30Q
BsIds() - Constructor for class org.tio.core.maintain.BsIds
 
bsIds - Variable in class org.tio.core.TioConfig
 

C

canSend - Variable in class org.tio.core.task.SendRunnable
 
ChannelContext - Class in org.tio.core
 
ChannelContext(TioConfig, AsynchronousSocketChannel) - Constructor for class org.tio.core.ChannelContext
ChannelContext
ChannelContext(TioConfig) - Constructor for class org.tio.core.ChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,譬如压力测试,真实场景中用得少
ChannelContext(TioConfig, String) - Constructor for class org.tio.core.ChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,譬如压力测试,真实场景中用得少
ChannelContext.CloseCode - Enum in org.tio.core
连接关闭码
ChannelContext.CloseMeta - Class in org.tio.core
 
ChannelContextFilter - Interface in org.tio.core
 
ChannelStat - Class in org.tio.core.stat
 
ChannelStat() - Constructor for class org.tio.core.stat.ChannelStat
 
checkBeforeIO(ChannelContext) - Static method in class org.tio.core.utils.TioUtils
 
clearMsgQueue() - Method in class org.tio.core.task.DecodeRunnable
清空处理的队列消息
clearMsgQueue() - Method in class org.tio.core.task.SendRunnable
清空消息队列
ClientAuth - Enum in org.tio.core.ssl
配置引擎请求客户端验证。
ClientChannelContext - Class in org.tio.client
 
ClientChannelContext(TioConfig, AsynchronousSocketChannel) - Constructor for class org.tio.client.ClientChannelContext
 
ClientChannelContext(TioConfig) - Constructor for class org.tio.client.ClientChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,真实场景中用得少
ClientGroupStat - Class in org.tio.client
 
ClientGroupStat() - Constructor for class org.tio.client.ClientGroupStat
 
ClientHeartbeatTask - Class in org.tio.client.task
客户端心跳任务
ClientHeartbeatTask(Timer, TioClientConfig) - Constructor for class org.tio.client.task.ClientHeartbeatTask
 
ClientNodes - Class in org.tio.core.maintain
一对一 (client Node <--> ChannelContext)
ClientNodes() - Constructor for class org.tio.core.maintain.ClientNodes
 
clientNodes - Variable in class org.tio.core.TioConfig
 
ClientReConnTask - Class in org.tio.client.task
客户端重连任务
ClientReConnTask(ClientChannelContext, ReconnConf) - Constructor for class org.tio.client.task.ClientReConnTask
 
clients(TioConfig, String) - Method in class org.tio.core.maintain.Groups
一个组有哪些客户端
close(ChannelContext) - Static method in class org.tio.core.maintain.MaintainUtils
 
close() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
close() - Method in class org.tio.core.ssl.facade.SSLFacade
 
close(ChannelContext, String) - Static method in class org.tio.core.Tio
关闭连接
close(ChannelContext, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String) - Static method in class org.tio.core.Tio
关闭连接
close(ChannelContext, Throwable, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean, boolean) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean, boolean, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(TioConfig, String, Integer, Throwable, String) - Static method in class org.tio.core.Tio
关闭连接
closed - Variable in class org.tio.core.stat.GroupStat
关闭了多少连接
closeds - Variable in class org.tio.client.TioClientConfig
 
closeGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭某群所有连接
closeGroup(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某群所有连接
closeLock - Variable in class org.tio.core.ChannelContext
 
closeMeta - Variable in class org.tio.core.ChannelContext
 
CloseMeta() - Constructor for class org.tio.core.ChannelContext.CloseMeta
 
CloseRunnable - Class in org.tio.core.task
 
CloseRunnable(Executor) - Constructor for class org.tio.core.task.CloseRunnable
 
closeRunnable - Variable in class org.tio.core.TioConfig
 
closeSet(Set<ChannelContext>, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭集合
closeToken(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭token的所有连接
closeToken(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某token的所有连接
closeUser(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭用户的所有连接
closeUser(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某用户的所有连接
ClusterApi - Interface in org.tio.server.cluster.core
集群接口
ClusterConfig - Class in org.tio.server.cluster.core
集群配置
ClusterConfig(String, int, ClusterMessageListener) - Constructor for class org.tio.server.cluster.core.ClusterConfig
 
ClusterDataMessage - Class in org.tio.server.cluster.message
集群 data 消息
ClusterDataMessage(byte[]) - Constructor for class org.tio.server.cluster.message.ClusterDataMessage
 
ClusterFailedMessage - Class in org.tio.server.cluster.message
检测到失败的消息
ClusterFailedMessage(String) - Constructor for class org.tio.server.cluster.message.ClusterFailedMessage
 
ClusterImpl - Class in org.tio.server.cluster.core
集群实现
ClusterImpl(ClusterConfig) - Constructor for class org.tio.server.cluster.core.ClusterImpl
 
ClusterJoinMessage - Class in org.tio.server.cluster.message
节点加入集群
ClusterJoinMessage(Node) - Constructor for class org.tio.server.cluster.message.ClusterJoinMessage
 
ClusterMessageDecoder - Class in org.tio.server.cluster.codec
集群消息解码
ClusterMessageDecoder() - Constructor for class org.tio.server.cluster.codec.ClusterMessageDecoder
 
ClusterMessageEncoder - Class in org.tio.server.cluster.codec
集群消息编码
ClusterMessageListener - Interface in org.tio.server.cluster.core
集群消息监听器
ClusterMessageType - Enum in org.tio.server.cluster.message
集群消息类型
ClusterPingMessage - Class in org.tio.server.cluster.message
集群 ping 消息
ClusterPingMessage() - Constructor for class org.tio.server.cluster.message.ClusterPingMessage
 
ClusterPongMessage - Class in org.tio.server.cluster.message
集群 pong 消息
ClusterPongMessage() - Constructor for class org.tio.server.cluster.message.ClusterPongMessage
 
ClusterReconnectMessage - Class in org.tio.server.cluster.message
重连消息
ClusterReconnectMessage(String) - Constructor for class org.tio.server.cluster.message.ClusterReconnectMessage
 
ClusterSyncAckMessage - Class in org.tio.server.cluster.message
同步消息回复
ClusterSyncAckMessage(long) - Constructor for class org.tio.server.cluster.message.ClusterSyncAckMessage
 
ClusterSyncMessage - Class in org.tio.server.cluster.message
同步消息
ClusterSyncMessage(long, byte[]) - Constructor for class org.tio.server.cluster.message.ClusterSyncMessage
 
ClusterTcpClientHandler - Class in org.tio.server.cluster.core
集群客户端处理器
ClusterTcpClientHandler(ClusterMessageDecoder, ConcurrentMap<Long, CompletableFuture<ClusterSyncAckMessage>>) - Constructor for class org.tio.server.cluster.core.ClusterTcpClientHandler
 
ClusterTcpClientListener - Class in org.tio.server.cluster.core
集群客户端监听器
ClusterTcpClientListener(ClusterApi) - Constructor for class org.tio.server.cluster.core.ClusterTcpClientListener
 
ClusterTcpServerHandler - Class in org.tio.server.cluster.core
tcp 集群处理器
ClusterTcpServerHandler(ClusterImpl, ClusterMessageDecoder, ClusterMessageListener) - Constructor for class org.tio.server.cluster.core.ClusterTcpServerHandler
 
ClusterTcpServerListener - Class in org.tio.server.cluster.core
集群服务监听器
ClusterTcpServerListener() - Constructor for class org.tio.server.cluster.core.ClusterTcpServerListener
 
compareTo(Node) - Method in class org.tio.core.Node
 
completed(Void, ConnectionCompletionVo) - Method in class org.tio.client.ConnectionCompletionHandler
 
completed(Integer, ByteBuffer) - Method in class org.tio.core.ReadCompletionHandler
 
completed(Integer, WriteCompletionHandler.WriteCompletionVo) - Method in class org.tio.core.WriteCompletionHandler
 
completed(AsynchronousSocketChannel, TioServer) - Method in class org.tio.server.AcceptCompletionHandler
 
condition - Variable in class org.tio.core.WriteCompletionHandler
 
connect(Node) - Method in class org.tio.client.TioClient
connect
connect(Node, Integer) - Method in class org.tio.client.TioClient
connect
connect(Node, String, Integer, ClientChannelContext, Integer) - Method in class org.tio.client.TioClient
connect
connect(Node, String, Integer, Integer) - Method in class org.tio.client.TioClient
 
connecteds - Variable in class org.tio.client.TioClientConfig
 
ConnectionCompletionHandler - Class in org.tio.client
 
ConnectionCompletionHandler() - Constructor for class org.tio.client.ConnectionCompletionHandler
 
ConnectionCompletionVo - Class in org.tio.client
 
ConnectionCompletionVo() - Constructor for class org.tio.client.ConnectionCompletionVo
 
ConnectionCompletionVo(ClientChannelContext, TioClient, boolean, AsynchronousSocketChannel, Node, String, Integer) - Constructor for class org.tio.client.ConnectionCompletionVo
 
connections - Variable in class org.tio.core.TioConfig
 
ConnectStatVo - Class in org.tio.core.stat.vo
连接统计
ConnectStatVo() - Constructor for class org.tio.core.stat.vo.ConnectStatVo
 
convert(Packet, ChannelContext) - Method in interface org.tio.core.PacketConverter
 
createClientNode(AsynchronousSocketChannel) - Method in class org.tio.client.ClientChannelContext
 
createClientNode(AsynchronousSocketChannel) - Method in class org.tio.core.ChannelContext
创建Node
createClientNode(AsynchronousSocketChannel) - Method in class org.tio.server.ServerChannelContext
 
createUnknownNode() - Static method in class org.tio.core.ChannelContext
 
customize(SSLEngine) - Method in interface org.tio.core.ssl.SSLEngineCustomizer
SSLEngine 自定义扩展

D

debug - Variable in class org.tio.core.TioConfig
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in interface org.tio.core.intf.TioHandler
根据ByteBuffer解码成业务需要的Packet对象.
decode() - Method in class org.tio.core.task.DecodeRunnable
2017年3月21日 下午4:26:39
decode(ChannelContext, ByteBuffer, int) - Method in class org.tio.server.cluster.codec.ClusterMessageDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.server.cluster.core.ClusterTcpClientHandler
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.server.cluster.core.ClusterTcpServerHandler
 
decode(ChannelContext, ByteBuffer, int, DecoderFunction) - Static method in class org.tio.server.proxy.ProxyProtocolDecoder
解码 proxy protocol
decodeFailCount - Variable in class org.tio.core.stat.ChannelStat
本次解码失败的次数
decodeForTest(ByteBuffer, int) - Static method in class org.tio.server.proxy.ProxyProtocolDecoder
解码 proxy protocol
decodeIfEnable(ChannelContext, ByteBuffer, int, DecoderFunction) - Static method in class org.tio.server.proxy.ProxyProtocolDecoder
解码,如果开启了 proxy protocol
decodeMessage(ByteBuffer, int) - Static method in class org.tio.server.proxy.ProxyProtocolDecoder
解码 proxy protocol
DecoderFunction - Interface in org.tio.server.intf
decode 函数
decodeRunnable - Variable in class org.tio.core.ChannelContext
 
DecodeRunnable - Class in org.tio.core.task
解码任务对象,一个连接对应一个本对象
DecodeRunnable(ChannelContext, Executor) - Constructor for class org.tio.core.task.DecodeRunnable
 
decrypt(ByteBuffer) - Method in interface org.tio.core.ssl.facade.ISSLFacade
解密
decrypt(ByteBuffer) - Method in class org.tio.core.ssl.facade.SSLFacade
 
DEFAULT_HEARTBEAT_TIMEOUT - Static variable in class org.tio.core.TioConfig
默认的超时时间,60 * 2 * 1000
DefaultTaskHandler - Class in org.tio.core.ssl.facade
 
DefaultTaskHandler() - Constructor for class org.tio.core.ssl.facade.DefaultTaskHandler
 
DefaultTioClientListener - Class in org.tio.client
 
DefaultTioClientListener() - Constructor for class org.tio.client.DefaultTioClientListener
 
DefaultTioServerListener - Class in org.tio.server
 
DefaultTioServerListener() - Constructor for class org.tio.server.DefaultTioServerListener
 
DefaultTioUuid - Class in org.tio.core.uuid
 
DefaultTioUuid() - Constructor for class org.tio.core.uuid.DefaultTioUuid
 
done() - Method in interface org.tio.core.ssl.facade.ITasks
 

E

enableProxyProtocol(ChannelContext) - Static method in class org.tio.server.proxy.ProxyProtocolDecoder
开始 proxy protocol
enableProxyProtocol() - Method in class org.tio.server.TioServerConfig
 
enableProxyProtocol(boolean) - Method in class org.tio.server.TioServerConfig
 
encode(Packet, TioConfig, ChannelContext) - Method in interface org.tio.core.intf.TioHandler
编码
encode(AbsClusterMessage) - Method in class org.tio.server.cluster.codec.ClusterMessageEncoder
This is the main encoding method.
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.server.cluster.core.ClusterTcpClientHandler
 
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.server.cluster.core.ClusterTcpServerHandler
 
EncodedPacket - Class in org.tio.core.intf
 
EncodedPacket(byte[]) - Constructor for class org.tio.core.intf.EncodedPacket
 
encrypt(SslVo) - Method in interface org.tio.core.ssl.facade.ISSLFacade
加密
encrypt(SslVo) - Method in class org.tio.core.ssl.facade.SSLFacade
 
equals(Object) - Method in class org.tio.client.TioClientConfig
 
equals(Object) - Method in class org.tio.core.ChannelContext
 
equals(Object) - Method in class org.tio.core.Node
 
equals(Object) - Method in class org.tio.core.TioConfig
 
equals(Object) - Method in class org.tio.server.TioServerConfig
 

F

failed(Throwable, ConnectionCompletionVo) - Method in class org.tio.client.ConnectionCompletionHandler
 
failed(Throwable, ByteBuffer) - Method in class org.tio.core.ReadCompletionHandler
 
failed(Throwable, WriteCompletionHandler.WriteCompletionVo) - Method in class org.tio.core.WriteCompletionHandler
 
failed(Throwable, TioServer) - Method in class org.tio.server.AcceptCompletionHandler
 
filter(ChannelContext) - Method in interface org.tio.core.ChannelContextFilter
过滤ChannelContext
find(TioConfig, String) - Method in class org.tio.core.maintain.BsIds
 
find(String, int) - Method in class org.tio.core.maintain.ClientNodes
 
find(Node) - Method in class org.tio.core.maintain.ClientNodes
 
find(TioConfig, String) - Method in class org.tio.core.maintain.Ids
Find.
find(TioConfig, String) - Method in class org.tio.core.maintain.Tokens
Find.
find(TioConfig, String) - Method in class org.tio.core.maintain.Users
Find.
forClient() - Static method in class org.tio.core.ssl.SslConfig
给客户端用的
forClient(String) - Static method in class org.tio.core.ssl.SslConfig
给客户端用的,crt 证书
forClient(String, String) - Static method in class org.tio.core.ssl.SslConfig
给客户端用的
forClient(String, String, String, String) - Static method in class org.tio.core.ssl.SslConfig
给客户端用的
forClient(InputStream) - Static method in class org.tio.core.ssl.SslConfig
给客户端用的,crt 证书
forClient(InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
给客户端用的
forClient(InputStream, String, InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
给客户端用的
forClient(SslCertType, InputStream, String, InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
给客户端用的
forNumber(byte) - Static method in enum org.tio.core.PacketSendMode
 
forServer(String, String) - Static method in class org.tio.core.ssl.SslConfig
 
forServer(String, String, ClientAuth) - Static method in class org.tio.core.ssl.SslConfig
 
forServer(String, String, String, String, ClientAuth) - Static method in class org.tio.core.ssl.SslConfig
 
forServer(InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
给服务器用的
forServer(SslCertType, InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
给服务器用的
forServer(InputStream, String, ClientAuth) - Static method in class org.tio.core.ssl.SslConfig
给服务器用的
forServer(SslCertType, InputStream, String, ClientAuth) - Static method in class org.tio.core.ssl.SslConfig
给服务器用的
forServer(InputStream, String, InputStream, String, ClientAuth) - Static method in class org.tio.core.ssl.SslConfig
给服务器用的
forServer(SslCertType, InputStream, String, InputStream, String, ClientAuth) - Static method in class org.tio.core.ssl.SslConfig
给服务器用的
from(byte) - Static method in enum org.tio.core.ChannelContext.CloseCode
 
from(int) - Static method in enum org.tio.core.PacketHandlerMode
 
from(String) - Static method in enum org.tio.core.ssl.SslCertType
根据文件名判断证书类型
from(byte) - Static method in enum org.tio.server.cluster.message.ClusterMessageType
Value of byte.

G

getAcceptCompletionHandler() - Method in class org.tio.server.TioServerConfig
 
getAccepted() - Method in class org.tio.core.stat.vo.ConnectStatVo
 
getAll(TioConfig) - Static method in class org.tio.core.Tio
获取所有连接,包括当前处于断开状态的
getAsynchronousSocketChannel() - Method in class org.tio.client.ConnectionCompletionVo
 
getBacklog() - Method in class org.tio.server.TioServerConfig
 
getBindIp() - Method in class org.tio.client.ClientChannelContext
 
getBindIp() - Method in class org.tio.client.ConnectionCompletionVo
 
getBindPort() - Method in class org.tio.client.ClientChannelContext
 
getBindPort() - Method in class org.tio.client.ConnectionCompletionVo
 
getBsId() - Method in class org.tio.core.ChannelContext
 
getByBsId(TioConfig, String) - Static method in class org.tio.core.Tio
根据业务id找ChannelContext
getByChannelContextId(TioConfig, String) - Static method in class org.tio.core.Tio
根据ChannelContext.id获取ChannelContext
getByClientNode(TioConfig, Node) - Static method in class org.tio.core.Tio
根据clientip和clientport获取ChannelContext
getByClientNode(TioConfig, String, Integer) - Static method in class org.tio.core.Tio
根据clientip和clientport获取ChannelContext
getByGroup(TioConfig, String) - Static method in class org.tio.core.Tio
获取一个组的所有客户端
getByteBuffer() - Method in class org.tio.core.ssl.SslVo
 
getByteCount() - Method in class org.tio.core.intf.Packet
 
getByteOrder() - Method in class org.tio.core.TioConfig
 
getBytes() - Method in class org.tio.core.intf.EncodedPacket
 
getBytesPerTcpReceive() - Method in class org.tio.core.stat.ChannelStat
平均每次TCP接收到的字节数,这个可以用来监控慢攻击,配置PacketsPerTcpReceive定位慢攻击
getBytesPerTcpReceive() - Method in class org.tio.core.stat.GroupStat
平均每次TCP接收到的字节数,这个可以用来监控慢攻击,配置PacketsPerTcpReceive定位慢攻击
getBytesPerTcpReceive() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getByToken(TioConfig, String) - Static method in class org.tio.core.Tio
根据token获取SetWithLock
getByUserid(TioConfig, String) - Static method in class org.tio.core.Tio
根据userid获取SetWithLock
getChannelContext() - Method in class org.tio.client.ConnectionCompletionVo
 
getChannelContext() - Method in class org.tio.core.ssl.SslFacadeContext
 
getChannelContextComparator() - Method in class org.tio.core.maintain.Groups
 
getChannelGroup() - Method in class org.tio.client.TioClient
 
getCharset() - Method in class org.tio.core.udp.UdpConf
 
getClientAuth() - Method in class org.tio.core.ssl.SslConfig
 
getClientConfig() - Method in class org.tio.client.TioClient
 
getClientNode() - Method in class org.tio.core.ChannelContext
 
getClientNodes() - Method in class org.tio.core.stat.vo.NodeStatVo
 
getCloseCode() - Method in class org.tio.core.ChannelContext
 
getClosed() - Method in class org.tio.core.stat.GroupStat
 
getClosed() - Method in class org.tio.core.stat.vo.ConnectStatVo
 
getConnecteds(TioClientConfig) - Static method in class org.tio.core.Tio
此API仅供 tio client使用 获取所有处于正常连接状态的连接
getConnectionCompletionHandler() - Method in class org.tio.client.TioClientConfig
 
getConnections() - Method in class org.tio.core.stat.vo.NodeStatVo
 
getConnections() - Method in class org.tio.core.stat.vo.StatVo
 
getCountDownLatch() - Method in class org.tio.client.ConnectionCompletionVo
 
getCountDownLatch() - Method in class org.tio.core.intf.Packet.Meta
 
getData() - Method in class org.tio.core.udp.UdpPacket
 
getDecodeFailCount() - Method in class org.tio.core.stat.ChannelStat
 
getDecodeQueueSize() - Method in class org.tio.core.ChannelContext
获取解码队列目前消息数
getDestinationAddress() - Method in class org.tio.server.proxy.ProxyProtocolMessage
 
getDestinationPort() - Method in class org.tio.server.proxy.ProxyProtocolMessage
 
getFailedMemberId() - Method in class org.tio.server.cluster.message.ClusterFailedMessage
 
getFileExtensions() - Method in enum org.tio.core.ssl.SslCertType
 
getForSendAfterSslHandshakeCompleted(boolean) - Method in class org.tio.core.task.SendRunnable
 
getGroupListener() - Method in class org.tio.core.TioConfig
 
getGroups() - Method in class org.tio.core.ChannelContext
 
getGroupStat() - Method in class org.tio.core.TioConfig
 
getHandledBytes() - Method in class org.tio.core.stat.ChannelStat
 
getHandledBytes() - Method in class org.tio.core.stat.GroupStat
 
getHandledBytes() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getHandledCostsPerPacket() - Method in class org.tio.core.stat.ChannelStat
处理packet平均耗时,单位:毫秒
getHandledCostsPerPacket() - Method in class org.tio.core.stat.GroupStat
处理packet平均耗时,单位:毫秒
getHandledPacketCosts() - Method in class org.tio.core.stat.ChannelStat
 
getHandledPacketCosts() - Method in class org.tio.core.stat.GroupStat
处理消息包耗时,单位:毫秒
getHandledPackets() - Method in class org.tio.core.stat.ChannelStat
 
getHandledPackets() - Method in class org.tio.core.stat.GroupStat
 
getHandledPackets() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getHandlerQueueSize() - Method in class org.tio.core.ChannelContext
获取处理队列目前消息数
getHeartbeatBackoff() - Method in class org.tio.server.TioServerConfig
 
getHeartbeatMode() - Method in class org.tio.core.TioConfig
 
getHeartbeatTimeout() - Method in class org.tio.core.ChannelContext
 
getHeartbeatTimeoutStrategy() - Method in class org.tio.client.TioClientConfig
 
getHost() - Method in class org.tio.server.cluster.core.ClusterConfig
 
getId() - Method in class org.tio.core.ChannelContext
 
getId() - Method in class org.tio.core.TioConfig
 
getInterval() - Method in class org.tio.client.ReconnConf
 
getIp() - Method in class org.tio.core.Node
 
getJoinMember() - Method in class org.tio.server.cluster.message.ClusterJoinMessage
 
getKeyManager(String, String) - Static method in class org.tio.core.ssl.SslConfig
 
getKeyManager(SslCertType, InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
 
getLastTime(ChannelStat) - Method in enum org.tio.core.task.HeartbeatMode
获取最后的时间
getLatestTimeOfReceivedByte() - Method in class org.tio.core.stat.ChannelStat
 
getLatestTimeOfReceivedPacket() - Method in class org.tio.core.stat.ChannelStat
 
getLatestTimeOfSentByte() - Method in class org.tio.core.stat.ChannelStat
 
getLatestTimeOfSentPacket() - Method in class org.tio.core.stat.ChannelStat
 
getLocalMember() - Method in interface org.tio.server.cluster.core.ClusterApi
获取本地成员
getLocalMember() - Method in class org.tio.server.cluster.core.ClusterImpl
 
getMap() - Method in class org.tio.core.maintain.Ids
 
getMessageId() - Method in class org.tio.server.cluster.message.ClusterSyncAckMessage
 
getMessageId() - Method in class org.tio.server.cluster.message.ClusterSyncMessage
 
getMessageListener() - Method in class org.tio.server.cluster.core.ClusterConfig
 
getMessages() - Method in class org.tio.core.stat.vo.StatVo
 
getMessageType() - Method in class org.tio.server.cluster.message.AbsClusterMessage
获取消息类型
getMessageType() - Method in class org.tio.server.cluster.message.ClusterDataMessage
 
getMessageType() - Method in class org.tio.server.cluster.message.ClusterFailedMessage
 
getMessageType() - Method in class org.tio.server.cluster.message.ClusterJoinMessage
 
getMessageType() - Method in class org.tio.server.cluster.message.ClusterPingMessage
 
getMessageType() - Method in class org.tio.server.cluster.message.ClusterPongMessage
 
getMessageType() - Method in class org.tio.server.cluster.message.ClusterReconnectMessage
 
getMessageType() - Method in class org.tio.server.cluster.message.ClusterSyncAckMessage
 
getMessageType() - Method in class org.tio.server.cluster.message.ClusterSyncMessage
 
getMeta() - Method in class org.tio.core.intf.Packet
 
getMsgQueue() - Method in class org.tio.core.task.CloseRunnable
 
getMsgQueue() - Method in class org.tio.core.task.DecodeRunnable
 
getMsgQueue() - Method in class org.tio.core.task.HandlerRunnable
 
getMsgQueue() - Method in class org.tio.core.task.SendRunnable
 
getName() - Method in class org.tio.core.TioConfig
 
getNodes() - Method in class org.tio.core.stat.vo.StatVo
 
getObj() - Method in class org.tio.core.ssl.SslVo
 
getPacketListener() - Method in class org.tio.core.intf.Packet
 
getPacketsPerTcpReceive() - Method in class org.tio.core.stat.ChannelStat
平均每次TCP接收到的业务包数,这个可以用来监控慢攻击,此值越小越有攻击嫌疑
getPacketsPerTcpReceive() - Method in class org.tio.core.stat.GroupStat
平均每次TCP接收到的业务包数,这个可以用来监控慢攻击,此值越小越有攻击嫌疑
getPacketsPerTcpReceive() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getPageOfAll(TioConfig, Integer, Integer) - Static method in class org.tio.core.Tio
服务端,获取所有的连接
getPageOfAll(TioConfig, Integer, Integer, Function<ChannelContext, T>) - Static method in class org.tio.core.Tio
服务端,获取所有的连接
getPageOfAll(TioConfig, Integer, Integer, Predicate<ChannelContext>, Function<ChannelContext, T>) - Static method in class org.tio.core.Tio
服务端,获取所有的连接
getPageOfConnecteds(TioClientConfig, Integer, Integer) - Static method in class org.tio.core.Tio
这个方法是给客户器端用的
getPageOfConnecteds(TioClientConfig, Integer, Integer, Function<ChannelContext, T>) - Static method in class org.tio.core.Tio
这个方法是给客户器端用的
getPageOfGroup(TioConfig, String, Integer, Integer) - Static method in class org.tio.core.Tio
 
getPageOfGroup(TioConfig, String, Integer, Integer, Function<ChannelContext, T>) - Static method in class org.tio.core.Tio
 
getPayload() - Method in class org.tio.server.cluster.message.ClusterDataMessage
 
getPeerHost() - Method in class org.tio.core.Node
 
getPort() - Method in class org.tio.core.Node
 
getPort() - Method in class org.tio.server.cluster.core.ClusterConfig
 
getPreEncodedByteBuffer() - Method in class org.tio.core.intf.EncodedPacket
 
getPreEncodedByteBuffer() - Method in class org.tio.core.intf.Packet
 
getProtocol() - Method in class org.tio.server.proxy.ProxyProtocolMessage
 
getProxyClientNode() - Method in class org.tio.core.ChannelContext
 
getReadBufferSize() - Method in class org.tio.core.ChannelContext
 
getReadBufferSize() - Method in class org.tio.core.TioConfig
 
getReadBufferSize() - Method in class org.tio.core.udp.UdpServerConf
 
getReadByteBuffer() - Method in class org.tio.core.ReadCompletionHandler
 
getReadCompletionHandler() - Method in class org.tio.core.ChannelContext
 
getReceivedBytes() - Method in class org.tio.core.stat.ChannelStat
 
getReceivedBytes() - Method in class org.tio.core.stat.GroupStat
 
getReceivedBytes() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getReceivedPackets() - Method in class org.tio.core.stat.ChannelStat
 
getReceivedPackets() - Method in class org.tio.core.stat.GroupStat
 
getReceivedPackets() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getReceivedTcps() - Method in class org.tio.core.stat.ChannelStat
 
getReceivedTcps() - Method in class org.tio.core.stat.GroupStat
 
getReconnConf(ClientChannelContext) - Static method in class org.tio.client.ReconnConf
 
getReconnConf(ChannelContext) - Static method in class org.tio.client.ReconnConf
 
getReconnConf() - Method in class org.tio.client.TioClientConfig
 
getReconnCount() - Method in class org.tio.client.ClientChannelContext
 
getReconnectMemberId() - Method in class org.tio.server.cluster.message.ClusterReconnectMessage
 
getRemark() - Method in class org.tio.core.ChannelContext.CloseMeta
 
getRemote() - Method in class org.tio.core.udp.UdpPacket
 
getRemoteMembers() - Method in interface org.tio.server.cluster.core.ClusterApi
获取集群中的成员,不包含当前成员
getRemoteMembers() - Method in class org.tio.server.cluster.core.ClusterImpl
 
getRetryCount() - Method in class org.tio.client.ReconnConf
连续重连次数,当连续重连这么多次都失败时,不再重连。
getSeedMembers() - Method in interface org.tio.server.cluster.core.ClusterApi
获取种子成员
getSeedMembers() - Method in class org.tio.server.cluster.core.ClusterConfig
 
getSeedMembers() - Method in class org.tio.server.cluster.core.ClusterImpl
 
getSendBytes() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getSendPackets() - Method in class org.tio.core.stat.vo.MessageStatVo
 
getSendQueueSize() - Method in class org.tio.core.ChannelContext
获取发送队列目前消息数
getSentBytes() - Method in class org.tio.core.stat.ChannelStat
 
getSentBytes() - Method in class org.tio.core.stat.GroupStat
 
getSentPackets() - Method in class org.tio.core.stat.ChannelStat
 
getSentPackets() - Method in class org.tio.core.stat.GroupStat
 
getServerConfig() - Method in class org.tio.server.TioServer
 
getServerNode() - Method in class org.tio.client.ConnectionCompletionVo
 
getServerNode() - Method in class org.tio.core.ChannelContext
 
getServerNode() - Method in class org.tio.core.udp.UdpConf
 
getServerNode() - Method in class org.tio.server.TioServer
 
getServerSocketChannel() - Method in class org.tio.server.TioServer
 
getSize() - Method in class org.tio.core.stat.vo.ConnectStatVo
 
getSourceAddress() - Method in class org.tio.server.proxy.ProxyProtocolMessage
 
getSourcePort() - Method in class org.tio.server.proxy.ProxyProtocolMessage
 
getSslContext() - Method in class org.tio.core.ssl.SslConfig
 
getSslContext() - Method in class org.tio.core.ssl.SslFacadeContext
 
getSslEngineCustomizer() - Method in class org.tio.core.ssl.SslConfig
 
getSslFacade() - Method in class org.tio.core.ssl.SslFacadeContext
 
getSslFacadeContext() - Method in class org.tio.core.ChannelContext
 
getStat() - Method in class org.tio.client.TioClientConfig
获取统计数据
getStat() - Method in class org.tio.core.TioConfig
获取统计数据
getStat() - Method in class org.tio.server.TioServerConfig
获取统计数据
getSynSeq() - Method in class org.tio.core.intf.Packet
 
getTaskService() - Method in class org.tio.client.ReconnConf
 
getTaskService() - Method in class org.tio.client.TioClient
getTaskService
getTaskService() - Method in class org.tio.client.TioClientConfig
 
getTaskService() - Method in class org.tio.server.TioServerConfig
 
getThrowable() - Method in class org.tio.core.ChannelContext.CloseMeta
 
getTime() - Method in class org.tio.core.udp.UdpPacket
 
getTimeClosed() - Method in class org.tio.core.stat.ChannelStat
 
getTimeCreated() - Method in class org.tio.core.stat.ChannelStat
 
getTimeFirstConnected() - Method in class org.tio.core.stat.ChannelStat
 
getTimeout() - Method in class org.tio.core.udp.UdpConf
 
getTioClient() - Method in class org.tio.client.ConnectionCompletionVo
 
getTioClient() - Method in class org.tio.client.ReconnConf
 
getTioClientConfig() - Method in class org.tio.client.TioClient
Deprecated.
getTioClientHandler() - Method in class org.tio.client.TioClientConfig
 
getTioClientListener() - Method in class org.tio.client.TioClientConfig
 
getTioConfig() - Method in class org.tio.core.ChannelContext
 
getTioHandler() - Method in class org.tio.client.TioClientConfig
 
getTioHandler() - Method in class org.tio.core.TioConfig
获取TioHandler对象
getTioHandler() - Method in class org.tio.server.TioServerConfig
 
getTioListener() - Method in class org.tio.client.TioClientConfig
 
getTioListener() - Method in class org.tio.core.TioConfig
获取TioListener对象
getTioListener() - Method in class org.tio.server.TioServerConfig
 
getTioServerHandler() - Method in class org.tio.server.TioServerConfig
 
getTioServerListener() - Method in class org.tio.server.TioServerConfig
 
getTioUuid() - Method in class org.tio.core.TioConfig
 
getToken() - Method in class org.tio.core.ChannelContext
 
getTrustManager(String, String) - Static method in class org.tio.core.ssl.SslConfig
 
getTrustManager(InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
 
getTrustManager(SslCertType, InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
 
getType() - Method in enum org.tio.core.ssl.SslCertType
 
getType() - Method in enum org.tio.server.cluster.message.ClusterMessageType
 
getUdpHandler() - Method in class org.tio.core.udp.UdpServerConf
 
getUserId() - Method in class org.tio.core.ChannelContext
获取 用户 id
getUsers() - Method in class org.tio.core.stat.vo.NodeStatVo
 
getValue() - Method in enum org.tio.core.ChannelContext.CloseCode
 
getValue() - Method in enum org.tio.core.PacketHandlerMode
 
getValue() - Method in enum org.tio.core.PacketSendMode
 
getWaitingResps() - Method in class org.tio.core.TioConfig
 
getWriteCompletionHandler() - Method in class org.tio.core.ChannelContext
 
groupCount(TioConfig, String) - Static method in class org.tio.core.Tio
群组有多少个连接
groupExecutor - Variable in class org.tio.core.TioConfig
 
GroupListener - Interface in org.tio.core.intf
 
Groups - Class in org.tio.core.maintain
多对多 (group <--> ChannelContext)
Groups() - Constructor for class org.tio.core.maintain.Groups
 
groups(ChannelContext) - Method in class org.tio.core.maintain.Groups
某个客户端在哪些组中
groups - Variable in class org.tio.core.TioConfig
 
GroupStat - Class in org.tio.core.stat
 
GroupStat() - Constructor for class org.tio.core.stat.GroupStat
 
groupStat - Variable in class org.tio.core.TioConfig
 

H

handle(Integer, Throwable, WriteCompletionHandler.WriteCompletionVo) - Method in class org.tio.core.WriteCompletionHandler
处理
handledBytes - Variable in class org.tio.core.stat.ChannelStat
本连接已处理的字节数
handledBytes - Variable in class org.tio.core.stat.GroupStat
处理了多少字节
handledPacketCosts - Variable in class org.tio.core.stat.ChannelStat
处理消息包耗时,单位:毫秒 拿这个值除以handledPackets,就是处理每个消息包的平均耗时
handledPacketCosts - Variable in class org.tio.core.stat.GroupStat
处理消息包耗时,单位:毫秒
handledPackets - Variable in class org.tio.core.stat.ChannelStat
本连接已处理的packet数
handledPackets - Variable in class org.tio.core.stat.GroupStat
处理了的消息包数
handleOne(Integer, Throwable, Packet, boolean) - Method in class org.tio.core.WriteCompletionHandler
 
handler(Packet, ChannelContext) - Method in interface org.tio.core.intf.TioHandler
处理消息包
handler(Packet, int) - Method in class org.tio.core.task.DecodeRunnable
消息处理
handler(Packet) - Method in class org.tio.core.task.HandlerRunnable
处理packet
handler(UdpPacket, DatagramSocket) - Method in interface org.tio.core.udp.intf.UdpHandler
 
handler(Packet, ChannelContext) - Method in class org.tio.server.cluster.core.ClusterTcpClientHandler
 
handler(Packet, ChannelContext) - Method in class org.tio.server.cluster.core.ClusterTcpServerHandler
 
handlerRunnable - Variable in class org.tio.core.ChannelContext
 
HandlerRunnable - Class in org.tio.core.task
 
HandlerRunnable(ChannelContext, Executor) - Constructor for class org.tio.core.task.HandlerRunnable
 
hashCode() - Method in class org.tio.client.TioClientConfig
 
hashCode() - Method in class org.tio.core.ChannelContext
 
hashCode() - Method in class org.tio.core.Node
 
hashCode() - Method in class org.tio.core.TioConfig
 
hashCode() - Method in class org.tio.server.TioServerConfig
 
HeartbeatMode - Enum in org.tio.core.task
心跳检测模式
heartbeatPacket(ChannelContext) - Method in interface org.tio.client.intf.TioClientHandler
创建心跳包
heartbeatPacket(ChannelContext) - Method in class org.tio.server.cluster.core.ClusterTcpClientHandler
 
heartbeatTimeout - Variable in class org.tio.core.ChannelContext
此值不设时,心跳时间取org.tio.core.TioConfig.heartbeatTimeout 当然这个值如果小于org.tio.core.TioConfig.heartbeatTimeout,定时检查的时间间隔还是以org.tio.core.TioConfig.heartbeatTimeout为准,只是在判断时用此值
heartbeatTimeout - Variable in class org.tio.core.TioConfig
心跳超时时间(单位: 毫秒),如果用户不希望框架层面做心跳相关工作,请把此值设为0或负数
heartbeatTimeoutCount - Variable in class org.tio.core.stat.ChannelStat
心跳超时次数
HeartbeatTimeoutStrategy - Enum in org.tio.client.task
客户端心跳超时策略

I

id - Variable in class org.tio.core.TioConfig
 
Ids - Class in org.tio.core.maintain
一对一 (ChannelContext.id <--> ChannelContext)
Ids() - Constructor for class org.tio.core.maintain.Ids
 
ids - Variable in class org.tio.core.TioConfig
 
IgnorePacket - Class in org.tio.core.intf
空包,不需要业务处理
IHandshakeCompletedListener - Interface in org.tio.core.ssl.facade
 
init(TioConfig, AsynchronousSocketChannel) - Method in class org.tio.core.ChannelContext
 
INSTANCE - Static variable in class org.tio.core.intf.IgnorePacket
实例
INSTANCE - Static variable in class org.tio.server.cluster.codec.ClusterMessageEncoder
单例
INSTANCE - Static variable in class org.tio.server.cluster.message.ClusterPingMessage
实例
INSTANCE - Static variable in class org.tio.server.cluster.message.ClusterPongMessage
实例
isAccepted() - Method in class org.tio.core.ChannelContext
 
isBizStatus() - Method in class org.tio.core.ChannelContext
 
isClientMode() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
isClientMode() - Method in class org.tio.core.ssl.facade.SSLFacade
 
isCloseCompleted() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
isCloseCompleted() - Method in class org.tio.core.ssl.facade.SSLFacade
 
isClosed() - Method in class org.tio.core.ChannelContext
 
isCluster4all() - Method in class org.tio.server.cluster.core.ClusterConfig
 
isCluster4bsId() - Method in class org.tio.server.cluster.core.ClusterConfig
 
isCluster4channelId() - Method in class org.tio.server.cluster.core.ClusterConfig
 
isCluster4group() - Method in class org.tio.server.cluster.core.ClusterConfig
 
isCluster4ip() - Method in class org.tio.server.cluster.core.ClusterConfig
 
isCluster4user() - Method in class org.tio.server.cluster.core.ClusterConfig
 
ISessionClosedListener - Interface in org.tio.core.ssl.facade
Monitors end of session notifications
isFromCluster() - Method in class org.tio.core.intf.Packet
 
isHandshakeCompleted() - Method in interface org.tio.core.ssl.facade.ISSLFacade
SSL握手是否已经完成
isHandshakeCompleted() - Method in class org.tio.core.ssl.facade.SSLFacade
 
isHandshakeCompleted() - Method in class org.tio.core.ssl.SslFacadeContext
 
isInGroup(String, ChannelContext) - Static method in class org.tio.core.Tio
某通道是否在某群组中
isLateJoinMember() - Method in interface org.tio.server.cluster.core.ClusterApi
是后加入的成员
isLateJoinMember() - Method in class org.tio.server.cluster.core.ClusterImpl
 
isLogWhenDecodeError() - Method in class org.tio.core.ChannelContext
 
isNeedCheckHeartbeat() - Method in class org.tio.server.TioServerConfig
 
isNeedReconn(ClientChannelContext, boolean) - Static method in class org.tio.client.ReconnConf
 
isNeedRemove - Variable in class org.tio.core.ChannelContext.CloseMeta
 
isNeedRemove() - Method in class org.tio.core.ChannelContext.CloseMeta
 
isProxyProtocolEnabled(ChannelContext) - Static method in class org.tio.server.proxy.ProxyProtocolDecoder
判断是否开启 proxy protocol
isProxyProtocolEnabled() - Method in class org.tio.server.TioServerConfig
 
isReconnect() - Method in class org.tio.client.ConnectionCompletionVo
 
isReconnect() - Method in class org.tio.core.ChannelContext
 
isRemoved() - Method in class org.tio.core.ChannelContext
 
isSentSuccess() - Method in class org.tio.core.intf.Packet.Meta
 
isServer() - Method in class org.tio.client.ClientChannelContext
 
isServer() - Method in class org.tio.client.TioClientConfig
 
isServer() - Method in class org.tio.core.ChannelContext
是否是服务器端
isServer() - Method in class org.tio.core.TioConfig
是服务器端还是客户端
isServer() - Method in class org.tio.server.ServerChannelContext
是否服务端
isServer() - Method in class org.tio.server.TioServerConfig
 
isShortConnection - Variable in class org.tio.core.TioConfig
 
ISSLFacade - Interface in org.tio.core.ssl.facade
 
ISSLListener - Interface in org.tio.core.ssl.facade
 
isSsl(TioConfig) - Static method in class org.tio.core.ssl.SslUtils
是否是SSL连接
isSsl() - Method in class org.tio.core.TioConfig
 
isSslEncrypted() - Method in class org.tio.core.intf.Packet
 
isStopped() - Method in class org.tio.core.TioConfig
 
isVirtual() - Method in class org.tio.core.ChannelContext
 
isWaitingClose() - Method in class org.tio.core.ChannelContext
 
isWaitingStop() - Method in class org.tio.server.TioServer
 
ITaskHandler - Interface in org.tio.core.ssl.facade
 
ITasks - Interface in org.tio.core.ssl.facade
 

L

latestTimeOfReceivedByte - Variable in class org.tio.core.stat.ChannelStat
最近一次收到业务消息包的时间:收到字节就算
latestTimeOfReceivedPacket - Variable in class org.tio.core.stat.ChannelStat
最近一次收到业务消息包的时间(一个完整的业务消息包,一部分消息不算)
latestTimeOfSentByte - Variable in class org.tio.core.stat.ChannelStat
最近一次发送业务消息包的时间:发送字节就算
latestTimeOfSentPacket - Variable in class org.tio.core.stat.ChannelStat
最近一次发送业务消息包的时间(一个完整的业务消息包,一部分消息不算)
LengthOverflowException - Class in org.tio.core.exception
 
LengthOverflowException() - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(String, Throwable, boolean, boolean) - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(String, Throwable) - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(String) - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(Throwable) - Constructor for class org.tio.core.exception.LengthOverflowException
 
lock - Variable in class org.tio.core.WriteCompletionHandler
 
logstr() - Method in class org.tio.core.intf.IgnorePacket
 
logstr() - Method in class org.tio.core.intf.Packet
 
logstr() - Method in class org.tio.core.task.CloseRunnable
 
logstr() - Method in class org.tio.core.task.DecodeRunnable
 
logstr() - Method in class org.tio.core.task.HandlerRunnable
 
logstr() - Method in class org.tio.core.task.SendRunnable
 
logWhenDecodeError - Variable in class org.tio.core.TioConfig
解码出现异常时,是否打印异常日志

M

MaintainUtils - Class in org.tio.core.maintain
 
MaintainUtils() - Constructor for class org.tio.core.maintain.MaintainUtils
 
MAX_DATA_LENGTH - Static variable in interface org.tio.core.TcpConst
 
maxDecodeFailCount - Variable in class org.tio.core.TioConfig
解码失败多少次抛出异常
MessageStatVo - Class in org.tio.core.stat.vo
消息统计
MessageStatVo() - Constructor for class org.tio.core.stat.vo.MessageStatVo
 
Meta(CountDownLatch) - Constructor for class org.tio.core.intf.Packet.Meta
 

N

name - Variable in class org.tio.core.TioConfig
 
needSslEncrypt(Packet, TioConfig) - Static method in class org.tio.core.ssl.SslUtils
是否需要对这个packet进行SSL加密
next() - Method in interface org.tio.core.ssl.facade.ITasks
 
Node - Class in org.tio.core
 
Node(String, int) - Constructor for class org.tio.core.Node
 
NodeSelector - Interface in org.tio.client.intf
节点选择器
NodeStatVo - Class in org.tio.core.stat.vo
节点统计
NodeStatVo() - Constructor for class org.tio.core.stat.vo.NodeStatVo
 

O

onAfterBind(ChannelContext, String) - Method in interface org.tio.core.intf.GroupListener
绑定群组后回调该方法
onAfterConnected(ChannelContext, boolean, boolean) - Method in interface org.tio.core.intf.TioListener
建链后触发本方法,注:建链不一定成功,需要关注参数isConnected
onAfterConnected(ChannelContext, boolean, boolean) - Method in class org.tio.server.cluster.core.ClusterTcpClientListener
 
onAfterDecoded(ChannelContext, Packet, int) - Method in interface org.tio.core.intf.TioListener
原方法名:onAfterDecoded 解码成功后触发本方法
onAfterHandled(ChannelContext, Packet, long) - Method in interface org.tio.core.intf.TioListener
处理一个消息包后
onAfterReceivedBytes(ChannelContext, int) - Method in interface org.tio.core.intf.TioListener
接收到TCP层传过来的数据后
onAfterSent(ChannelContext, Packet, boolean) - Method in interface org.tio.core.intf.PacketListener
 
onAfterSent(ChannelContext, Packet, boolean) - Method in interface org.tio.core.intf.TioListener
消息包发送之后触发本方法
onAfterUnbind(ChannelContext, String) - Method in interface org.tio.core.intf.GroupListener
解绑群组后回调该方法
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in interface org.tio.core.intf.TioListener
连接关闭前触发本方法
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in class org.tio.server.cluster.core.ClusterTcpClientListener
 
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in class org.tio.server.cluster.core.ClusterTcpServerListener
 
onComplete() - Method in interface org.tio.core.ssl.facade.IHandshakeCompletedListener
 
onComplete() - Method in class org.tio.core.ssl.SslHandshakeCompletedListener
 
onHeartbeatTimeout(ChannelContext, long, int) - Method in interface org.tio.server.intf.TioServerListener
服务器检查到心跳超时时,会调用这个函数(一般场景,该方法只需要直接返回false即可)
onMessage(ClusterDataMessage) - Method in interface org.tio.server.cluster.core.ClusterMessageListener
集群消息监听
onPlainData(ByteBuffer) - Method in interface org.tio.core.ssl.facade.ISSLListener
业务层通过这个方法把SSL解密后的数据进行业务解包
onPlainData(ByteBuffer) - Method in class org.tio.core.ssl.SslListener
 
onSessionClosed() - Method in interface org.tio.core.ssl.facade.ISessionClosedListener
 
onSessionClosed() - Method in class org.tio.core.ssl.SslSessionClosedListener
 
onWrappedData(SslVo) - Method in interface org.tio.core.ssl.facade.ISSLListener
业务层通过这个方法把SSL加密后的数据发出去
onWrappedData(SslVo) - Method in class org.tio.core.ssl.SslListener
 
org.tio.client - package org.tio.client
 
org.tio.client.intf - package org.tio.client.intf
 
org.tio.client.task - package org.tio.client.task
 
org.tio.core - package org.tio.core
 
org.tio.core.exception - package org.tio.core.exception
 
org.tio.core.intf - package org.tio.core.intf
 
org.tio.core.maintain - package org.tio.core.maintain
 
org.tio.core.ssl - package org.tio.core.ssl
 
org.tio.core.ssl.facade - package org.tio.core.ssl.facade
 
org.tio.core.stat - package org.tio.core.stat
 
org.tio.core.stat.vo - package org.tio.core.stat.vo
 
org.tio.core.task - package org.tio.core.task
 
org.tio.core.udp - package org.tio.core.udp
 
org.tio.core.udp.intf - package org.tio.core.udp.intf
 
org.tio.core.udp.task - package org.tio.core.udp.task
 
org.tio.core.utils - package org.tio.core.utils
 
org.tio.core.uuid - package org.tio.core.uuid
 
org.tio.server - package org.tio.server
 
org.tio.server.cluster.codec - package org.tio.server.cluster.codec
 
org.tio.server.cluster.core - package org.tio.server.cluster.core
 
org.tio.server.cluster.message - package org.tio.server.cluster.message
 
org.tio.server.intf - package org.tio.server.intf
 
org.tio.server.proxy - package org.tio.server.proxy
 
org.tio.server.task - package org.tio.server.task
 

P

Packet - Class in org.tio.core.intf
 
Packet() - Constructor for class org.tio.core.intf.Packet
 
Packet.Meta - Class in org.tio.core.intf
 
PacketConverter - Interface in org.tio.core
 
packetConverter - Variable in class org.tio.core.TioConfig
 
PacketHandlerMode - Enum in org.tio.core
消息处理模式
packetHandlerMode - Variable in class org.tio.core.TioConfig
 
PacketListener - Interface in org.tio.core.intf
 
packetNeededLength - Variable in class org.tio.core.ChannelContext
一个packet所需要的字节数(用于应用告诉框架,下一次解码所需要的字节长度,省去冗余解码带来的性能损耗)
PacketSendMode - Enum in org.tio.core
消息发送模式
process(ITasks) - Method in class org.tio.core.ssl.facade.DefaultTaskHandler
 
process(ITasks) - Method in interface org.tio.core.ssl.facade.ITaskHandler
In order to continue handshakes after tasks are processed the tasks.done() method must be called.
processAfterSent(Packet, boolean) - Method in class org.tio.core.ChannelContext
 
ProxyProtocolDecoder - Class in org.tio.server.proxy
开启 nginx 代理协议时需要开启,转发代理 ip 信息 proxy_protocol on;
ProxyProtocolMessage - Class in org.tio.server.proxy
代理协议消息
ProxyProtocolMessage(String, String, String, String, String) - Constructor for class org.tio.server.proxy.ProxyProtocolMessage
 
ProxyProtocolMessage(String, String, String, int, int) - Constructor for class org.tio.server.proxy.ProxyProtocolMessage
 
put(ClientChannelContext) - Static method in class org.tio.client.ReconnConf
 
put(ChannelContext) - Method in class org.tio.core.maintain.ClientNodes
添加映射

R

READ_BUFFER_SIZE - Static variable in class org.tio.core.TioConfig
默认的接收数据的buffer size
ReadCompletionHandler - Class in org.tio.core
 
ReadCompletionHandler(ChannelContext) - Constructor for class org.tio.core.ReadCompletionHandler
 
receivedBytes - Variable in class org.tio.core.stat.ChannelStat
本连接已接收的字节数
receivedBytes - Variable in class org.tio.core.stat.GroupStat
接收到的消息字节数
receivedPackets - Variable in class org.tio.core.stat.ChannelStat
本连接已接收的packet数
receivedPackets - Variable in class org.tio.core.stat.GroupStat
接收到的消息包
receivedTcps - Variable in class org.tio.core.stat.ChannelStat
本连接已接收了多少次TCP数据包
receivedTcps - Variable in class org.tio.core.stat.GroupStat
本IP已接收了多少次TCP数据包
ReconnConf - Class in org.tio.client
 
ReconnConf() - Constructor for class org.tio.client.ReconnConf
 
ReconnConf(long) - Constructor for class org.tio.client.ReconnConf
 
ReconnConf(long, int) - Constructor for class org.tio.client.ReconnConf
 
reconnConf - Variable in class org.tio.client.TioClientConfig
重连配置
reconnect(ClientChannelContext, Integer) - Method in class org.tio.client.TioClient
 
remark - Variable in class org.tio.core.ChannelContext.CloseMeta
 
remove(ChannelContext) - Method in class org.tio.core.maintain.ClientNodes
Removes映射
remove(ChannelContext) - Static method in class org.tio.core.maintain.MaintainUtils
彻底删除,不再维护
remove(ChannelContext, String) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(ChannelContext, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(ChannelContext, Throwable, String) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(ChannelContext, Throwable, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(TioConfig, String, Integer, Throwable, String) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(TioConfig, String, Integer, Throwable, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
删除clientip和clientPort为指定值的连接
remove() - Method in class org.tio.core.TioConfig
停止时删除客户端
removeGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭某群所有连接
removeGroup(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某群所有连接
removeProxyProtocol(ChannelContext) - Static method in class org.tio.server.proxy.ProxyProtocolDecoder
去掉 proxy protocol
removeSet(Set<ChannelContext>, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
移除集合
removeToken(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭token的所有连接
removeToken(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某token的所有连接
removeUser(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭用户的所有连接
removeUser(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某用户的所有连接
run() - Method in class org.tio.client.task.ClientHeartbeatTask
 
run() - Method in class org.tio.client.task.ClientReConnTask
 
run() - Method in class org.tio.core.udp.task.UdpHandlerRunnable
 
run() - Method in class org.tio.core.udp.task.UdpSendRunnable
 
run() - Method in class org.tio.server.task.ServerHeartbeatTask
 
runTask() - Method in class org.tio.core.task.CloseRunnable
 
runTask() - Method in class org.tio.core.task.DecodeRunnable
 
runTask() - Method in class org.tio.core.task.HandlerRunnable
 
runTask() - Method in class org.tio.core.task.SendRunnable
 

S

schedule(Runnable, long) - Method in class org.tio.client.TioClient
添加定时任务,注意:如果抛出异常,会终止后续任务,请自行处理异常
schedule(Runnable, long, Executor) - Method in class org.tio.client.TioClient
添加定时任务,注意:如果抛出异常,会终止后续任务,请自行处理异常
schedule(Runnable, long) - Method in interface org.tio.server.cluster.core.ClusterApi
添加定时任务,注意:如果抛出异常,会终止后续任务,请自行处理异常
schedule(Runnable, long, Executor) - Method in interface org.tio.server.cluster.core.ClusterApi
添加定时任务,注意:如果抛出异常,会终止后续任务,请自行处理异常
schedule(Runnable, long) - Method in class org.tio.server.cluster.core.ClusterImpl
 
schedule(Runnable, long, Executor) - Method in class org.tio.server.cluster.core.ClusterImpl
 
schedule(Runnable, long) - Method in class org.tio.server.TioServer
添加定时任务
schedule(Runnable, long, Executor) - Method in class org.tio.server.TioServer
添加定时任务
scheduleOnce(Runnable, long) - Method in class org.tio.client.TioClient
添加定时任务
scheduleOnce(Runnable, long, Executor) - Method in class org.tio.client.TioClient
添加定时任务
scheduleOnce(Runnable, long) - Method in interface org.tio.server.cluster.core.ClusterApi
添加定时任务
scheduleOnce(Runnable, long, Executor) - Method in interface org.tio.server.cluster.core.ClusterApi
添加定时任务
scheduleOnce(Runnable, long) - Method in class org.tio.server.cluster.core.ClusterImpl
 
scheduleOnce(Runnable, long, Executor) - Method in class org.tio.server.cluster.core.ClusterImpl
 
scheduleOnce(Runnable, long) - Method in class org.tio.server.TioServer
添加定时任务,注意:如果抛出异常,会终止后续任务,请自行处理异常
scheduleOnce(Runnable, long, Executor) - Method in class org.tio.server.TioServer
添加定时任务,注意:如果抛出异常,会终止后续任务,请自行处理异常
select(List<Node>) - Method in interface org.tio.client.intf.NodeSelector
选择节点
select(List<Node>, Node) - Method in interface org.tio.client.intf.NodeSelector
选择节点
send(Packet) - Method in class org.tio.core.ChannelContext
发送消息
send(ChannelContext, Packet) - Static method in class org.tio.core.Tio
发送消息到指定ChannelContext
send(TioConfig, String, int, Packet) - Static method in class org.tio.core.Tio
发送到指定的ip和port
send(byte[]) - Method in class org.tio.core.udp.UdpClient
 
send(String) - Method in class org.tio.core.udp.UdpClient
 
send(String, Charset) - Method in class org.tio.core.udp.UdpClient
 
send(byte[], Node) - Method in class org.tio.core.udp.UdpServer
 
send(String, Node) - Method in class org.tio.core.udp.UdpServer
 
send(String, Charset, Node) - Method in class org.tio.core.udp.UdpServer
 
send(Node, byte[]) - Method in interface org.tio.server.cluster.core.ClusterApi
发送消息
send(Node, byte[]) - Method in class org.tio.server.cluster.core.ClusterImpl
 
sendPacket(Packet) - Method in class org.tio.core.task.SendRunnable
 
sendRunnable - Variable in class org.tio.core.ChannelContext
 
SendRunnable - Class in org.tio.core.task
 
SendRunnable(ChannelContext, Executor) - Constructor for class org.tio.core.task.SendRunnable
 
SendRunnable(ChannelContext, Executor, Queue<Packet>) - Constructor for class org.tio.core.task.SendRunnable
 
sendSync(Node, byte[]) - Method in interface org.tio.server.cluster.core.ClusterApi
同步发送消息
sendSync(Node, byte[]) - Method in class org.tio.server.cluster.core.ClusterImpl
 
sendToAll(TioConfig, Packet) - Static method in class org.tio.core.Tio
发消息到所有连接
sendToAll(TioConfig, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到所有连接
sendToBsId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定业务ID
sendToGroup(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息到组
sendToGroup(TioConfig, String, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到组
sendToId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定ChannelContext id
sendToSet(TioConfig, Set<ChannelContext>, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到指定集合
sendToToken(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息到指定token
sendToUser(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定用户
sentBytes - Variable in class org.tio.core.stat.ChannelStat
本连接已发送的字节数
sentBytes - Variable in class org.tio.core.stat.GroupStat
发送了的字节数
sentPackets - Variable in class org.tio.core.stat.ChannelStat
本连接已发送的packet数
sentPackets - Variable in class org.tio.core.stat.GroupStat
发送了的消息包数
SeqTioUuid - Class in org.tio.core.uuid
 
SeqTioUuid() - Constructor for class org.tio.core.uuid.SeqTioUuid
 
ServerChannelContext - Class in org.tio.server
 
ServerChannelContext(TioConfig, AsynchronousSocketChannel) - Constructor for class org.tio.server.ServerChannelContext
 
ServerChannelContext(TioConfig) - Constructor for class org.tio.server.ServerChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,真实场景中用得少
ServerChannelContext(TioConfig, String) - Constructor for class org.tio.server.ServerChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,譬如压力测试,真实场景中用得少
ServerGroupStat - Class in org.tio.server
 
ServerGroupStat() - Constructor for class org.tio.server.ServerGroupStat
 
ServerHeartbeatTask - Class in org.tio.server.task
服务端心跳,采用时间轮重构
ServerHeartbeatTask(Timer, TioServerConfig) - Constructor for class org.tio.server.task.ServerHeartbeatTask
 
setAccepted(boolean) - Method in class org.tio.core.ChannelContext
 
setAccepted(long) - Method in class org.tio.core.stat.vo.ConnectStatVo
 
setAsynchronousSocketChannel(AsynchronousSocketChannel) - Method in class org.tio.client.ConnectionCompletionVo
 
setAsynchronousSocketChannel(AsynchronousSocketChannel) - Method in class org.tio.core.ChannelContext
 
setBacklog(int) - Method in class org.tio.server.TioServerConfig
 
setBindIp(String) - Method in class org.tio.client.ClientChannelContext
 
setBindIp(String) - Method in class org.tio.client.ConnectionCompletionVo
 
setBindPort(Integer) - Method in class org.tio.client.ClientChannelContext
 
setBindPort(Integer) - Method in class org.tio.client.ConnectionCompletionVo
 
setBizStatus(boolean) - Method in class org.tio.core.ChannelContext
 
setBsId(String) - Method in class org.tio.core.ChannelContext
 
setByteBuffer(ByteBuffer) - Method in class org.tio.core.ssl.SslVo
 
setByteCount(int) - Method in class org.tio.core.intf.Packet
 
setByteOrder(ByteOrder) - Method in class org.tio.core.TioConfig
 
setBytesPerTcpReceive(double) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setChannelContext(ClientChannelContext) - Method in class org.tio.client.ConnectionCompletionVo
 
setChannelContextComparator(Comparator<ChannelContext>) - Method in class org.tio.core.maintain.Groups
 
setCharset(Charset) - Method in class org.tio.core.udp.UdpConf
 
setClientNode(Node) - Method in class org.tio.core.ChannelContext
 
setClientNodes(long) - Method in class org.tio.core.stat.vo.NodeStatVo
 
setCloseCode(ChannelContext.CloseCode) - Method in class org.tio.core.ChannelContext
 
setClosed(boolean) - Method in class org.tio.core.ChannelContext
 
setClosed(long) - Method in class org.tio.core.stat.vo.ConnectStatVo
 
setCloseListener(ISessionClosedListener) - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
setCloseListener(ISessionClosedListener) - Method in class org.tio.core.ssl.facade.SSLFacade
 
setCluster4all(boolean) - Method in class org.tio.server.cluster.core.ClusterConfig
 
setCluster4bsId(boolean) - Method in class org.tio.server.cluster.core.ClusterConfig
 
setCluster4channelId(boolean) - Method in class org.tio.server.cluster.core.ClusterConfig
 
setCluster4group(boolean) - Method in class org.tio.server.cluster.core.ClusterConfig
 
setCluster4ip(boolean) - Method in class org.tio.server.cluster.core.ClusterConfig
 
setCluster4user(boolean) - Method in class org.tio.server.cluster.core.ClusterConfig
 
setConnections(long) - Method in class org.tio.core.stat.vo.NodeStatVo
 
setConnections(ConnectStatVo) - Method in class org.tio.core.stat.vo.StatVo
 
setCountDownLatch(CountDownLatch) - Method in class org.tio.client.ConnectionCompletionVo
 
setData(byte[]) - Method in class org.tio.core.udp.UdpPacket
 
setFromCluster(boolean) - Method in class org.tio.core.intf.Packet
 
setGroupListener(GroupListener) - Method in class org.tio.core.TioConfig
 
setHandledBytes(long) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setHandledPackets(long) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setHandshakeCompleted(boolean) - Method in class org.tio.core.ssl.SslFacadeContext
 
setHandshakeCompletedListener(IHandshakeCompletedListener) - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
setHandshakeCompletedListener(IHandshakeCompletedListener) - Method in class org.tio.core.ssl.facade.SSLFacade
 
setHeartbeatBackoff(float) - Method in class org.tio.server.TioServerConfig
 
setHeartbeatMode(HeartbeatMode) - Method in class org.tio.core.TioConfig
 
setHeartbeatTimeout(Long) - Method in class org.tio.core.ChannelContext
 
setHeartbeatTimeout(long) - Method in class org.tio.core.TioConfig
 
setHeartbeatTimeoutStrategy(HeartbeatTimeoutStrategy) - Method in class org.tio.client.TioClientConfig
 
setLatestTimeOfReceivedByte(long) - Method in class org.tio.core.stat.ChannelStat
 
setLatestTimeOfSentByte(long) - Method in class org.tio.core.stat.ChannelStat
 
setLatestTimeOfSentPacket(long) - Method in class org.tio.core.stat.ChannelStat
 
setLogWhenDecodeError(boolean) - Method in class org.tio.core.ChannelContext
 
setMessages(MessageStatVo) - Method in class org.tio.core.stat.vo.StatVo
 
setMeta(Packet.Meta) - Method in class org.tio.core.intf.Packet
 
setName(String) - Method in class org.tio.core.TioConfig
 
setNeedRemove(boolean) - Method in class org.tio.core.ChannelContext.CloseMeta
 
setNewReceivedByteBuffer(ByteBuffer) - Method in class org.tio.core.task.DecodeRunnable
 
setNodes(NodeStatVo) - Method in class org.tio.core.stat.vo.StatVo
 
setPacketHandlerMode(PacketHandlerMode) - Method in class org.tio.core.TioConfig
 
setPacketListener(PacketListener) - Method in class org.tio.core.intf.Packet
 
setPacketNeededLength(Integer) - Method in class org.tio.core.ChannelContext
 
setPacketsPerTcpReceive(double) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setPreEncodedByteBuffer(ByteBuffer) - Method in class org.tio.core.intf.Packet
 
setProxyClientNode(Node) - Method in class org.tio.core.ChannelContext
 
setReadBufferSize(int) - Method in class org.tio.core.ChannelContext
 
setReadBufferSize(int) - Method in class org.tio.core.TioConfig
 
setReadBufferSize(int) - Method in class org.tio.core.udp.UdpServerConf
 
setReceivedBytes(long) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setReceivedPackets(long) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setReconnConf(ReconnConf) - Method in class org.tio.client.TioClientConfig
 
setReconnect(boolean) - Method in class org.tio.client.ConnectionCompletionVo
 
setReconnect(boolean) - Method in class org.tio.core.ChannelContext
 
setRemark(String) - Method in class org.tio.core.ChannelContext.CloseMeta
 
setRemote(Node) - Method in class org.tio.core.udp.UdpPacket
 
setRemoved(boolean) - Method in class org.tio.core.ChannelContext
 
setSendBytes(long) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setSendPackets(long) - Method in class org.tio.core.stat.vo.MessageStatVo
 
setSentSuccess(boolean) - Method in class org.tio.core.intf.Packet.Meta
 
setServerNode(Node) - Method in class org.tio.client.ConnectionCompletionVo
 
setServerNode(Node) - Method in class org.tio.core.ChannelContext
 
setServerNode(Node) - Method in class org.tio.core.udp.UdpConf
 
setShortConnection(boolean) - Method in class org.tio.core.TioConfig
 
setSize(long) - Method in class org.tio.core.stat.vo.ConnectStatVo
 
setSslConfig(SslConfig) - Method in class org.tio.core.TioConfig
 
setSslEncrypted(boolean) - Method in class org.tio.core.intf.Packet
 
setSslEngineCustomizer(SSLEngineCustomizer) - Method in class org.tio.core.ssl.SslConfig
 
setSslFacadeContext(SslFacadeContext) - Method in class org.tio.core.ChannelContext
设置 SslFacadeContext 用于动态 ssl 的过程
setSSLListener(ISSLListener) - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
setSSLListener(ISSLListener) - Method in class org.tio.core.ssl.facade.SSLFacade
 
setStopped(boolean) - Method in class org.tio.core.TioConfig
 
setSynSeq(int) - Method in class org.tio.core.intf.Packet
 
setTaskService(TimerTaskService) - Method in class org.tio.client.TioClientConfig
 
setTaskService(TimerTaskService) - Method in class org.tio.server.TioServerConfig
 
setThrowable(Throwable) - Method in class org.tio.core.ChannelContext.CloseMeta
 
setTime(long) - Method in class org.tio.core.udp.UdpPacket
 
setTimeClosed(long) - Method in class org.tio.core.stat.ChannelStat
 
setTimeFirstConnected(Long) - Method in class org.tio.core.stat.ChannelStat
 
setTimeout(int) - Method in class org.tio.core.udp.UdpConf
 
setTioClient(TioClient) - Method in class org.tio.client.ConnectionCompletionVo
 
setTioClientHandler(TioClientHandler) - Method in class org.tio.client.TioClientConfig
 
setTioClientListener(TioClientListener) - Method in class org.tio.client.TioClientConfig
 
setTioUuid(TioUuid) - Method in class org.tio.core.TioConfig
 
setToken(String) - Method in class org.tio.core.ChannelContext
 
setUpSSL() - Method in class org.tio.core.ChannelContext
设置 ssl
setUseQueueDecode(boolean) - Method in class org.tio.core.TioConfig
是否用队列解码(系统初始化时确定该值,中途不要变更此值,否则在切换的时候可能导致消息丢失
setUseQueueSend(boolean) - Method in class org.tio.core.TioConfig
是否用队列发送,可以随时切换
setUserId(String) - Method in class org.tio.core.ChannelContext
 
setUsers(long) - Method in class org.tio.core.stat.vo.NodeStatVo
 
setVirtual(boolean) - Method in class org.tio.core.ChannelContext
 
setWaitingClose(boolean) - Method in class org.tio.core.ChannelContext
 
share(TioServerConfig) - Method in class org.tio.server.TioServerConfig
共享
size() - Method in class org.tio.core.maintain.ClientNodes
 
size() - Method in class org.tio.core.maintain.Groups
 
size() - Method in class org.tio.core.maintain.Tokens
 
size() - Method in class org.tio.core.maintain.Users
 
SnowflakeTioUuid - Class in org.tio.core.uuid
 
SnowflakeTioUuid() - Constructor for class org.tio.core.uuid.SnowflakeTioUuid
 
SnowflakeTioUuid(long, long) - Constructor for class org.tio.core.uuid.SnowflakeTioUuid
 
SslCertType - Enum in org.tio.core.ssl
ssl 证书类型
SslConfig - Class in org.tio.core.ssl
 
SslConfig(TrustManager[]) - Constructor for class org.tio.core.ssl.SslConfig
 
SslConfig(KeyManager[], TrustManager[]) - Constructor for class org.tio.core.ssl.SslConfig
 
SslConfig(ClientAuth, TrustManager[]) - Constructor for class org.tio.core.ssl.SslConfig
 
SslConfig(ClientAuth, KeyManager[], TrustManager[]) - Constructor for class org.tio.core.ssl.SslConfig
 
sslConfig - Variable in class org.tio.core.TioConfig
 
SSLEngineCustomizer - Interface in org.tio.core.ssl
SSLEngine 自定义
SSLFacade - Class in org.tio.core.ssl.facade
 
SSLFacade(ChannelContext, SSLContext, boolean, SslConfig, ITaskHandler) - Constructor for class org.tio.core.ssl.facade.SSLFacade
 
sslFacadeContext - Variable in class org.tio.core.ChannelContext
 
SslFacadeContext - Class in org.tio.core.ssl
 
SslFacadeContext(ChannelContext) - Constructor for class org.tio.core.ssl.SslFacadeContext
 
SslFacadeContext(ChannelContext, SslConfig) - Constructor for class org.tio.core.ssl.SslFacadeContext
 
SslHandshakeCompletedListener - Class in org.tio.core.ssl
 
SslHandshakeCompletedListener(ChannelContext) - Constructor for class org.tio.core.ssl.SslHandshakeCompletedListener
 
SslListener - Class in org.tio.core.ssl
 
SslListener(ChannelContext) - Constructor for class org.tio.core.ssl.SslListener
 
SslSessionClosedListener - Class in org.tio.core.ssl
 
SslSessionClosedListener(ChannelContext) - Constructor for class org.tio.core.ssl.SslSessionClosedListener
 
SslUtils - Class in org.tio.core.ssl
 
SslVo - Class in org.tio.core.ssl
 
SslVo(ByteBuffer, Object) - Constructor for class org.tio.core.ssl.SslVo
 
SslVo() - Constructor for class org.tio.core.ssl.SslVo
 
start() - Method in class org.tio.core.udp.UdpClient
 
start() - Method in class org.tio.core.udp.UdpServer
 
start() - Method in interface org.tio.server.cluster.core.ClusterApi
启动
start() - Method in class org.tio.server.cluster.core.ClusterImpl
 
start() - Method in class org.tio.server.TioServer
 
startTime - Variable in class org.tio.core.TioConfig
启动时间
stat - Variable in class org.tio.core.ChannelContext
 
statOn - Variable in class org.tio.core.TioConfig
 
StatVo - Class in org.tio.core.stat.vo
stat 统计 vo
StatVo() - Constructor for class org.tio.core.stat.vo.StatVo
 
stop() - Method in class org.tio.client.TioClient
停止
stop() - Method in class org.tio.core.udp.task.UdpHandlerRunnable
 
stop() - Method in class org.tio.core.udp.task.UdpSendRunnable
 
stop() - Method in class org.tio.core.udp.UdpServer
 
stop() - Method in interface org.tio.server.cluster.core.ClusterApi
停止
stop() - Method in class org.tio.server.cluster.core.ClusterImpl
 
stop() - Method in class org.tio.server.TioServer
 

T

TcpConst - Interface in org.tio.core
 
terminate() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
terminate() - Method in class org.tio.core.ssl.facade.SSLFacade
 
throwable - Variable in class org.tio.core.ChannelContext.CloseMeta
 
timeClosed - Variable in class org.tio.core.stat.ChannelStat
连接关闭的时间
timeCreated - Variable in class org.tio.core.stat.ChannelStat
ChannelContext对象创建的时间
timeFirstConnected - Variable in class org.tio.core.stat.ChannelStat
第一次连接成功的时间
Tio - Class in org.tio.core
The Class Tio. t-io用户关心的API几乎全在这
TioClient - Class in org.tio.client
 
TioClient(TioClientConfig) - Constructor for class org.tio.client.TioClient
 
TioClientConfig - Class in org.tio.client
 
TioClientConfig(TioClientHandler, TioClientListener) - Constructor for class org.tio.client.TioClientConfig
不重连
TioClientConfig(TioClientHandler, TioClientListener, ReconnConf) - Constructor for class org.tio.client.TioClientConfig
 
TioClientConfig(TioClientHandler, TioClientListener, ReconnConf, SynThreadPoolExecutor, ExecutorService) - Constructor for class org.tio.client.TioClientConfig
 
TioClientHandler - Interface in org.tio.client.intf
 
TioClientListener - Interface in org.tio.client.intf
 
tioConfig - Variable in class org.tio.core.ChannelContext
 
TioConfig - Class in org.tio.core
 
TioConfig() - Constructor for class org.tio.core.TioConfig
 
TioConfig(SynThreadPoolExecutor, ExecutorService) - Constructor for class org.tio.core.TioConfig
 
TioDecodeException - Exception in org.tio.core.exception
 
TioDecodeException() - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(String) - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(String, Throwable) - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(String, Throwable, boolean, boolean) - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(Throwable) - Constructor for exception org.tio.core.exception.TioDecodeException
 
tioExecutor - Variable in class org.tio.core.TioConfig
 
TioHandler - Interface in org.tio.core.intf
 
TioListener - Interface in org.tio.core.intf
 
TioServer - Class in org.tio.server
 
TioServer(int, TioServerConfig) - Constructor for class org.tio.server.TioServer
 
TioServer(String, int, TioServerConfig) - Constructor for class org.tio.server.TioServer
 
TioServer(Node, TioServerConfig) - Constructor for class org.tio.server.TioServer
 
TioServerConfig - Class in org.tio.server
 
TioServerConfig(TioServerHandler, TioServerListener) - Constructor for class org.tio.server.TioServerConfig
 
TioServerConfig(String, TioServerHandler, TioServerListener) - Constructor for class org.tio.server.TioServerConfig
 
TioServerConfig(TioServerHandler, TioServerListener, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.server.TioServerConfig
 
TioServerConfig(String, TioServerHandler, TioServerListener, SynThreadPoolExecutor, ExecutorService) - Constructor for class org.tio.server.TioServerConfig
 
TioServerHandler - Interface in org.tio.server.intf
 
TioServerListener - Interface in org.tio.server.intf
 
TioUtils - Class in org.tio.core.utils
 
TioUtils() - Constructor for class org.tio.core.utils.TioUtils
 
TioUuid - Interface in org.tio.core.intf
 
toAckMessage() - Method in class org.tio.server.cluster.message.ClusterSyncMessage
转换成 ack 消息
Tokens - Class in org.tio.core.maintain
一对多 (token <--> ChannelContext)
Tokens() - Constructor for class org.tio.core.maintain.Tokens
 
tokens - Variable in class org.tio.core.TioConfig
 
toString() - Method in class org.tio.client.TioClientConfig
 
toString() - Method in class org.tio.core.ChannelContext
 
toString() - Method in class org.tio.core.Node
 
toString() - Method in class org.tio.core.ssl.SslVo
 
toString() - Method in class org.tio.core.stat.vo.ConnectStatVo
 
toString() - Method in class org.tio.core.stat.vo.MessageStatVo
 
toString() - Method in class org.tio.core.stat.vo.NodeStatVo
 
toString() - Method in class org.tio.core.stat.vo.StatVo
 
toString() - Method in class org.tio.core.task.DecodeRunnable
 
toString() - Method in class org.tio.core.task.HandlerRunnable
 
toString() - Method in class org.tio.core.task.SendRunnable
 
toString() - Method in class org.tio.server.cluster.message.AbsClusterMessage
 
toString() - Method in class org.tio.server.proxy.ProxyProtocolMessage
 
toString() - Method in class org.tio.server.TioServerConfig
 

U

UdpClient - Class in org.tio.core.udp
 
UdpClient(UdpClientConf) - Constructor for class org.tio.core.udp.UdpClient
 
UdpClientConf - Class in org.tio.core.udp
 
UdpClientConf(String, int, int) - Constructor for class org.tio.core.udp.UdpClientConf
 
UdpConf - Class in org.tio.core.udp
 
UdpConf(int) - Constructor for class org.tio.core.udp.UdpConf
 
UdpHandler - Interface in org.tio.core.udp.intf
 
UdpHandlerRunnable - Class in org.tio.core.udp.task
 
UdpHandlerRunnable(UdpHandler, LinkedBlockingQueue<UdpPacket>, DatagramSocket) - Constructor for class org.tio.core.udp.task.UdpHandlerRunnable
 
UdpPacket - Class in org.tio.core.udp
 
UdpPacket() - Constructor for class org.tio.core.udp.UdpPacket
 
UdpPacket(byte[], Node) - Constructor for class org.tio.core.udp.UdpPacket
 
UdpSendRunnable - Class in org.tio.core.udp.task
 
UdpSendRunnable(LinkedBlockingQueue<DatagramPacket>, UdpConf, DatagramSocket) - Constructor for class org.tio.core.udp.task.UdpSendRunnable
 
UdpServer - Class in org.tio.core.udp
 
UdpServer(UdpServerConf) - Constructor for class org.tio.core.udp.UdpServer
 
UdpServerConf - Class in org.tio.core.udp
 
UdpServerConf(int, UdpHandler, int) - Constructor for class org.tio.core.udp.UdpServerConf
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.BsIds
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.Groups
与所有组解除绑定
unbind(ChannelContext, boolean) - Method in class org.tio.core.maintain.Groups
 
unbind(String, ChannelContext) - Method in class org.tio.core.maintain.Groups
与指定组解除绑定
unbind(String, ChannelContext, boolean) - Method in class org.tio.core.maintain.Groups
与指定组解除绑定
unbind(String, ChannelContext, boolean, boolean) - Method in class org.tio.core.maintain.Groups
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.Ids
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.Tokens
解除channelContext绑定的token
unbind(TioConfig, String) - Method in class org.tio.core.maintain.Tokens
解除tioConfig范围内所有ChannelContext的 token绑定
unbind(ChannelContext) - Method in class org.tio.core.maintain.Users
解除channelContext绑定的userid
unbind(TioConfig, String) - Method in class org.tio.core.maintain.Users
解除tioConfig范围内所有ChannelContext的 userid绑定
unbindBsId(ChannelContext) - Static method in class org.tio.core.Tio
解绑业务id
unbindGroup(ChannelContext) - Static method in class org.tio.core.Tio
与所有组解除解绑关系
unbindGroup(String, ChannelContext) - Static method in class org.tio.core.Tio
与指定组解除绑定关系
unbindGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
将某用户从组中解除绑定
unbindToken(ChannelContext) - Static method in class org.tio.core.Tio
解除channelContext绑定的token
unbindToken(TioConfig, String) - Static method in class org.tio.core.Tio
解除token
unbindUser(ChannelContext) - Static method in class org.tio.core.Tio
解除channelContext绑定的userid
unbindUser(TioConfig, String) - Static method in class org.tio.core.Tio
解除userid的绑定。
UNKNOWN_ADDRESS_IP - Static variable in class org.tio.core.ChannelContext
 
UNKNOWN_ADDRESS_PORT_SEQ - Static variable in class org.tio.core.ChannelContext
 
useQueueDecode - Variable in class org.tio.core.TioConfig
是否用队列解码(系统初始化时确定该值,中途不要变更此值,否则在切换的时候可能导致消息丢失)
useQueueSend - Variable in class org.tio.core.TioConfig
是否用队列发送
Users - Class in org.tio.core.maintain
一对多 (userid <--> ChannelContext)
Users() - Constructor for class org.tio.core.maintain.Users
 
users - Variable in class org.tio.core.TioConfig
 
useSsl() - Method in class org.tio.client.TioClientConfig
使用ssl访问
useSsl(String, String, ClientAuth) - Method in class org.tio.server.TioServerConfig
开启 ssl
useSsl(String, String) - Method in class org.tio.server.TioServerConfig
开启 ssl
useSsl(InputStream, String) - Method in class org.tio.server.TioServerConfig
开启 ssl
useSsl(InputStream, String, ClientAuth) - Method in class org.tio.server.TioServerConfig
开启 ssl
uuid() - Method in interface org.tio.core.intf.TioUuid
唯一id
uuid() - Method in class org.tio.core.uuid.DefaultTioUuid
 
uuid() - Method in class org.tio.core.uuid.SeqTioUuid
 
uuid() - Method in class org.tio.core.uuid.SnowflakeTioUuid
 

V

valueOf(String) - Static method in enum org.tio.client.task.HeartbeatTimeoutStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.ChannelContext.CloseCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.PacketHandlerMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.PacketSendMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.ssl.ClientAuth
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.ssl.SslCertType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.task.HeartbeatMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.server.cluster.message.ClusterMessageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.tio.client.task.HeartbeatTimeoutStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.ChannelContext.CloseCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.PacketHandlerMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.PacketSendMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.ssl.ClientAuth
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.ssl.SslCertType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.task.HeartbeatMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.server.cluster.message.ClusterMessageType
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitingResps - Variable in class org.tio.core.TioConfig
 
writeCompletionHandler - Variable in class org.tio.core.ChannelContext
 
WriteCompletionHandler - Class in org.tio.core
 
WriteCompletionHandler(ChannelContext) - Constructor for class org.tio.core.WriteCompletionHandler
 
WriteCompletionHandler.WriteCompletionVo - Class in org.tio.core
 
WriteCompletionVo(ByteBuffer, Object) - Constructor for class org.tio.core.WriteCompletionHandler.WriteCompletionVo
WriteCompletionVo
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2025. All rights reserved.