Class: ThriftFlumeReportServer::Client
- Inherits:
-
Object
- Object
- ThriftFlumeReportServer::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/thrift/thrift_flume_report_server.rb
Instance Method Summary collapse
- #getAllReports ⇒ Object
- #getReportByName(reportName) ⇒ Object
- #recv_getAllReports ⇒ Object
- #recv_getReportByName ⇒ Object
- #send_getAllReports ⇒ Object
- #send_getReportByName(reportName) ⇒ Object
Instance Method Details
#getAllReports ⇒ Object
14 15 16 17 |
# File 'lib/thrift/thrift_flume_report_server.rb', line 14 def getAllReports() send_getAllReports() return recv_getAllReports() end |
#getReportByName(reportName) ⇒ Object
29 30 31 32 |
# File 'lib/thrift/thrift_flume_report_server.rb', line 29 def getReportByName(reportName) send_getReportByName(reportName) return recv_getReportByName() end |
#recv_getAllReports ⇒ Object
23 24 25 26 27 |
# File 'lib/thrift/thrift_flume_report_server.rb', line 23 def recv_getAllReports() result = (GetAllReports_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAllReports failed: unknown result') end |
#recv_getReportByName ⇒ Object
38 39 40 41 42 |
# File 'lib/thrift/thrift_flume_report_server.rb', line 38 def recv_getReportByName() result = (GetReportByName_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getReportByName failed: unknown result') end |
#send_getAllReports ⇒ Object
19 20 21 |
# File 'lib/thrift/thrift_flume_report_server.rb', line 19 def send_getAllReports() ('getAllReports', GetAllReports_args) end |
#send_getReportByName(reportName) ⇒ Object
34 35 36 |
# File 'lib/thrift/thrift_flume_report_server.rb', line 34 def send_getReportByName(reportName) ('getReportByName', GetReportByName_args, :reportName => reportName) end |