{ "Sers": { /* 通讯层配置 */ "CL": { /* one conn is one channel.can be multiable */ "Client": [ { // Socket.Iocp /* (x.1) type - Iocp */ /* the class of builder in assemblyFile */ "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder", /* (x.2) conn config */ /* 服务端 host地址。例如: "127.0.0.1"、"sers.com" */ "host": "127.0.0.1", /* 服务端 监听端口号。例如: 4501 */ "port": 4501, /* 连接秘钥,用以验证连接安全性。服务端和客户端必须一致 */ "secretKey": "SersCL" } ] }, /* LocalApiService 配置,可不指定 */ "LocalApiService": { /* 后台服务的线程个数(单位个,默认0,代表不开启服务) */ "workThreadCount": 4, /* 默认站点名称,可多个,可不指定 */ "apiStationName": [ "Tool" ] }, /* ServiceStation配置,可不指定 */ "ServiceStation": { /* serviceStation站点信息 */ "serviceStationInfo": { "serviceStationName": "DataPort" } } } }