Class: RemoteTrackQueryService::Processor
- Inherits:
-
Object
- Object
- RemoteTrackQueryService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/remote_track_query_service.rb
Instance Method Summary collapse
- #process_multiQueryBaseTrackInfos(seqid, iprot, oprot) ⇒ Object
- #process_multiQueryDetailTrackInfos(seqid, iprot, oprot) ⇒ Object
- #process_queryBaseTrackInfo(seqid, iprot, oprot) ⇒ Object
- #process_queryDetailTrackInfo(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_multiQueryBaseTrackInfos(seqid, iprot, oprot) ⇒ Object
86 87 88 89 90 91 |
# File 'lib/remote_track_query_service.rb', line 86 def process_multiQueryBaseTrackInfos(seqid, iprot, oprot) args = read_args(iprot, MultiQueryBaseTrackInfos_args) result = MultiQueryBaseTrackInfos_result.new() result.success = @handler.multiQueryBaseTrackInfos(args.trackIds) write_result(result, oprot, 'multiQueryBaseTrackInfos', seqid) end |
#process_multiQueryDetailTrackInfos(seqid, iprot, oprot) ⇒ Object
100 101 102 103 104 105 |
# File 'lib/remote_track_query_service.rb', line 100 def process_multiQueryDetailTrackInfos(seqid, iprot, oprot) args = read_args(iprot, MultiQueryDetailTrackInfos_args) result = MultiQueryDetailTrackInfos_result.new() result.success = @handler.multiQueryDetailTrackInfos(args.trackIds) write_result(result, oprot, 'multiQueryDetailTrackInfos', seqid) end |
#process_queryBaseTrackInfo(seqid, iprot, oprot) ⇒ Object
79 80 81 82 83 84 |
# File 'lib/remote_track_query_service.rb', line 79 def process_queryBaseTrackInfo(seqid, iprot, oprot) args = read_args(iprot, QueryBaseTrackInfo_args) result = QueryBaseTrackInfo_result.new() result.success = @handler.queryBaseTrackInfo(args.trackId) write_result(result, oprot, 'queryBaseTrackInfo', seqid) end |
#process_queryDetailTrackInfo(seqid, iprot, oprot) ⇒ Object
93 94 95 96 97 98 |
# File 'lib/remote_track_query_service.rb', line 93 def process_queryDetailTrackInfo(seqid, iprot, oprot) args = read_args(iprot, QueryDetailTrackInfo_args) result = QueryDetailTrackInfo_result.new() result.success = @handler.queryDetailTrackInfo(args.trackId) write_result(result, oprot, 'queryDetailTrackInfo', seqid) end |