lith 4 yıl önce
ebeveyn
işleme
2f5e2e0454
19 değiştirilmiş dosya ile 45 ekleme ve 45 silme
  1. 2 2
      dotnet/Gateway/App.Gateway/appsettings.json
  2. 1 1
      dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/Mode/SpinWait/DeliveryClient.cs
  3. 1 1
      dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/Mode/SpinWait/DeliveryServer.cs
  4. 2 2
      dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/OrganizeClientBuilder.cs
  5. 2 2
      dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/OrganizeServerBuilder.cs
  6. 5 5
      dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmClient/appsettings.json
  7. 5 5
      dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmServer/appsettings.json
  8. 1 1
      dotnet/Library/Sers/Sers.CL/Test/MessageDelivery/DeliveryClient/Program.cs
  9. 1 1
      dotnet/Library/Sers/Sers.CL/Test/MessageDelivery/DeliveryClient/README.md
  10. 1 1
      dotnet/Library/Sers/Sers.CL/Test/MessageDelivery/DeliveryServer/Program.cs
  11. 2 2
      dotnet/ServiceCenter/App.Gover.Gateway/appsettings.json
  12. 5 5
      dotnet/ServiceCenter/App.ServiceCenter/appsettings.json
  13. 5 5
      dotnet/ServiceStation/Demo/SersLoader/Did.SersLoader.Demo/appsettings.json
  14. 2 2
      dotnet/ServiceStation/Demo/SersLoader/Did.SersLoader.HelloWorld/appsettings.json
  15. 2 2
      dotnet/ServiceStation/Demo/Serslot/Did.Serslot.Demo/appsettings.json
  16. 2 2
      dotnet/ServiceStation/Demo/Serslot/Did.Serslot.HelloWorld/Doc/Serslot之HelloWorld.md
  17. 2 2
      dotnet/ServiceStation/Demo/Serslot/Did.Serslot.HelloWorld/appsettings.json
  18. 2 2
      dotnet/ServiceStation/Demo/Serslot/Did.Serslot.HelloWorld60/appsettings.json
  19. 2 2
      dotnet/ServiceStation/Demo/StressTest/App.Robot.Station/appsettings.json

+ 2 - 2
dotnet/Gateway/App.Gateway/appsettings.json

@@ -10,8 +10,8 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* (x.2) conn config */
           /* 服务端 host地址。例如: "127.0.0.1"、"sers.cloud" */

+ 1 - 1
dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/Mode/SpinWait/DeliveryClient.cs

@@ -7,7 +7,7 @@ using Sers.CL.Socket.Iocp.Mode.Timer;
 using Vit.Core.Module.Log;
 using Vit.Core.Util.Threading;
 
-namespace Sers.CL.Socket.Iocp.Mode.SpinWait
+namespace Sers.CL.Socket.Iocp.Mode.ThreadWait
 {
     public class DeliveryClient : DeliveryClient_Base<DeliveryConnection>
     {

+ 1 - 1
dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/Mode/SpinWait/DeliveryServer.cs

@@ -6,7 +6,7 @@ using Sers.CL.Socket.Iocp.Mode.Timer;
 using Vit.Core.Module.Log;
 using Vit.Core.Util.Threading;
 
-namespace Sers.CL.Socket.Iocp.Mode.SpinWait
+namespace Sers.CL.Socket.Iocp.Mode.ThreadWait
 {
     public class DeliveryServer : DeliveryServer_Base<DeliveryConnection>
     {

+ 2 - 2
dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/OrganizeClientBuilder.cs

@@ -72,9 +72,9 @@ namespace Sers.CL.Socket.Iocp
                         organizeList.Add(new OrganizeClient(delivery, config));
                     }
                     break;
-                case "SpinWait":           
+                case "ThreadWait":           
                     {
-                        var delivery = new Mode.SpinWait.DeliveryClient();
+                        var delivery = new Mode.ThreadWait.DeliveryClient();
 
                         delivery.securityManager = securityManager;
 

+ 2 - 2
dotnet/Library/Sers/Sers.CL/Socket/Sers.CL.Socket.Iocp/OrganizeServerBuilder.cs

@@ -70,9 +70,9 @@ namespace Sers.CL.Socket.Iocp
                         organizeList.Add(new OrganizeServer(delivery, config));
                     }
                     break;
-                 case "SpinWait":           
+                 case "ThreadWait":           
                     {
-                        var delivery = new Mode.SpinWait.DeliveryServer();
+                        var delivery = new Mode.ThreadWait.DeliveryServer();
 
                         delivery.securityManager = securityManager;
 

+ 5 - 5
dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmClient/appsettings.json

@@ -48,17 +48,17 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          "mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          "mode": "ThreadWait",
 
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           "receiveBufferSize": 8192,
 
-          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和ThreadWait时有效)  */
           "sendFlushInterval": 1,
-          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和ThreadWait时有效)  */
           "sendBufferSize": 1000000,
-          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和SpinWait时有效)    */
+          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和ThreadWait时有效)    */
           "sendBufferCount": 1024,
 
 

+ 5 - 5
dotnet/Library/Sers/Sers.CL/Test/CommunicationManage/CmServer/appsettings.json

@@ -45,17 +45,17 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeServerBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          "mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          "mode": "ThreadWait",
 
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           "receiveBufferSize": 8192,
 
-          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和ThreadWait时有效)  */
           "sendFlushInterval": 1,
-          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和ThreadWait时有效)  */
           "sendBufferSize": 1000000,
-          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和SpinWait时有效)    */
+          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和ThreadWait时有效)    */
           "sendBufferCount": 1024,
 
           /* (x.2) config */

+ 1 - 1
dotnet/Library/Sers/Sers.CL/Test/MessageDelivery/DeliveryClient/Program.cs

@@ -82,7 +82,7 @@ namespace DeliveryTest
             IDeliveryClient client;
 
             {
-                //var delivery = new Sers.CL.Socket.Iocp.Mode.SpinWait.DeliveryClient();
+                //var delivery = new Sers.CL.Socket.Iocp.Mode.ThreadWait.DeliveryClient();
                 var delivery = new Sers.CL.Socket.Iocp.Mode.Timer.DeliveryClient();
                 //delivery.receiveBufferSize = 81920;
                 client = delivery;

+ 1 - 1
dotnet/Library/Sers/Sers.CL/Test/MessageDelivery/DeliveryClient/README.md

@@ -47,7 +47,7 @@ qpsΪ 1
 
 
 #------------------------------------
-windows SpinWait
+windows ThreadWait
 thread = 40000		msgLen = 1       qps = 117Íò
 
 

+ 1 - 1
dotnet/Library/Sers/Sers.CL/Test/MessageDelivery/DeliveryServer/Program.cs

@@ -47,7 +47,7 @@ namespace DeliveryTest
             IDeliveryServer server;
 
             {
-                //var delivery = new Sers.CL.Socket.Iocp.Mode.SpinWait.DeliveryServer();
+                //var delivery = new Sers.CL.Socket.Iocp.Mode.ThreadWait.DeliveryServer();
                 var delivery = new Sers.CL.Socket.Iocp.Mode.Timer.DeliveryServer();
                 //delivery.receiveBufferSize = 81920;
 

+ 2 - 2
dotnet/ServiceCenter/App.Gover.Gateway/appsettings.json

@@ -10,8 +10,8 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* (x.2) conn config */
           /* 服务端 host地址。例如: "127.0.0.1"、"sers.cloud" */

+ 5 - 5
dotnet/ServiceCenter/App.ServiceCenter/appsettings.json

@@ -66,17 +66,17 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeServerBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           //"receiveBufferSize": 8192,
 
-          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和ThreadWait时有效)  */
           //"sendFlushInterval": 1,
-          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和ThreadWait时有效)  */
           //"sendBufferSize": 1000000,
-          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和SpinWait时有效)    */
+          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和ThreadWait时有效)    */
           //"sendBufferCount": 1024,
 
 

+ 5 - 5
dotnet/ServiceStation/Demo/SersLoader/Did.SersLoader.Demo/appsettings.json

@@ -71,17 +71,17 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* 接收缓存区大小(单位:byte,默认:8192)  */
           //"receiveBufferSize": 8192,
 
-          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区刷新间隔(单位:毫秒,默认:1)(仅当mode为Timer和ThreadWait时有效)  */
           //"sendFlushInterval": 1,
-          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和SpinWait时有效)  */
+          /* 发送缓冲区数据块的最小大小(单位:byte,默认 1000000)(仅当mode为Timer和ThreadWait时有效)  */
           //"sendBufferSize": 1000000,
-          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和SpinWait时有效)    */
+          /* 发送缓冲区个数(默认1024)(仅当mode为Timer和ThreadWait时有效)    */
           //"sendBufferCount": 1024,
 
 

+ 2 - 2
dotnet/ServiceStation/Demo/SersLoader/Did.SersLoader.HelloWorld/appsettings.json

@@ -10,8 +10,8 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* (x.2) conn config */
           /* 服务端 host地址。例如: "127.0.0.1"、"sers.cloud" */

+ 2 - 2
dotnet/ServiceStation/Demo/Serslot/Did.Serslot.Demo/appsettings.json

@@ -25,8 +25,8 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* (x.2) conn config */
           /* 服务端 host地址。例如: "127.0.0.1"、"sers.cloud" */

+ 2 - 2
dotnet/ServiceStation/Demo/Serslot/Did.Serslot.HelloWorld/Doc/Serslot之HelloWorld.md

@@ -65,8 +65,8 @@ namespace SerslotDemo
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* (x.2) conn config */
           /* 服务端 host地址。例如: "127.0.0.1"、"sers.cloud" */

+ 2 - 2
dotnet/ServiceStation/Demo/Serslot/Did.Serslot.HelloWorld/appsettings.json

@@ -10,8 +10,8 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* (x.2) conn config */
           /* 服务端 host地址。例如: "127.0.0.1"、"sers.cloud" */

+ 2 - 2
dotnet/ServiceStation/Demo/Serslot/Did.Serslot.HelloWorld60/appsettings.json

@@ -10,8 +10,8 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
           /* (x.2) conn config */
           /* 服务端 host地址。例如: "127.0.0.1"、"sers.cloud" */

+ 2 - 2
dotnet/ServiceStation/Demo/StressTest/App.Robot.Station/appsettings.json

@@ -60,8 +60,8 @@
           /* the class of builder in assemblyFile  */
           "className": "Sers.CL.Socket.Iocp.OrganizeClientBuilder",
 
-          /* 通信模式(默认值:Simple)。可为 Simple、Timer、SpinWait  */
-          //"mode": "Timer",
+          /* 通信模式(默认值:Simple)。可为 Simple、Timer、ThreadWait  */
+          //"mode": "ThreadWait",
 
 
           /* (x.2) config */