@@ -15,16 +15,20 @@ public class Base
1515 CommandInfos = new QpCommandInfo [ ]
1616 {
1717 QpCommandInfo . Create (
18- new Commands . Connect . Request ( ) { InstructionIds = new [ ] { typeof ( Base ) . FullName } } ,
19- new Commands . Connect . Response ( ) { Question = Guid . NewGuid ( ) . ToString ( "N" ) } ) ,
18+ Commands . Connect . Request . GetDefine ( ) ,
19+ Commands . Connect . Response . GetDefine ( ) ) ,
2020 QpCommandInfo . Create (
21- new Commands . Authenticate . Request ( ) { Answer = Guid . NewGuid ( ) . ToString ( "N" ) } ,
22- new Commands . Authenticate . Response ( ) ) ,
23- QpCommandInfo . Create ( new Commands . HandShake . Request ( ) ) ,
21+ Commands . Authenticate . Request . GetDefine ( ) ,
22+ Commands . Authenticate . Response . GetDefine ( ) ) ,
2423 QpCommandInfo . Create (
25- new Commands . PrivateCommand . Request ( ) { Action = "Action" , Content = "Content" } ,
26- new Commands . PrivateCommand . Response ( ) { Content = "Content" } ) ,
27- QpCommandInfo . Create ( new Commands . GetQpInstructions . Request ( ) )
24+ Commands . HandShake . Request . GetDefine ( ) ,
25+ Commands . HandShake . Response . GetDefine ( ) ) ,
26+ QpCommandInfo . Create (
27+ Commands . PrivateCommand . Request . GetDefine ( ) ,
28+ Commands . PrivateCommand . Response . GetDefine ( ) ) ,
29+ QpCommandInfo . Create (
30+ Commands . GetQpInstructions . Request . GetDefine ( ) ,
31+ Commands . GetQpInstructions . Response . GetDefine ( ) )
2832 }
2933 } ;
3034 }
0 commit comments