Class: ThriftFlumeReportServer::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/thrift/thrift_flume_report_server.rb

Instance Method Summary collapse

Instance Method Details

#process_getAllReports(seqid, iprot, oprot) ⇒ Object



49
50
51
52
53
54
# File 'lib/thrift/thrift_flume_report_server.rb', line 49

def process_getAllReports(seqid, iprot, oprot)
  args = read_args(iprot, GetAllReports_args)
  result = GetAllReports_result.new()
  result.success = @handler.getAllReports()
  write_result(result, oprot, 'getAllReports', seqid)
end

#process_getReportByName(seqid, iprot, oprot) ⇒ Object



56
57
58
59
60
61
# File 'lib/thrift/thrift_flume_report_server.rb', line 56

def process_getReportByName(seqid, iprot, oprot)
  args = read_args(iprot, GetReportByName_args)
  result = GetReportByName_result.new()
  result.success = @handler.getReportByName(args.reportName)
  write_result(result, oprot, 'getReportByName', seqid)
end