- send(T) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
发送数据
如果设置sync 为 true,会等待返回数据
- setConnectTime() - 类 中的方法me.hekr.iotos.softgateway.network.common.ConnectionContext
-
Setter for the field connectTime.
- setEventListener(EventListener<T>) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
Setter for the field eventListener.
- setPacketCoder(PacketCoder<T>) - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
设置编解码器
- signalAll() - 类 中的方法me.hekr.iotos.softgateway.network.common.client.AbstractClient
-
signalAll.
- 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) 超时时间