Пример #1
0
 internal PingCommand(bool hasResponse, bool isAsync)
 {
     name                     = "PingCommand";
     base.isAsync             = isAsync;
     _pingCommand             = new Common.Protobuf.PingCommand();
     _pingCommand.requestId   = RequestId;
     _pingCommand.hasResponse = hasResponse;
 }
Пример #2
0
        private CommandInfo ParseCommand(Common.Protobuf.Command command)
        {
            CommandInfo cmdInfo = new CommandInfo();

            Common.Protobuf.PingCommand pingCommand = command.pingCommand;
            cmdInfo.RequestId = pingCommand.requestId;
            return(cmdInfo);
        }