RedisSubscribe 属性 |
RedisSubscribe 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ConnectTimeOut |
获取或设置当前连接超时时间,主要对 ConnectServer 方法有影响,默认值为 5000,也即是5秒。 Get or set the current connection timeout period, which mainly affects the ConnectServer method. The default value is 5000, which is 5 seconds. | |
LogNet |
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出 (继承自 NetworkBase。)The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG | |
Password |
如果Redis服务器设置了密码,此处就需要进行设置。必须在 ConnectServer 方法调用前设置。 If the Redis server has set a password, it needs to be set here. Must be set before the ConnectServer method is called. | |
Token |
网络类的身份令牌,在hsl协议的模式下会有效,在和设备进行通信的时候是无效的 (继承自 NetworkBase。)Network-type identity tokens will be valid in the hsl protocol mode and will not be valid when communicating with the device |