Class: Profile::Thrift::RemoteUserProfileService::Processor

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

Instance Method Summary collapse

Instance Method Details

#process_checkNickname(seqid, iprot, oprot) ⇒ Object



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

def process_checkNickname(seqid, iprot, oprot)
  args = read_args(iprot, CheckNickname_args)
  result = CheckNickname_result.new()
  result.success = @handler.checkNickname(args.oldNickname, args.nickname)
  write_result(result, oprot, 'checkNickname', seqid)
end

#process_checkNicknameDuplicate(seqid, iprot, oprot) ⇒ Object



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

def process_checkNicknameDuplicate(seqid, iprot, oprot)
  args = read_args(iprot, CheckNicknameDuplicate_args)
  result = CheckNicknameDuplicate_result.new()
  result.success = @handler.checkNicknameDuplicate(args.oldNickname, args.nickname)
  write_result(result, oprot, 'checkNicknameDuplicate', seqid)
end

#process_checkNicknameFormat(seqid, iprot, oprot) ⇒ Object



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

def process_checkNicknameFormat(seqid, iprot, oprot)
  args = read_args(iprot, CheckNicknameFormat_args)
  result = CheckNicknameFormat_result.new()
  result.success = @handler.checkNicknameFormat(args.nickname)
  write_result(result, oprot, 'checkNicknameFormat', seqid)
end

#process_getMultiNickNameByUids(seqid, iprot, oprot) ⇒ Object



352
353
354
355
356
357
# File 'lib/remote_user_profile_service.rb', line 352

def process_getMultiNickNameByUids(seqid, iprot, oprot)
  args = read_args(iprot, GetMultiNickNameByUids_args)
  result = GetMultiNickNameByUids_result.new()
  result.success = @handler.getMultiNickNameByUids(args.uidList)
  write_result(result, oprot, 'getMultiNickNameByUids', seqid)
end

#process_getMultiUserBasicInfos(seqid, iprot, oprot) ⇒ Object



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

def process_getMultiUserBasicInfos(seqid, iprot, oprot)
  args = read_args(iprot, GetMultiUserBasicInfos_args)
  result = GetMultiUserBasicInfos_result.new()
  result.success = @handler.getMultiUserBasicInfos(args.uids)
  write_result(result, oprot, 'getMultiUserBasicInfos', seqid)
end

#process_getMultiUserSimpleInfos(seqid, iprot, oprot) ⇒ Object



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

def process_getMultiUserSimpleInfos(seqid, iprot, oprot)
  args = read_args(iprot, GetMultiUserSimpleInfos_args)
  result = GetMultiUserSimpleInfos_result.new()
  result.success = @handler.getMultiUserSimpleInfos(args.uids)
  write_result(result, oprot, 'getMultiUserSimpleInfos', seqid)
end

#process_getNicknameByUid(seqid, iprot, oprot) ⇒ Object



345
346
347
348
349
350
# File 'lib/remote_user_profile_service.rb', line 345

def process_getNicknameByUid(seqid, iprot, oprot)
  args = read_args(iprot, GetNicknameByUid_args)
  result = GetNicknameByUid_result.new()
  result.success = @handler.getNicknameByUid(args.uid)
  write_result(result, oprot, 'getNicknameByUid', seqid)
end

#process_getProfielByEmail(seqid, iprot, oprot) ⇒ Object



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

def process_getProfielByEmail(seqid, iprot, oprot)
  args = read_args(iprot, GetProfielByEmail_args)
  result = GetProfielByEmail_result.new()
  result.success = @handler.getProfielByEmail(args.email)
  write_result(result, oprot, 'getProfielByEmail', seqid)
end

#process_getProfileByNickname(seqid, iprot, oprot) ⇒ Object



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

def process_getProfileByNickname(seqid, iprot, oprot)
  args = read_args(iprot, GetProfileByNickname_args)
  result = GetProfileByNickname_result.new()
  result.success = @handler.getProfileByNickname(args.nickname)
  write_result(result, oprot, 'getProfileByNickname', seqid)
end

#process_getProfileByUid(seqid, iprot, oprot) ⇒ Object



331
332
333
334
335
336
# File 'lib/remote_user_profile_service.rb', line 331

def process_getProfileByUid(seqid, iprot, oprot)
  args = read_args(iprot, GetProfileByUid_args)
  result = GetProfileByUid_result.new()
  result.success = @handler.getProfileByUid(args.uid)
  write_result(result, oprot, 'getProfileByUid', seqid)
end

#process_getProfileByUids(seqid, iprot, oprot) ⇒ Object



338
339
340
341
342
343
# File 'lib/remote_user_profile_service.rb', line 338

def process_getProfileByUids(seqid, iprot, oprot)
  args = read_args(iprot, GetProfileByUids_args)
  result = GetProfileByUids_result.new()
  result.success = @handler.getProfileByUids(args.uids)
  write_result(result, oprot, 'getProfileByUids', seqid)
end

#process_getVerifiedUid(seqid, iprot, oprot) ⇒ Object



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

def process_getVerifiedUid(seqid, iprot, oprot)
  args = read_args(iprot, GetVerifiedUid_args)
  result = GetVerifiedUid_result.new()
  result.success = @handler.getVerifiedUid(args.pageId, args.pageSize)
  write_result(result, oprot, 'getVerifiedUid', seqid)
end

#process_modifyNicknameByUid(seqid, iprot, oprot) ⇒ Object



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

def process_modifyNicknameByUid(seqid, iprot, oprot)
  args = read_args(iprot, ModifyNicknameByUid_args)
  result = ModifyNicknameByUid_result.new()
  result.success = @handler.modifyNicknameByUid(args.uid, args.nickname, args.staticticParameter)
  write_result(result, oprot, 'modifyNicknameByUid', seqid)
end

#process_queryUserBasicInfo(seqid, iprot, oprot) ⇒ Object



359
360
361
362
363
364
# File 'lib/remote_user_profile_service.rb', line 359

def process_queryUserBasicInfo(seqid, iprot, oprot)
  args = read_args(iprot, QueryUserBasicInfo_args)
  result = QueryUserBasicInfo_result.new()
  result.success = @handler.queryUserBasicInfo(args.uid)
  write_result(result, oprot, 'queryUserBasicInfo', seqid)
end

#process_queryUserSimpleInfo(seqid, iprot, oprot) ⇒ Object



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

def process_queryUserSimpleInfo(seqid, iprot, oprot)
  args = read_args(iprot, QueryUserSimpleInfo_args)
  result = QueryUserSimpleInfo_result.new()
  result.success = @handler.queryUserSimpleInfo(args.uid)
  write_result(result, oprot, 'queryUserSimpleInfo', seqid)
end

#process_saveMobileProfileWithStatisticParameters(seqid, iprot, oprot) ⇒ Object



303
304
305
306
307
308
# File 'lib/remote_user_profile_service.rb', line 303

def process_saveMobileProfileWithStatisticParameters(seqid, iprot, oprot)
  args = read_args(iprot, SaveMobileProfileWithStatisticParameters_args)
  result = SaveMobileProfileWithStatisticParameters_result.new()
  result.success = @handler.saveMobileProfileWithStatisticParameters(args.uid, args.nickname, args.signatrue, args.statisticParameters)
  write_result(result, oprot, 'saveMobileProfileWithStatisticParameters', seqid)
end

#process_updateMobileBackground(seqid, iprot, oprot) ⇒ Object



324
325
326
327
328
329
# File 'lib/remote_user_profile_service.rb', line 324

def process_updateMobileBackground(seqid, iprot, oprot)
  args = read_args(iprot, UpdateMobileBackground_args)
  result = UpdateMobileBackground_result.new()
  @handler.updateMobileBackground(args.uid, args.filePath, args.statisticParams)
  write_result(result, oprot, 'updateMobileBackground', seqid)
end

#process_updatePrifileLogo(seqid, iprot, oprot) ⇒ Object



310
311
312
313
314
315
# File 'lib/remote_user_profile_service.rb', line 310

def (seqid, iprot, oprot)
  args = read_args(iprot, UpdatePrifileLogo_args)
  result = UpdatePrifileLogo_result.new()
  @handler.(args.uid, args., args.statisticParameters)
  write_result(result, oprot, 'updatePrifileLogo', seqid)
end

#process_updateWebBackground(seqid, iprot, oprot) ⇒ Object



317
318
319
320
321
322
# File 'lib/remote_user_profile_service.rb', line 317

def process_updateWebBackground(seqid, iprot, oprot)
  args = read_args(iprot, UpdateWebBackground_args)
  result = UpdateWebBackground_result.new()
  @handler.updateWebBackground(args.uid, args.filePath, args.picPositionx, args.picPositiony, args.statisticParams)
  write_result(result, oprot, 'updateWebBackground', seqid)
end