class Stat::Query::TRecommendService::Processor

Public Instance Methods

process_categoryHotUser(seqid, iprot, oprot) click to toggle source
# File lib/t_recommend_service.rb, line 109
def process_categoryHotUser(seqid, iprot, oprot)
  args = read_args(iprot, CategoryHotUser_args)
  result = CategoryHotUser_result.new()
  result.success = @handler.categoryHotUser(args.uid, args.categoryids, args.count)
  write_result(result, oprot, 'categoryHotUser', seqid)
end
process_dislikeUser(seqid, iprot, oprot) click to toggle source
# File lib/t_recommend_service.rb, line 116
def process_dislikeUser(seqid, iprot, oprot)
  args = read_args(iprot, DislikeUser_args)
  @handler.dislikeUser(args.uid, args.dislikeUid)
  return
end
process_indirectFollow(seqid, iprot, oprot) click to toggle source
# File lib/t_recommend_service.rb, line 88
def process_indirectFollow(seqid, iprot, oprot)
  args = read_args(iprot, IndirectFollow_args)
  result = IndirectFollow_result.new()
  result.success = @handler.indirectFollow(args.uid, args.count)
  write_result(result, oprot, 'indirectFollow', seqid)
end
process_indirectFollowPage(seqid, iprot, oprot) click to toggle source
# File lib/t_recommend_service.rb, line 95
def process_indirectFollowPage(seqid, iprot, oprot)
  args = read_args(iprot, IndirectFollowPage_args)
  result = IndirectFollowPage_result.new()
  result.success = @handler.indirectFollowPage(args.uid, args.pageSize, args.pageNo)
  write_result(result, oprot, 'indirectFollowPage', seqid)
end
process_newV(seqid, iprot, oprot) click to toggle source
# File lib/t_recommend_service.rb, line 102
def process_newV(seqid, iprot, oprot)
  args = read_args(iprot, NewV_args)
  result = NewV_result.new()
  result.success = @handler.newV(args.uid, args.returnSize)
  write_result(result, oprot, 'newV', seqid)
end