A B C D E G H I L M N O P R S T V W
A
- AbstractClient<T> - me.hekr.iotos.softgateway.network.common.client中的类
-
- AbstractClient(Class<? extends Channel>) - 类 的构造器me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- AbstractClient(Class<? extends Channel>, int) - 类 的构造器me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- address - 类 中的变量me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- await(long) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
B
- bindPort - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
C
- channel - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- channel - 类 中的变量me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- channelActive(ChannelHandlerContext) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.ClientMessageHandler
-
- channelClass - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- channelInactive(ChannelHandlerContext) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.ClientMessageHandler
-
- channelRead0(ChannelHandlerContext, InternalPacket<T>) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.ClientMessageHandler
-
- ChannelUtil - me.hekr.iotos.softgateway.network.common.util中的类
-
- ChannelUtil() - 类 的构造器me.hekr.iotos.softgateway.network.common.util.ChannelUtil
-
- clientMessageHandler - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- ClientMessageHandler<T> - me.hekr.iotos.softgateway.network.common.client中的类
-
- ClientMessageHandler(AbstractClient<T>, CommonMessageListener<T>, EventListener<T>, boolean) - 类 的构造器me.hekr.iotos.softgateway.network.common.client.ClientMessageHandler
-
- close() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- close() - 类 中的方法me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- close(EventLoopGroup) - 类 中的静态方法me.hekr.iotos.softgateway.network.common.util.NetUtil
-
- CloseReason - me.hekr.iotos.softgateway.network.common中的枚举
-
- CommonMessageListener<T> - me.hekr.iotos.softgateway.network.common.client中的接口
-
- connect() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- ConnectionContext<T> - me.hekr.iotos.softgateway.network.common中的类
-
- ConnectionContext(InetSocketAddress, T) - 类 的构造器me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- connectTime - 类 中的变量me.hekr.iotos.softgateway.network.common.ConnectionContext
-
链接时间
- connectTimeout - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
连接超时,毫秒
D
- decode(byte[]) - 接口 中的方法me.hekr.iotos.softgateway.network.common.coder.PacketCoder
-
解码数据
提示:之所以用bytes 入参,是为了减少对 netty 的依赖,使开发者直接使用熟悉的字节操作。
- DecodePacket - me.hekr.iotos.softgateway.network.common中的类
-
- DecodePacket() - 类 的构造器me.hekr.iotos.softgateway.network.common.DecodePacket
-
- doSend(InternalPacket<T>) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
E
- enableNetLog - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- encode(T) - 接口 中的方法me.hekr.iotos.softgateway.network.common.coder.PacketCoder
-
编码
- EventListener<T> - me.hekr.iotos.softgateway.network.common.client中的接口
-
新的客户端连接上来监听
- EventListenerAdapter<T> - me.hekr.iotos.softgateway.network.common.client中的类
-
如果不想实现所有事件监听,可以继承这个类
- EventListenerAdapter() - 类 的构造器me.hekr.iotos.softgateway.network.common.client.EventListenerAdapter
-
- eventLoop - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- exceptionCaught(ChannelHandlerContext, Throwable) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.ClientMessageHandler
-
- exceptionCaught(ConnectionContext<T>, Throwable) - 接口 中的方法me.hekr.iotos.softgateway.network.common.client.EventListener
-
异常处理
- exceptionCaught(ConnectionContext<T>, Throwable) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.EventListenerAdapter
-
G
- get(Object) - 类 中的方法me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- getPacketCoderHandler() - 接口 中的方法me.hekr.iotos.softgateway.network.common.client.PacketCoderHandlerFactory
-
获取ChannelHandler
H
- host - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
I
- init() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
初始化工作
- InternalPacket<T> - me.hekr.iotos.softgateway.network.common中的类
-
- isConnected() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
L
- lastReceiveTime - 类 中的变量me.hekr.iotos.softgateway.network.common.ConnectionContext
-
最后接收时间
- lastSendTime - 类 中的变量me.hekr.iotos.softgateway.network.common.ConnectionContext
-
最后发送时间
- LOCK - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- loopConnect() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
直到连接成功
M
- me.hekr.iotos.softgateway.network.common - 程序包 me.hekr.iotos.softgateway.network.common
-
- me.hekr.iotos.softgateway.network.common.client - 程序包 me.hekr.iotos.softgateway.network.common.client
-
- me.hekr.iotos.softgateway.network.common.coder - 程序包 me.hekr.iotos.softgateway.network.common.coder
-
- me.hekr.iotos.softgateway.network.common.listener - 程序包 me.hekr.iotos.softgateway.network.common.listener
-
- me.hekr.iotos.softgateway.network.common.util - 程序包 me.hekr.iotos.softgateway.network.common.util
-
- message - 类 中的变量me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- messageListener - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- MessageListener<T extends ConnectionContext<?>> - me.hekr.iotos.softgateway.network.common.listener中的接口
-
N
- NetUtil - me.hekr.iotos.softgateway.network.common.util中的类
-
- NetUtil() - 类 的构造器me.hekr.iotos.softgateway.network.common.util.NetUtil
-
- NULL - 类 中的静态变量me.hekr.iotos.softgateway.network.common.DecodePacket
-
O
- onConnect(ConnectionContext<T>) - 接口 中的方法me.hekr.iotos.softgateway.network.common.client.EventListener
-
客户端与服务端建立连接
- onConnect(ConnectionContext<T>) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.EventListenerAdapter
-
- onDisconnect(ConnectionContext<T>, CloseReason) - 接口 中的方法me.hekr.iotos.softgateway.network.common.client.EventListener
-
客户端与服务端断开连接
- onDisconnect(ConnectionContext<T>, CloseReason) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.EventListenerAdapter
-
- onHeartbeatTimeout(ConnectionContext<T>, LocalDateTime, int) - 接口 中的方法me.hekr.iotos.softgateway.network.common.client.EventListener
-
* 客户端不活跃(超过了设定的心跳超时时间)
- onHeartbeatTimeout(ConnectionContext<T>, LocalDateTime, int) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.EventListenerAdapter
-
- onMessage(T) - 接口 中的方法me.hekr.iotos.softgateway.network.common.listener.MessageListener
-
收到消息
P
- PacketCoder<T> - me.hekr.iotos.softgateway.network.common.coder中的接口
-
- packetCoderHandlerFactory - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
实现类传递
- PacketCoderHandlerFactory - me.hekr.iotos.softgateway.network.common.client中的接口
-
- port - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- preDestroy() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
准备关闭
- put(Object, Object) - 类 中的方法me.hekr.iotos.softgateway.network.common.ConnectionContext
-
R
- result - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
S
- send(T) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
发送数据
如果设置sync 为 true,会等待返回数据
- setConnectTime() - 类 中的方法me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- setEventListener(EventListener<T>) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- setPacketCoder(PacketCoder<T>) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
设置编解码器
- signalAll() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
- start() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
启动
- STRING_CODER - 接口 中的静态变量me.hekr.iotos.softgateway.network.common.coder.PacketCoder
-
如果传输数据是 String,可以使用这个编解码实现
- sync - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
是不是同步;true 同步模式,即发送消息后等待数据返回
参考 AbstractClient#setTimeout(int) 超时时间
T
- timeout - 类 中的变量me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
命令回复超时时间,毫秒
- toString() - 枚举 中的方法me.hekr.iotos.softgateway.network.common.CloseReason
-
V
- valueOf(String) - 枚举 中的静态方法me.hekr.iotos.softgateway.network.common.CloseReason
-
返回带有指定名称的该类型的枚举常量。
- values() - 枚举 中的静态方法me.hekr.iotos.softgateway.network.common.CloseReason
-
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
W
- wrap(InetSocketAddress) - 类 中的静态方法me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- wrap(InetSocketAddress, T) - 类 中的静态方法me.hekr.iotos.softgateway.network.common.ConnectionContext
-
- wrap(Object, int) - 类 中的静态方法me.hekr.iotos.softgateway.network.common.DecodePacket
-
- wrap(T, InetSocketAddress) - 类 中的静态方法me.hekr.iotos.softgateway.network.common.InternalPacket
-
- wrap(T) - 类 中的静态方法me.hekr.iotos.softgateway.network.common.InternalPacket
-
A B C D E G H I L M N O P R S T V W
Copyright © 2023. All rights reserved.