|
@@ -24,16 +24,32 @@
|
|
|
},
|
|
|
/* one conn is one channel.can be multiable */
|
|
|
"Client": [
|
|
|
+ {
|
|
|
+ // Ipc.NamedPipe
|
|
|
+ /* (x.1) type */
|
|
|
+ /* 在此Assembly中查找Builder */
|
|
|
+ "assemblyFile": "Sers.CL.Ipc.NamedPipe.dll",
|
|
|
+ /* the class of Builder in assemblyFile */
|
|
|
+ "className": "Sers.CL.Ipc.NamedPipe.OrganizeClientBuilder",
|
|
|
+
|
|
|
+
|
|
|
+ /* (x.2) config */
|
|
|
+ // 命名管道只支持本机或局域网。
|
|
|
+ /* 服务端机器名或者ip地址(如 103.23.23.23 、win10f),默认 "." */
|
|
|
+ "serverName": ".",
|
|
|
+ /* 命名管道名称。例如: "Sers.CL.Ipc" */
|
|
|
+ "pipeName": "Sers.CL.Ipc"
|
|
|
+ },
|
|
|
{
|
|
|
// Socket.Iocp
|
|
|
- /* (x.1) type - Iocp */
|
|
|
+ /* (x.1) type */
|
|
|
/* 在此Assembly中查找builder */
|
|
|
"assemblyFile": "Sers.CL.Socket.Iocp.dll",
|
|
|
/* the class of builder in assemblyFile */
|
|
|
//"className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
|
|
|
|
|
|
|
|
|
- /* (x.2) conn config */
|
|
|
+ /* (x.2) config */
|
|
|
/* 服务端 host地址。例如: "127.0.0.1"、"sersms.com" */
|
|
|
"host": "127.0.0.1",
|
|
|
/* 服务端 监听端口号。例如: 4501 */
|
|
@@ -42,7 +58,7 @@
|
|
|
|
|
|
{
|
|
|
// Socket.ThreadWait
|
|
|
- /* (x.1) type - ThreadWait */
|
|
|
+ /* (x.1) type */
|
|
|
/* 在此Assembly中查找builder */
|
|
|
"assemblyFile": "Sers.CL.Socket.ThreadWait.dll",
|
|
|
/* the class of builder in assemblyFile */
|
|
@@ -70,14 +86,14 @@
|
|
|
},
|
|
|
{
|
|
|
// WebSocket
|
|
|
- /* (x.1) type - WebSocket */
|
|
|
+ /* (x.1) type */
|
|
|
/* 在此Assembly中查找builder */
|
|
|
"assemblyFile": "Sers.CL.WebSocket.dll",
|
|
|
/* the class of builder in assemblyFile */
|
|
|
//"className": "Sers.CL.WebSocket.OrganizeClientBuilder",
|
|
|
|
|
|
|
|
|
- /* (x.2) conn config */
|
|
|
+ /* (x.2) config */
|
|
|
/* 服务端地址(默认为 "ws://127.0.0.1:4503") */
|
|
|
"host": "ws://127.0.0.1:4503"
|
|
|
|
|
@@ -99,7 +115,7 @@
|
|
|
|
|
|
{
|
|
|
// Ipc.SharedMemory
|
|
|
- /* (x.1) type - Ipc.SharedMemory */
|
|
|
+ /* (x.1) type */
|
|
|
/* 在此Assembly中查找Builder */
|
|
|
"assemblyFile": "Sers.CL.Ipc.SharedMemory.dll",
|
|
|
/* the class of Builder in assemblyFile */
|
|
@@ -109,21 +125,6 @@
|
|
|
/* (x.2) config */
|
|
|
/* 共享内存名称。例如: "ipcTest" */
|
|
|
"name": "ipcForStationDemo"
|
|
|
- },
|
|
|
- {
|
|
|
- // Ipc.SharedMemory
|
|
|
- /* (x.1) type - Ipc.SharedMemory */
|
|
|
- /* 在此Assembly中查找Builder */
|
|
|
- "assemblyFile": "Sers.CL.Ipc.NamedPipe.dll",
|
|
|
- /* the class of Builder in assemblyFile */
|
|
|
- "className": "Sers.CL.Ipc.NamedPipe.OrganizeClientBuilder",
|
|
|
-
|
|
|
-
|
|
|
- /* (x.2) config */
|
|
|
- /* 共享内存名称。例如: "ipcTest" */
|
|
|
- "serverName": ".",
|
|
|
- /* 共享内存名称。例如: "ipcTest" */
|
|
|
- "pipeName": "ipcForStationDemo"
|
|
|
}
|
|
|
]
|
|
|
}
|