Skip to content

Commit 38362bb

Browse files
committed
adding (not finished) a non-routine simple stresstest - one spawning routing, one sending, one receiving routine. Last commit for sometime
1 parent b989ac7 commit 38362bb

23 files changed

+14009
-1234
lines changed

AuthC2SProtocol.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,8 @@ message MonitorPoll
140140
required int32 type = 2;
141141
optional bytes parameter = 3;
142142
}
143+
message DeleteAccount
144+
{
145+
required int32 userid = 1;
146+
}
147+

AuthOpCode.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ namespace AUTHC2SNS
9494
ChangePassword_CMD = 0x09,
9595
RequestUserPluginNotificationInfo_CMD = 0x0a,
9696
ChangePluginNotification_CMD = 0x0b,
97+
DeleteAccount_CMD = 0x0c,
9798

9899
DeviceTokenSubmit_CMD = 0x90,
99100
DeviceTokenRemove_CMD = 0x91,

Auth_C2S/AuthC2SProtocol.pb.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GeneratedDataStructure/generatedDataStructure.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,9 @@ func init() {
353353
var aAuth_C2S_CreateChannelRequest Auth_C2S.CreateChannelRequest
354354
Map["Auth_C2S_CreateChannelRequest"] = reflect.TypeOf(aAuth_C2S_CreateChannelRequest)
355355

356+
var aAuth_C2S_DeleteAccount Auth_C2S.DeleteAccount
357+
Map["Auth_C2S_DeleteAccount"] = reflect.TypeOf(aAuth_C2S_DeleteAccount)
358+
356359
var aAuth_C2S_FillFinishReg Auth_C2S.FillFinishReg
357360
Map["Auth_C2S_FillFinishReg"] = reflect.TypeOf(aAuth_C2S_FillFinishReg)
358361

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
package GeneratedResetDataStructure
3+
4+
import (
5+
6+
"reflect"
7+
8+
"xmltest/btalkTest/Helper"
9+
10+
)
11+
// exported FuncMap
12+
var FuncMap map[string] reflect.Value
13+
14+
func init() {
15+
FuncMap = make(map[string] reflect.Value)
16+
17+
FuncMap["Helper_FileContent"] = reflect.ValueOf(Helper.FileContent)
18+
19+
FuncMap["Helper_FileContentMultiPart"] = reflect.ValueOf(Helper.FileContentMultiPart)
20+
21+
FuncMap["Helper_FileSize"] = reflect.ValueOf(Helper.FileSize)
22+
23+
FuncMap["Helper_GetCurrentUserName"] = reflect.ValueOf(Helper.GetCurrentUserName)
24+
25+
FuncMap["Helper_GetNextUserEmail"] = reflect.ValueOf(Helper.GetNextUserEmail)
26+
27+
FuncMap["Helper_GetOAuthRaw"] = reflect.ValueOf(Helper.GetOAuthRaw)
28+
29+
FuncMap["Helper_IncTimestamp"] = reflect.ValueOf(Helper.IncTimestamp)
30+
31+
FuncMap["Helper_Md5For"] = reflect.ValueOf(Helper.Md5For)
32+
33+
FuncMap["Helper_NumFilePart"] = reflect.ValueOf(Helper.NumFilePart)
34+
35+
FuncMap["Helper_RequestId"] = reflect.ValueOf(Helper.RequestId)
36+
37+
FuncMap["Helper_Timestamp"] = reflect.ValueOf(Helper.Timestamp)
38+
39+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
2+
package GeneratedResetDataStructure
3+
4+
import (
5+
6+
"reflect"
7+
8+
"xmltest/btalkTest/Auth_C2S"
9+
10+
)
11+
// exported Map
12+
var Map map[string] reflect.Type
13+
14+
func init() {
15+
Map = make(map[string] reflect.Type)
16+
17+
var aAuth_C2S_ChangeMyInfo Auth_C2S.ChangeMyInfo
18+
Map["Auth_C2S_ChangeMyInfo"] = reflect.TypeOf(aAuth_C2S_ChangeMyInfo)
19+
20+
var aAuth_C2S_ChangeNotification Auth_C2S.ChangeNotification
21+
Map["Auth_C2S_ChangeNotification"] = reflect.TypeOf(aAuth_C2S_ChangeNotification)
22+
23+
var aAuth_C2S_ChangePassword Auth_C2S.ChangePassword
24+
Map["Auth_C2S_ChangePassword"] = reflect.TypeOf(aAuth_C2S_ChangePassword)
25+
26+
var aAuth_C2S_ChangePluginNotification Auth_C2S.ChangePluginNotification
27+
Map["Auth_C2S_ChangePluginNotification"] = reflect.TypeOf(aAuth_C2S_ChangePluginNotification)
28+
29+
var aAuth_C2S_CreateChannelRequest Auth_C2S.CreateChannelRequest
30+
Map["Auth_C2S_CreateChannelRequest"] = reflect.TypeOf(aAuth_C2S_CreateChannelRequest)
31+
32+
var aAuth_C2S_DeleteAccount Auth_C2S.DeleteAccount
33+
Map["Auth_C2S_DeleteAccount"] = reflect.TypeOf(aAuth_C2S_DeleteAccount)
34+
35+
var aAuth_C2S_FillFinishReg Auth_C2S.FillFinishReg
36+
Map["Auth_C2S_FillFinishReg"] = reflect.TypeOf(aAuth_C2S_FillFinishReg)
37+
38+
var aAuth_C2S_HelloInfo Auth_C2S.HelloInfo
39+
Map["Auth_C2S_HelloInfo"] = reflect.TypeOf(aAuth_C2S_HelloInfo)
40+
41+
var aAuth_C2S_KeepAlive Auth_C2S.KeepAlive
42+
Map["Auth_C2S_KeepAlive"] = reflect.TypeOf(aAuth_C2S_KeepAlive)
43+
44+
var aAuth_C2S_LoginInfo Auth_C2S.LoginInfo
45+
Map["Auth_C2S_LoginInfo"] = reflect.TypeOf(aAuth_C2S_LoginInfo)
46+
47+
var aAuth_C2S_MonitorPoll Auth_C2S.MonitorPoll
48+
Map["Auth_C2S_MonitorPoll"] = reflect.TypeOf(aAuth_C2S_MonitorPoll)
49+
50+
var aAuth_C2S_OAuthLogin Auth_C2S.OAuthLogin
51+
Map["Auth_C2S_OAuthLogin"] = reflect.TypeOf(aAuth_C2S_OAuthLogin)
52+
53+
var aAuth_C2S_OAuthRawInfo Auth_C2S.OAuthRawInfo
54+
Map["Auth_C2S_OAuthRawInfo"] = reflect.TypeOf(aAuth_C2S_OAuthRawInfo)
55+
56+
var aAuth_C2S_RegAccount Auth_C2S.RegAccount
57+
Map["Auth_C2S_RegAccount"] = reflect.TypeOf(aAuth_C2S_RegAccount)
58+
59+
var aAuth_C2S_RequestChannelInfo Auth_C2S.RequestChannelInfo
60+
Map["Auth_C2S_RequestChannelInfo"] = reflect.TypeOf(aAuth_C2S_RequestChannelInfo)
61+
62+
var aAuth_C2S_RequestChannelList Auth_C2S.RequestChannelList
63+
Map["Auth_C2S_RequestChannelList"] = reflect.TypeOf(aAuth_C2S_RequestChannelList)
64+
65+
var aAuth_C2S_RequestChannelList_RequestChannelType Auth_C2S.RequestChannelList_RequestChannelType
66+
Map["Auth_C2S_RequestChannelList_RequestChannelType"] = reflect.TypeOf(aAuth_C2S_RequestChannelList_RequestChannelType)
67+
68+
var aAuth_C2S_RequestPluginNotificationInfo Auth_C2S.RequestPluginNotificationInfo
69+
Map["Auth_C2S_RequestPluginNotificationInfo"] = reflect.TypeOf(aAuth_C2S_RequestPluginNotificationInfo)
70+
71+
var aAuth_C2S_RequestToken Auth_C2S.RequestToken
72+
Map["Auth_C2S_RequestToken"] = reflect.TypeOf(aAuth_C2S_RequestToken)
73+
74+
var aAuth_C2S_RequestUserNotificationInfo Auth_C2S.RequestUserNotificationInfo
75+
Map["Auth_C2S_RequestUserNotificationInfo"] = reflect.TypeOf(aAuth_C2S_RequestUserNotificationInfo)
76+
77+
var aAuth_C2S_RequestUserNumList Auth_C2S.RequestUserNumList
78+
Map["Auth_C2S_RequestUserNumList"] = reflect.TypeOf(aAuth_C2S_RequestUserNumList)
79+
80+
var aAuth_C2S_VMModuleInfoList Auth_C2S.VMModuleInfoList
81+
Map["Auth_C2S_VMModuleInfoList"] = reflect.TypeOf(aAuth_C2S_VMModuleInfoList)
82+
83+
var aAuth_C2S_VMModuleInfoList_VMModuleInfo Auth_C2S.VMModuleInfoList_VMModuleInfo
84+
Map["Auth_C2S_VMModuleInfoList_VMModuleInfo"] = reflect.TypeOf(aAuth_C2S_VMModuleInfoList_VMModuleInfo)
85+
86+
}

0 commit comments

Comments
 (0)