Class: Lord::Processor
- Inherits:
-
Object
- Object
- Lord::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/burgundy-lord-thrift.rb
Instance Method Summary collapse
Instance Method Details
#process_ping(seqid, iprot, oprot) ⇒ Object
47 48 49 50 51 52 |
# File 'lib/burgundy-lord-thrift.rb', line 47 def process_ping(seqid, iprot, oprot) args = read_args(iprot, Ping_args) result = Ping_result.new() @handler.ping() write_result(result, oprot, 'ping', seqid) end |
#process_query(seqid, iprot, oprot) ⇒ Object
54 55 56 57 58 59 |
# File 'lib/burgundy-lord-thrift.rb', line 54 def process_query(seqid, iprot, oprot) args = read_args(iprot, Query_args) result = Query_result.new() result.success = @handler.query(args.account_id, args.) write_result(result, oprot, 'query', seqid) end |