Class: CloudThrift::CommandInterface::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/proto/gen-rb/command_interface.rb

Instance Method Summary collapse

Instance Method Details

#process_run_command(seqid, iprot, oprot) ⇒ Object



35
36
37
38
39
40
# File 'lib/proto/gen-rb/command_interface.rb', line 35

def process_run_command(seqid, iprot, oprot)
  args = read_args(iprot, Run_command_args)
  result = Run_command_result.new()
  result.success = @handler.run_command(args.cld, args.command, args.arglist)
  write_result(result, oprot, 'run_command', seqid)
end