Class: Stat::Query::THotService::Processor
- Inherits:
-
Object
- Object
- Stat::Query::THotService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/t_hot_service.rb
Instance Method Summary collapse
- #process_hotAlbum(seqid, iprot, oprot) ⇒ Object
- #process_hotCategoryAlbum(seqid, iprot, oprot) ⇒ Object
- #process_hotFinishedAlbum(seqid, iprot, oprot) ⇒ Object
- #process_hotRadio(seqid, iprot, oprot) ⇒ Object
- #process_hotRadioAndSound(seqid, iprot, oprot) ⇒ Object
- #process_hotRadioDay(seqid, iprot, oprot) ⇒ Object
- #process_hotRadioRandom(seqid, iprot, oprot) ⇒ Object
- #process_hotSelectedAlbum(seqid, iprot, oprot) ⇒ Object
- #process_hotSound(seqid, iprot, oprot) ⇒ Object
- #process_hotSoundDay(seqid, iprot, oprot) ⇒ Object
- #process_hotUnfinishedAlbum(seqid, iprot, oprot) ⇒ Object
- #process_mostFavoritSound(seqid, iprot, oprot) ⇒ Object
- #process_mostFollowedUser(seqid, iprot, oprot) ⇒ Object
- #process_mostPlayAlbum(seqid, iprot, oprot) ⇒ Object
- #process_mostPlayFinishedAlbum(seqid, iprot, oprot) ⇒ Object
- #process_mostPlayUnfinishedAlbum(seqid, iprot, oprot) ⇒ Object
- #process_newV(seqid, iprot, oprot) ⇒ Object
- #process_recentAlbum(seqid, iprot, oprot) ⇒ Object
- #process_recentFinishedAlbum(seqid, iprot, oprot) ⇒ Object
- #process_recentUnfinishedAlbum(seqid, iprot, oprot) ⇒ Object
- #process_recentVTrack(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_hotAlbum(seqid, iprot, oprot) ⇒ Object
392 393 394 395 396 397 |
# File 'lib/t_hot_service.rb', line 392 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
469 470 471 472 473 474 |
# File 'lib/t_hot_service.rb', line 469 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
427 428 429 430 431 432 |
# File 'lib/t_hot_service.rb', line 427 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
336 337 338 339 340 341 |
# File 'lib/t_hot_service.rb', line 336 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
462 463 464 465 466 467 |
# File 'lib/t_hot_service.rb', line 462 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
378 379 380 381 382 383 |
# File 'lib/t_hot_service.rb', line 378 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
476 477 478 479 480 481 |
# File 'lib/t_hot_service.rb', line 476 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
399 400 401 402 403 404 |
# File 'lib/t_hot_service.rb', line 399 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
343 344 345 346 347 348 |
# File 'lib/t_hot_service.rb', line 343 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
385 386 387 388 389 390 |
# File 'lib/t_hot_service.rb', line 385 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
434 435 436 437 438 439 |
# File 'lib/t_hot_service.rb', line 434 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
364 365 366 367 368 369 |
# File 'lib/t_hot_service.rb', line 364 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
357 358 359 360 361 362 |
# File 'lib/t_hot_service.rb', line 357 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
455 456 457 458 459 460 |
# File 'lib/t_hot_service.rb', line 455 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
441 442 443 444 445 446 |
# File 'lib/t_hot_service.rb', line 441 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
448 449 450 451 452 453 |
# File 'lib/t_hot_service.rb', line 448 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
350 351 352 353 354 355 |
# File 'lib/t_hot_service.rb', line 350 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
406 407 408 409 410 411 |
# File 'lib/t_hot_service.rb', line 406 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
413 414 415 416 417 418 |
# File 'lib/t_hot_service.rb', line 413 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
420 421 422 423 424 425 |
# File 'lib/t_hot_service.rb', line 420 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
371 372 373 374 375 376 |
# File 'lib/t_hot_service.rb', line 371 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 |