CommunicationTcpServer 方法 |
CommunicationTcpServer 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
| ExtraOnClose |
关闭的时候额外执行的功能代码
| |
| ExtraOnStart |
服务器启动的时候额外执行的功能代码
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
| GetHashCode | Serves as the default hash function. (继承自 Object。) | |
| GetTrustedClients |
获取受信任的客户端列表 Get a list of trusted clients | |
| GetType | Gets the Type of the current instance. (继承自 Object。) | |
| LogDebugMsg |
记录当前的日志信息
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
| ServerClose |
关闭服务器的引擎 Shut down the server's engine | |
| ServerStart |
指定端口号来启动服务器的引擎 Specify the port number to start the server's engine | |
| ServerStart(Int32) |
指定端口号来启动服务器的引擎 Specify the port number to start the server's engine | |
| SetSslPipeAction |
设置一个SSL的管道操作对象,在管道实例化之后,可以进行一些初始化的属性设置,例如自定义 SslProtocols 枚举 | |
| SetTrustedIpAddress |
设置并启动受信任的客户端登录并读写,如果为null,将关闭对客户端的ip验证 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登录的时候额外检查的操作,并返回操作的结果信息。 The operation is additionally checked when the client's socket logs in, and the result information of the operation is returned. | |
| ThreadPoolLogin |
当客户端连接到服务器,并听过额外的检查后,进行回调的方法 Callback method when the client connects to the server and has heard additional checks | |
| ToString | Returns a string that represents the current object. (继承自 Object。) | |
| UseSSL(X509Certificate) |
使用SSL通信,传递一个证书的对象
| |
| UseSSL(String, String) |
使用SSL通信,传递一个证书的路径,以及证书的密码
|
| 名称 | 说明 | |
|---|---|---|
| ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |