Class: Stat::Query::TDiscoverService::Processor

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

Instance Method Summary collapse

Instance Method Details

#process_getSelectedAlbumSwitch(seqid, iprot, oprot) ⇒ Object



335
336
337
338
339
340
# File 'lib/t_discover_service.rb', line 335

def process_getSelectedAlbumSwitch(seqid, iprot, oprot)
  args = read_args(iprot, GetSelectedAlbumSwitch_args)
  result = GetSelectedAlbumSwitch_result.new()
  result.success = @handler.getSelectedAlbumSwitch(args.catetoryIds)
  write_result(result, oprot, 'getSelectedAlbumSwitch', seqid)
end

#process_reload(seqid, iprot, oprot) ⇒ Object



238
239
240
241
242
# File 'lib/t_discover_service.rb', line 238

def process_reload(seqid, iprot, oprot)
  args = read_args(iprot, Reload_args)
  @handler.reload()
  return
end

#process_selectMobileAlbumTag(seqid, iprot, oprot) ⇒ Object



300
301
302
303
304
305
# File 'lib/t_discover_service.rb', line 300

def process_selectMobileAlbumTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileAlbumTag_args)
  result = SelectMobileAlbumTag_result.new()
  result.success = @handler.selectMobileAlbumTag(args.categoryId)
  write_result(result, oprot, 'selectMobileAlbumTag', seqid)
end

#process_selectMobileAlbumTagWithCover(seqid, iprot, oprot) ⇒ Object



314
315
316
317
318
319
# File 'lib/t_discover_service.rb', line 314

def process_selectMobileAlbumTagWithCover(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileAlbumTagWithCover_args)
  result = SelectMobileAlbumTagWithCover_result.new()
  result.success = @handler.selectMobileAlbumTagWithCover(args.categoryId, args.device, args.scale)
  write_result(result, oprot, 'selectMobileAlbumTagWithCover', seqid)
end

#process_selectMobileCategory(seqid, iprot, oprot) ⇒ Object



286
287
288
289
290
291
# File 'lib/t_discover_service.rb', line 286

def process_selectMobileCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileCategory_args)
  result = SelectMobileCategory_result.new()
  result.success = @handler.selectMobileCategory(args.version, args.device, args.scale)
  write_result(result, oprot, 'selectMobileCategory', seqid)
end

#process_selectMobileHumanCategory(seqid, iprot, oprot) ⇒ Object



293
294
295
296
297
298
# File 'lib/t_discover_service.rb', line 293

def process_selectMobileHumanCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileHumanCategory_args)
  result = SelectMobileHumanCategory_result.new()
  result.success = @handler.selectMobileHumanCategory(args.version, args.device, args.scale)
  write_result(result, oprot, 'selectMobileHumanCategory', seqid)
end

#process_selectMobileMultiCategories(seqid, iprot, oprot) ⇒ Object



328
329
330
331
332
333
# File 'lib/t_discover_service.rb', line 328

def process_selectMobileMultiCategories(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileMultiCategories_args)
  result = SelectMobileMultiCategories_result.new()
  result.success = @handler.selectMobileMultiCategories(args.categoryIdAndVersions, args.device, args.scale)
  write_result(result, oprot, 'selectMobileMultiCategories', seqid)
end

#process_selectMobileTrackTag(seqid, iprot, oprot) ⇒ Object



307
308
309
310
311
312
# File 'lib/t_discover_service.rb', line 307

def process_selectMobileTrackTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileTrackTag_args)
  result = SelectMobileTrackTag_result.new()
  result.success = @handler.selectMobileTrackTag(args.categoryId)
  write_result(result, oprot, 'selectMobileTrackTag', seqid)
end

#process_selectMobileTrackTagWithCover(seqid, iprot, oprot) ⇒ Object



321
322
323
324
325
326
# File 'lib/t_discover_service.rb', line 321

def process_selectMobileTrackTagWithCover(seqid, iprot, oprot)
  args = read_args(iprot, SelectMobileTrackTagWithCover_args)
  result = SelectMobileTrackTagWithCover_result.new()
  result.success = @handler.selectMobileTrackTagWithCover(args.categoryId, args.device, args.scale)
  write_result(result, oprot, 'selectMobileTrackTagWithCover', seqid)
end

#process_selectWebAlbumCategoryAndTag(seqid, iprot, oprot) ⇒ Object



251
252
253
254
255
256
# File 'lib/t_discover_service.rb', line 251

def process_selectWebAlbumCategoryAndTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebAlbumCategoryAndTag_args)
  result = SelectWebAlbumCategoryAndTag_result.new()
  result.success = @handler.selectWebAlbumCategoryAndTag()
  write_result(result, oprot, 'selectWebAlbumCategoryAndTag', seqid)
end

#process_selectWebAlbumTag(seqid, iprot, oprot) ⇒ Object



272
273
274
275
276
277
# File 'lib/t_discover_service.rb', line 272

def process_selectWebAlbumTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebAlbumTag_args)
  result = SelectWebAlbumTag_result.new()
  result.success = @handler.selectWebAlbumTag(args.categoryId)
  write_result(result, oprot, 'selectWebAlbumTag', seqid)
end

#process_selectWebCategory(seqid, iprot, oprot) ⇒ Object



265
266
267
268
269
270
# File 'lib/t_discover_service.rb', line 265

def process_selectWebCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebCategory_args)
  result = SelectWebCategory_result.new()
  result.success = @handler.selectWebCategory()
  write_result(result, oprot, 'selectWebCategory', seqid)
end

#process_selectWebHumanCategory(seqid, iprot, oprot) ⇒ Object



258
259
260
261
262
263
# File 'lib/t_discover_service.rb', line 258

def process_selectWebHumanCategory(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebHumanCategory_args)
  result = SelectWebHumanCategory_result.new()
  result.success = @handler.selectWebHumanCategory()
  write_result(result, oprot, 'selectWebHumanCategory', seqid)
end

#process_selectWebTrackCategoryAndTag(seqid, iprot, oprot) ⇒ Object



244
245
246
247
248
249
# File 'lib/t_discover_service.rb', line 244

def process_selectWebTrackCategoryAndTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebTrackCategoryAndTag_args)
  result = SelectWebTrackCategoryAndTag_result.new()
  result.success = @handler.selectWebTrackCategoryAndTag()
  write_result(result, oprot, 'selectWebTrackCategoryAndTag', seqid)
end

#process_selectWebTrackTag(seqid, iprot, oprot) ⇒ Object



279
280
281
282
283
284
# File 'lib/t_discover_service.rb', line 279

def process_selectWebTrackTag(seqid, iprot, oprot)
  args = read_args(iprot, SelectWebTrackTag_args)
  result = SelectWebTrackTag_result.new()
  result.success = @handler.selectWebTrackTag(args.categoryId)
  write_result(result, oprot, 'selectWebTrackTag', seqid)
end