Class: Stat::Query::THotService::Processor

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

Instance Method Summary collapse

Instance Method Details

#process_firstPageSound(seqid, iprot, oprot) ⇒ Object



513
514
515
516
517
518
# File 'lib/t_hot_service.rb', line 513

def process_firstPageSound(seqid, iprot, oprot)
  args = read_args(iprot, FirstPageSound_args)
  result = FirstPageSound_result.new()
  result.success = @handler.firstPageSound(args.categories, args.size)
  write_result(result, oprot, 'firstPageSound', seqid)
end

#process_firstPageUser(seqid, iprot, oprot) ⇒ Object



520
521
522
523
524
525
# File 'lib/t_hot_service.rb', line 520

def process_firstPageUser(seqid, iprot, oprot)
  args = read_args(iprot, FirstPageUser_args)
  result = FirstPageUser_result.new()
  result.success = @handler.firstPageUser(args.categories, args.size)
  write_result(result, oprot, 'firstPageUser', seqid)
end

#process_hotAlbum(seqid, iprot, oprot) ⇒ Object



422
423
424
425
426
427
# File 'lib/t_hot_service.rb', line 422

def process_hotAlbum(seqid, iprot, oprot)
  args = read_args(iprot, HotAlbum_args)
  result = HotAlbum_result.new()
  result.success = @handler.hotAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotAlbum', seqid)
end

#process_hotCategoryAlbum(seqid, iprot, oprot) ⇒ Object



499
500
501
502
503
504
# File 'lib/t_hot_service.rb', line 499

def process_hotCategoryAlbum(seqid, iprot, oprot)
  args = read_args(iprot, HotCategoryAlbum_args)
  result = HotCategoryAlbum_result.new()
  result.success = @handler.hotCategoryAlbum(args.id, args.tagNames, args.size)
  write_result(result, oprot, 'hotCategoryAlbum', seqid)
end

#process_hotFinishedAlbum(seqid, iprot, oprot) ⇒ Object



457
458
459
460
461
462
# File 'lib/t_hot_service.rb', line 457

def process_hotFinishedAlbum(seqid, iprot, oprot)
  args = read_args(iprot, HotFinishedAlbum_args)
  result = HotFinishedAlbum_result.new()
  result.success = @handler.hotFinishedAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotFinishedAlbum', seqid)
end

#process_hotRadio(seqid, iprot, oprot) ⇒ Object



366
367
368
369
370
371
# File 'lib/t_hot_service.rb', line 366

def process_hotRadio(seqid, iprot, oprot)
  args = read_args(iprot, HotRadio_args)
  result = HotRadio_result.new()
  result.success = @handler.hotRadio(args.id, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotRadio', seqid)
end

#process_hotRadioAndSound(seqid, iprot, oprot) ⇒ Object



492
493
494
495
496
497
# File 'lib/t_hot_service.rb', line 492

def process_hotRadioAndSound(seqid, iprot, oprot)
  args = read_args(iprot, HotRadioAndSound_args)
  result = HotRadioAndSound_result.new()
  result.success = @handler.hotRadioAndSound(args.categoryIds)
  write_result(result, oprot, 'hotRadioAndSound', seqid)
end

#process_hotRadioDay(seqid, iprot, oprot) ⇒ Object



408
409
410
411
412
413
# File 'lib/t_hot_service.rb', line 408

def process_hotRadioDay(seqid, iprot, oprot)
  args = read_args(iprot, HotRadioDay_args)
  result = HotRadioDay_result.new()
  result.success = @handler.hotRadioDay(args.id, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotRadioDay', seqid)
end

#process_hotRadioRandom(seqid, iprot, oprot) ⇒ Object



506
507
508
509
510
511
# File 'lib/t_hot_service.rb', line 506

def process_hotRadioRandom(seqid, iprot, oprot)
  args = read_args(iprot, HotRadioRandom_args)
  result = HotRadioRandom_result.new()
  result.success = @handler.hotRadioRandom()
  write_result(result, oprot, 'hotRadioRandom', seqid)
end

#process_hotSelectedAlbum(seqid, iprot, oprot) ⇒ Object



429
430
431
432
433
434
# File 'lib/t_hot_service.rb', line 429

def process_hotSelectedAlbum(seqid, iprot, oprot)
  args = read_args(iprot, HotSelectedAlbum_args)
  result = HotSelectedAlbum_result.new()
  result.success = @handler.hotSelectedAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotSelectedAlbum', seqid)
end

#process_hotSound(seqid, iprot, oprot) ⇒ Object



373
374
375
376
377
378
# File 'lib/t_hot_service.rb', line 373

def process_hotSound(seqid, iprot, oprot)
  args = read_args(iprot, HotSound_args)
  result = HotSound_result.new()
  result.success = @handler.hotSound(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotSound', seqid)
end

#process_hotSoundDay(seqid, iprot, oprot) ⇒ Object



415
416
417
418
419
420
# File 'lib/t_hot_service.rb', line 415

def process_hotSoundDay(seqid, iprot, oprot)
  args = read_args(iprot, HotSoundDay_args)
  result = HotSoundDay_result.new()
  result.success = @handler.hotSoundDay(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotSoundDay', seqid)
end

#process_hotUnfinishedAlbum(seqid, iprot, oprot) ⇒ Object



464
465
466
467
468
469
# File 'lib/t_hot_service.rb', line 464

def process_hotUnfinishedAlbum(seqid, iprot, oprot)
  args = read_args(iprot, HotUnfinishedAlbum_args)
  result = HotUnfinishedAlbum_result.new()
  result.success = @handler.hotUnfinishedAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'hotUnfinishedAlbum', seqid)
end

#process_mostFavoritSound(seqid, iprot, oprot) ⇒ Object



394
395
396
397
398
399
# File 'lib/t_hot_service.rb', line 394

def process_mostFavoritSound(seqid, iprot, oprot)
  args = read_args(iprot, MostFavoritSound_args)
  result = MostFavoritSound_result.new()
  result.success = @handler.mostFavoritSound(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'mostFavoritSound', seqid)
end

#process_mostFollowedUser(seqid, iprot, oprot) ⇒ Object



387
388
389
390
391
392
# File 'lib/t_hot_service.rb', line 387

def process_mostFollowedUser(seqid, iprot, oprot)
  args = read_args(iprot, MostFollowedUser_args)
  result = MostFollowedUser_result.new()
  result.success = @handler.mostFollowedUser(args.id, args.pageNo, args.pageSize)
  write_result(result, oprot, 'mostFollowedUser', seqid)
end

#process_mostPlayAlbum(seqid, iprot, oprot) ⇒ Object



485
486
487
488
489
490
# File 'lib/t_hot_service.rb', line 485

def process_mostPlayAlbum(seqid, iprot, oprot)
  args = read_args(iprot, MostPlayAlbum_args)
  result = MostPlayAlbum_result.new()
  result.success = @handler.mostPlayAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'mostPlayAlbum', seqid)
end

#process_mostPlayFinishedAlbum(seqid, iprot, oprot) ⇒ Object



471
472
473
474
475
476
# File 'lib/t_hot_service.rb', line 471

def process_mostPlayFinishedAlbum(seqid, iprot, oprot)
  args = read_args(iprot, MostPlayFinishedAlbum_args)
  result = MostPlayFinishedAlbum_result.new()
  result.success = @handler.mostPlayFinishedAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'mostPlayFinishedAlbum', seqid)
end

#process_mostPlayUnfinishedAlbum(seqid, iprot, oprot) ⇒ Object



478
479
480
481
482
483
# File 'lib/t_hot_service.rb', line 478

def process_mostPlayUnfinishedAlbum(seqid, iprot, oprot)
  args = read_args(iprot, MostPlayUnfinishedAlbum_args)
  result = MostPlayUnfinishedAlbum_result.new()
  result.success = @handler.mostPlayUnfinishedAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'mostPlayUnfinishedAlbum', seqid)
end

#process_newV(seqid, iprot, oprot) ⇒ Object



380
381
382
383
384
385
# File 'lib/t_hot_service.rb', line 380

def process_newV(seqid, iprot, oprot)
  args = read_args(iprot, NewV_args)
  result = NewV_result.new()
  result.success = @handler.newV(args.id, args.pageNo, args.pageSize)
  write_result(result, oprot, 'newV', seqid)
end

#process_recentAlbum(seqid, iprot, oprot) ⇒ Object



436
437
438
439
440
441
# File 'lib/t_hot_service.rb', line 436

def process_recentAlbum(seqid, iprot, oprot)
  args = read_args(iprot, RecentAlbum_args)
  result = RecentAlbum_result.new()
  result.success = @handler.recentAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'recentAlbum', seqid)
end

#process_recentFinishedAlbum(seqid, iprot, oprot) ⇒ Object



443
444
445
446
447
448
# File 'lib/t_hot_service.rb', line 443

def process_recentFinishedAlbum(seqid, iprot, oprot)
  args = read_args(iprot, RecentFinishedAlbum_args)
  result = RecentFinishedAlbum_result.new()
  result.success = @handler.recentFinishedAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'recentFinishedAlbum', seqid)
end

#process_recentUnfinishedAlbum(seqid, iprot, oprot) ⇒ Object



450
451
452
453
454
455
# File 'lib/t_hot_service.rb', line 450

def process_recentUnfinishedAlbum(seqid, iprot, oprot)
  args = read_args(iprot, RecentUnfinishedAlbum_args)
  result = RecentUnfinishedAlbum_result.new()
  result.success = @handler.recentUnfinishedAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'recentUnfinishedAlbum', seqid)
end

#process_recentVTrack(seqid, iprot, oprot) ⇒ Object



401
402
403
404
405
406
# File 'lib/t_hot_service.rb', line 401

def process_recentVTrack(seqid, iprot, oprot)
  args = read_args(iprot, RecentVTrack_args)
  result = RecentVTrack_result.new()
  result.success = @handler.recentVTrack(args.id, args.tagName, args.pageNo, args.pageSize)
  write_result(result, oprot, 'recentVTrack', seqid)
end