NetworkDoubleBaseConnectServer 方法 |
名称 | 说明 | |
---|---|---|
ConnectServer |
尝试连接远程的服务器,如果连接成功,就切换短连接模式到长连接模式,后面的每次请求都共享一个通道,使得通讯速度更快速 Try to connect to a remote server. If the connection is successful, switch the short connection mode to the long connection mode. Each subsequent request will share a channel, making the communication speed faster. | |
ConnectServer(AlienSession) |
使用指定的套接字创建异形客户端,在异形客户端的模式下,网络通道需要被动创建。 Use the specified socket to create the alien client. In the alien client mode, the network channel needs to be created passively. | |
ConnectServer(MqttClient, String, String) |
使用一个MQTT中转服务器来连接设备对象,并进行相关的读取操作
|