Class: Profile::Thrift::RemoteUserProfileService::Processor
- Inherits:
-
Object
- Object
- Profile::Thrift::RemoteUserProfileService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/remote_user_profile_service.rb
Instance Method Summary collapse
- #process_checkNickname(seqid, iprot, oprot) ⇒ Object
- #process_checkNicknameDuplicate(seqid, iprot, oprot) ⇒ Object
- #process_checkNicknameFormat(seqid, iprot, oprot) ⇒ Object
- #process_getMultiNickNameByUids(seqid, iprot, oprot) ⇒ Object
- #process_getMultiUserBasicInfos(seqid, iprot, oprot) ⇒ Object
- #process_getMultiUserSimpleInfos(seqid, iprot, oprot) ⇒ Object
- #process_getNicknameByUid(seqid, iprot, oprot) ⇒ Object
- #process_getProfielByEmail(seqid, iprot, oprot) ⇒ Object
- #process_getProfileByNickname(seqid, iprot, oprot) ⇒ Object
- #process_getProfileByUid(seqid, iprot, oprot) ⇒ Object
- #process_getProfileByUids(seqid, iprot, oprot) ⇒ Object
- #process_getVerifiedUid(seqid, iprot, oprot) ⇒ Object
- #process_modifyNicknameByUid(seqid, iprot, oprot) ⇒ Object
- #process_modifyPersonalSignatrue(seqid, iprot, oprot) ⇒ Object
- #process_queryUserBasicInfo(seqid, iprot, oprot) ⇒ Object
- #process_queryUserSimpleInfo(seqid, iprot, oprot) ⇒ Object
- #process_saveMobileProfileWithStatisticParameters(seqid, iprot, oprot) ⇒ Object
- #process_updateMobileBackground(seqid, iprot, oprot) ⇒ Object
- #process_updatePrifileLogo(seqid, iprot, oprot) ⇒ Object
- #process_updateWebBackground(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_checkNickname(seqid, iprot, oprot) ⇒ Object
409 410 411 412 413 414 |
# File 'lib/remote_user_profile_service.rb', line 409 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
423 424 425 426 427 428 |
# File 'lib/remote_user_profile_service.rb', line 423 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
416 417 418 419 420 421 |
# File 'lib/remote_user_profile_service.rb', line 416 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
367 368 369 370 371 372 |
# File 'lib/remote_user_profile_service.rb', line 367 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
381 382 383 384 385 386 |
# File 'lib/remote_user_profile_service.rb', line 381 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
395 396 397 398 399 400 |
# File 'lib/remote_user_profile_service.rb', line 395 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
360 361 362 363 364 365 |
# File 'lib/remote_user_profile_service.rb', line 360 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
430 431 432 433 434 435 |
# File 'lib/remote_user_profile_service.rb', line 430 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
402 403 404 405 406 407 |
# File 'lib/remote_user_profile_service.rb', line 402 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
346 347 348 349 350 351 |
# File 'lib/remote_user_profile_service.rb', line 346 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
353 354 355 356 357 358 |
# File 'lib/remote_user_profile_service.rb', line 353 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
437 438 439 440 441 442 |
# File 'lib/remote_user_profile_service.rb', line 437 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
444 445 446 447 448 449 |
# File 'lib/remote_user_profile_service.rb', line 444 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_modifyPersonalSignatrue(seqid, iprot, oprot) ⇒ Object
451 452 453 454 455 456 |
# File 'lib/remote_user_profile_service.rb', line 451 def process_modifyPersonalSignatrue(seqid, iprot, oprot) args = read_args(iprot, ModifyPersonalSignatrue_args) result = ModifyPersonalSignatrue_result.new() result.success = @handler.modifyPersonalSignatrue(args.uid, args.personalSignature, args.staticticParameter) write_result(result, oprot, 'modifyPersonalSignatrue', seqid) end |
#process_queryUserBasicInfo(seqid, iprot, oprot) ⇒ Object
374 375 376 377 378 379 |
# File 'lib/remote_user_profile_service.rb', line 374 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
388 389 390 391 392 393 |
# File 'lib/remote_user_profile_service.rb', line 388 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
318 319 320 321 322 323 |
# File 'lib/remote_user_profile_service.rb', line 318 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
339 340 341 342 343 344 |
# File 'lib/remote_user_profile_service.rb', line 339 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
325 326 327 328 329 330 |
# File 'lib/remote_user_profile_service.rb', line 325 def process_updatePrifileLogo(seqid, iprot, oprot) args = read_args(iprot, UpdatePrifileLogo_args) result = UpdatePrifileLogo_result.new() @handler.updatePrifileLogo(args.uid, args.picLogo, args.statisticParameters) write_result(result, oprot, 'updatePrifileLogo', seqid) end |
#process_updateWebBackground(seqid, iprot, oprot) ⇒ Object
332 333 334 335 336 337 |
# File 'lib/remote_user_profile_service.rb', line 332 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 |