| DTUServer 方法 | 
DTUServer 类型公开以下成员。
 方法
方法| 名称 | 说明 | |
|---|---|---|
|  | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(继承自 NetworkAlienClient。) | 
|  | Dispose(Boolean) | 
            释放当前的对象
            (继承自 NetworkAlienClient。) | 
|  | Equals | Determines whether the specified object is equal to the current object.(继承自 Object。) | 
|  | ExtraOnClose | 
            关闭的时候额外执行的功能代码
            (重写 CommunicationTcpServerExtraOnClose.) | 
|  | ExtraOnStart | 
            服务器启动的时候额外执行的功能代码
            (继承自 CommunicationTcpServer。) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(继承自 Object。) | 
|  | GetDevices | 
            获取所有的设备的信息,可以用来读写设备的数据信息 Get all device information, can be used to read and write device data information | 
|  | GetHashCode | Serves as the default hash function.(继承自 Object。) | 
|  | GetPipeSessions | 
            获取所有的会话信息,是否在线,上线的基本信息 Get all the session information, whether it is online, online basic information | 
|  | GetTrustedClients | 
            获取受信任的客户端列表(继承自 CommunicationTcpServer。) Get a list of trusted clients | 
|  | GetType | Gets the Type of the current instance.(继承自 Object。) | 
|  | IsClientOnline | 
            检测当前的DTU是否在线
            (重写 NetworkAlienClientIsClientOnline(PipeDtuNet).) | 
|  | LogDebugMsg | 
            记录当前的日志信息
            (继承自 CommunicationTcpServer。) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(继承自 Object。) | 
|  | ServerClose | 
            关闭服务器的引擎(继承自 CommunicationTcpServer。) Shut down the server's engine | 
|  | ServerStart | 
            指定端口号来启动服务器的引擎(继承自 CommunicationTcpServer。) Specify the port number to start the server's engine | 
|  | ServerStart(Int32) | 
            指定端口号来启动服务器的引擎(继承自 CommunicationTcpServer。) Specify the port number to start the server's engine | 
|  | SetPassword | 
            设置密码,需要传入长度为6的字节数组(继承自 NetworkAlienClient。) To set the password, you need to pass in an array of bytes of length 6 | 
|  | SetSslPipeAction | 
            设置一个SSL的管道操作对象,在管道实例化之后,可以进行一些初始化的属性设置,例如自定义 SslProtocols 枚举(继承自 CommunicationTcpServer。) | 
|  | SetTrustClients | 
            设置可信任的客户端列表,传入一个DTU的列表信息(继承自 NetworkAlienClient。) Set up the list of trusted clients, passing in the list information for a DTU | 
|  | SetTrustedIpAddress | 
            设置并启动受信任的客户端登录并读写,如果为null,将关闭对客户端的ip验证(继承自 CommunicationTcpServer。) Set and start the trusted client login and read and write, if it is null, the client's IP verification will be turned off | 
|  | SocketAcceptExtraCheck | 
            当客户端的socket登录的时候额外检查的操作,并返回操作的结果信息。(继承自 CommunicationTcpServer。) The operation is additionally checked when the client's socket logs in, and the result information of the operation is returned. | 
|  | ThreadPoolLogin | 
            当接收到了新的请求的时候执行的操作(继承自 NetworkAlienClient。) An action performed when a new request is received | 
|  | ToString | Returns a string that represents the current object.(重写 NetworkAlienClientToString.) | 
|  | UseSSL(X509Certificate) | 
            使用SSL通信,传递一个证书的对象
            (继承自 CommunicationTcpServer。) | 
|  | UseSSL(String, String) | 
            使用SSL通信,传递一个证书的路径,以及证书的密码
            (继承自 CommunicationTcpServer。) | 
 扩展方法
扩展方法| 名称 | 说明 | |
|---|---|---|
|  | ToJsonString | 
            获取当前对象的JSON格式表示的字符串。(由 HslExtension 定义。) Gets the string represented by the JSON format of the current object. | 
 参见
参见