class TalkService::Processor

Public Instance Methods

process_acceptChatInvitation(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2213
def process_acceptChatInvitation(seqid, iprot, oprot)
  args = read_args(iprot, AcceptChatInvitation_args)
  result = AcceptChatInvitation_result.new()
  begin
    result.success = @handler.acceptChatInvitation(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'acceptChatInvitation', seqid)
end
process_acceptChatInvitationByTicket(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2224
def process_acceptChatInvitationByTicket(seqid, iprot, oprot)
  args = read_args(iprot, AcceptChatInvitationByTicket_args)
  result = AcceptChatInvitationByTicket_result.new()
  begin
    result.success = @handler.acceptChatInvitationByTicket(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'acceptChatInvitationByTicket', seqid)
end
process_acceptProximityMatches(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2162
def process_acceptProximityMatches(seqid, iprot, oprot)
  args = read_args(iprot, AcceptProximityMatches_args)
  result = AcceptProximityMatches_result.new()
  begin
    @handler.acceptProximityMatches(args.sessionId, args.ids)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'acceptProximityMatches', seqid)
end
process_acquireEncryptedAccessToken(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2151
def process_acquireEncryptedAccessToken(seqid, iprot, oprot)
  args = read_args(iprot, AcquireEncryptedAccessToken_args)
  result = AcquireEncryptedAccessToken_result.new()
  begin
    result.success = @handler.acquireEncryptedAccessToken(args.featureType)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'acquireEncryptedAccessToken', seqid)
end
process_blockContact(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1876
def process_blockContact(seqid, iprot, oprot)
  args = read_args(iprot, BlockContact_args)
  result = BlockContact_result.new()
  begin
    @handler.blockContact(args.reqSeq, args.id)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'blockContact', seqid)
end
process_blockRecommendation(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2118
def process_blockRecommendation(seqid, iprot, oprot)
  args = read_args(iprot, BlockRecommendation_args)
  result = BlockRecommendation_result.new()
  begin
    @handler.blockRecommendation(args.reqSeq, args.id)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'blockRecommendation', seqid)
end
process_cancelChatInvitation(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2235
def process_cancelChatInvitation(seqid, iprot, oprot)
  args = read_args(iprot, CancelChatInvitation_args)
  result = CancelChatInvitation_result.new()
  begin
    result.success = @handler.cancelChatInvitation(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'cancelChatInvitation', seqid)
end
process_closeProximityMatch(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2173
def process_closeProximityMatch(seqid, iprot, oprot)
  args = read_args(iprot, CloseProximityMatch_args)
  result = CloseProximityMatch_result.new()
  begin
    @handler.closeProximityMatch(args.sessionId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'closeProximityMatch', seqid)
end
process_createAccountMigrationPincodeSession(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2074
def process_createAccountMigrationPincodeSession(seqid, iprot, oprot)
  args = read_args(iprot, CreateAccountMigrationPincodeSession_args)
  result = CreateAccountMigrationPincodeSession_result.new()
  begin
    result.success = @handler.createAccountMigrationPincodeSession()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'createAccountMigrationPincodeSession', seqid)
end
process_createChat(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2246
def process_createChat(seqid, iprot, oprot)
  args = read_args(iprot, CreateChat_args)
  result = CreateChat_result.new()
  begin
    result.success = @handler.createChat(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'createChat', seqid)
end
process_createChatRoomAnnouncement(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1656
def process_createChatRoomAnnouncement(seqid, iprot, oprot)
  args = read_args(iprot, CreateChatRoomAnnouncement_args)
  result = CreateChatRoomAnnouncement_result.new()
  begin
    result.success = @handler.createChatRoomAnnouncement(args.reqSeq, args.chatRoomMid, args.type, args.contents)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'createChatRoomAnnouncement', seqid)
end
process_createRoomV2(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1667
def process_createRoomV2(seqid, iprot, oprot)
  args = read_args(iprot, CreateRoomV2_args)
  result = CreateRoomV2_result.new()
  begin
    result.success = @handler.createRoomV2(args.reqSeq, args.contactIds)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'createRoomV2', seqid)
end
process_deleteOtherFromChat(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2268
def process_deleteOtherFromChat(seqid, iprot, oprot)
  args = read_args(iprot, DeleteOtherFromChat_args)
  result = DeleteOtherFromChat_result.new()
  begin
    result.success = @handler.deleteOtherFromChat(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'deleteOtherFromChat', seqid)
end
process_deleteSelfFromChat(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2290
def process_deleteSelfFromChat(seqid, iprot, oprot)
  args = read_args(iprot, DeleteSelfFromChat_args)
  result = DeleteSelfFromChat_result.new()
  begin
    result.success = @handler.deleteSelfFromChat(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'deleteSelfFromChat', seqid)
end
process_disableNearby(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1634
def process_disableNearby(seqid, iprot, oprot)
  args = read_args(iprot, DisableNearby_args)
  result = DisableNearby_result.new()
  begin
    @handler.disableNearby()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'disableNearby', seqid)
end
process_fetchOperations(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1568
def process_fetchOperations(seqid, iprot, oprot)
  args = read_args(iprot, FetchOperations_args)
  result = FetchOperations_result.new()
  begin
    result.success = @handler.fetchOperations(args.localRev, args.count)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'fetchOperations', seqid)
end
process_findAndAddContactByMetaTag(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1920
def process_findAndAddContactByMetaTag(seqid, iprot, oprot)
  args = read_args(iprot, FindAndAddContactByMetaTag_args)
  result = FindAndAddContactByMetaTag_result.new()
  begin
    result.success = @handler.findAndAddContactByMetaTag(args.reqSeq, args.searchId, args.reference)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'findAndAddContactByMetaTag', seqid)
end
process_findAndAddContactsByMid(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1931
def process_findAndAddContactsByMid(seqid, iprot, oprot)
  args = read_args(iprot, FindAndAddContactsByMid_args)
  result = FindAndAddContactsByMid_result.new()
  begin
    result.success = @handler.findAndAddContactsByMid(args.reqSeq, args.mid, args.type, args.reference)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'findAndAddContactsByMid', seqid)
end
process_findAndAddContactsByPhone(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1799
def process_findAndAddContactsByPhone(seqid, iprot, oprot)
  args = read_args(iprot, FindAndAddContactsByPhone_args)
  result = FindAndAddContactsByPhone_result.new()
  begin
    result.success = @handler.findAndAddContactsByPhone(args.reqSeq, args.phones, args.reference)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'findAndAddContactsByPhone', seqid)
end
process_findAndAddContactsByUserid(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1975
def process_findAndAddContactsByUserid(seqid, iprot, oprot)
  args = read_args(iprot, FindAndAddContactsByUserid_args)
  result = FindAndAddContactsByUserid_result.new()
  begin
    result.success = @handler.findAndAddContactsByUserid(args.reqSeq, args.searchId, args.reference)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'findAndAddContactsByUserid', seqid)
end
process_findChatByTicket(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2312
def process_findChatByTicket(seqid, iprot, oprot)
  args = read_args(iprot, FindChatByTicket_args)
  result = FindChatByTicket_result.new()
  begin
    result.success = @handler.findChatByTicket(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'findChatByTicket', seqid)
end
process_findSnsIdUserStatus(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1601
def process_findSnsIdUserStatus(seqid, iprot, oprot)
  args = read_args(iprot, FindSnsIdUserStatus_args)
  result = FindSnsIdUserStatus_result.new()
  begin
    result.success = @handler.findSnsIdUserStatus(args.snsIdType, args.snsAccessToken, args.udidHash, args.migrationPincodeSessionId, args.oldUdidHash)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'findSnsIdUserStatus', seqid)
end
process_generateUserTicket(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2433
def process_generateUserTicket(seqid, iprot, oprot)
  args = read_args(iprot, GenerateUserTicket_args)
  result = GenerateUserTicket_result.new()
  begin
    @handler.generateUserTicket(args.expirationTime, args.maxUseCount)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'generateUserTicket', seqid)
end
process_getAllChatMids(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2334
def process_getAllChatMids(seqid, iprot, oprot)
  args = read_args(iprot, GetAllChatMids_args)
  result = GetAllChatMids_result.new()
  begin
    result.success = @handler.getAllChatMids(args.request, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getAllChatMids', seqid)
end
process_getAllContactIds(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2345
def process_getAllContactIds(seqid, iprot, oprot)
  args = read_args(iprot, GetAllContactIds_args)
  result = GetAllContactIds_result.new()
  begin
    result.success = @handler.getAllContactIds(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getAllContactIds', seqid)
end
process_getAnalyticsInfo(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1854
def process_getAnalyticsInfo(seqid, iprot, oprot)
  args = read_args(iprot, GetAnalyticsInfo_args)
  result = GetAnalyticsInfo_result.new()
  begin
    result.success = @handler.getAnalyticsInfo()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getAnalyticsInfo', seqid)
end
process_getBlockedContactIds(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2356
def process_getBlockedContactIds(seqid, iprot, oprot)
  args = read_args(iprot, GetBlockedContactIds_args)
  result = GetBlockedContactIds_result.new()
  begin
    result.success = @handler.getBlockedContactIds(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getBlockedContactIds', seqid)
end
process_getBlockedRecommendationIds(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2367
def process_getBlockedRecommendationIds(seqid, iprot, oprot)
  args = read_args(iprot, GetBlockedRecommendationIds_args)
  result = GetBlockedRecommendationIds_result.new()
  begin
    result.success = @handler.getBlockedRecommendationIds(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getBlockedRecommendationIds', seqid)
end
process_getChatEffectMetaList(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2400
def process_getChatEffectMetaList(seqid, iprot, oprot)
  args = read_args(iprot, GetChatEffectMetaList_args)
  result = GetChatEffectMetaList_result.new()
  begin
    result.success = @handler.getChatEffectMetaList(args.categories)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getChatEffectMetaList', seqid)
end
process_getChatRoomAnnouncements(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1678
def process_getChatRoomAnnouncements(seqid, iprot, oprot)
  args = read_args(iprot, GetChatRoomAnnouncements_args)
  result = GetChatRoomAnnouncements_result.new()
  begin
    result.success = @handler.getChatRoomAnnouncements(args.chatRoomMid)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getChatRoomAnnouncements', seqid)
end
process_getChatRoomAnnouncementsBulk(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2422
def process_getChatRoomAnnouncementsBulk(seqid, iprot, oprot)
  args = read_args(iprot, GetChatRoomAnnouncementsBulk_args)
  result = GetChatRoomAnnouncementsBulk_result.new()
  begin
    result.success = @handler.getChatRoomAnnouncementsBulk(args.chatRoomMids, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getChatRoomAnnouncementsBulk', seqid)
end
process_getChatRoomBGMs(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1689
def process_getChatRoomBGMs(seqid, iprot, oprot)
  args = read_args(iprot, GetChatRoomBGMs_args)
  result = GetChatRoomBGMs_result.new()
  begin
    result.success = @handler.getChatRoomBGMs(args.chatRoomMids, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getChatRoomBGMs', seqid)
end
process_getChats(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2495
def process_getChats(seqid, iprot, oprot)
  args = read_args(iprot, GetChats_args)
  result = GetChats_result.new()
  begin
    result.success = @handler.getChats(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getChats', seqid)
end
process_getConfigurations(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2506
def process_getConfigurations(seqid, iprot, oprot)
  args = read_args(iprot, GetConfigurations_args)
  result = GetConfigurations_result.new()
  begin
    result.success = @handler.getConfigurations(args.revision, args.regionOfUsim, args.regionOfTelephone, args.regionOfLocale, args.carrier, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getConfigurations', seqid)
end
process_getContact(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1821
def process_getContact(seqid, iprot, oprot)
  args = read_args(iprot, GetContact_args)
  result = GetContact_result.new()
  begin
    result.success = @handler.getContact(args.id)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getContact', seqid)
end
process_getContacts(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2019
def process_getContacts(seqid, iprot, oprot)
  args = read_args(iprot, GetContacts_args)
  result = GetContacts_result.new()
  begin
    result.success = @handler.getContacts(args.ids)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getContacts', seqid)
end
process_getContactsV2(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2517
def process_getContactsV2(seqid, iprot, oprot)
  args = read_args(iprot, GetContactsV2_args)
  result = GetContactsV2_result.new()
  begin
    result.success = @handler.getContactsV2(args.request, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getContactsV2', seqid)
end
process_getCountries(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1700
def process_getCountries(seqid, iprot, oprot)
  args = read_args(iprot, GetCountries_args)
  result = GetCountries_result.new()
  begin
    result.success = @handler.getCountries(args.countryGroup)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getCountries', seqid)
end
process_getCountryWithRequestIp(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1986
def process_getCountryWithRequestIp(seqid, iprot, oprot)
  args = read_args(iprot, GetCountryWithRequestIp_args)
  result = GetCountryWithRequestIp_result.new()
  begin
    result.success = @handler.getCountryWithRequestIp()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getCountryWithRequestIp', seqid)
end
process_getEncryptedIdentityV3(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1788
def process_getEncryptedIdentityV3(seqid, iprot, oprot)
  args = read_args(iprot, GetEncryptedIdentityV3_args)
  result = GetEncryptedIdentityV3_result.new()
  begin
    result.success = @handler.getEncryptedIdentityV3()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getEncryptedIdentityV3', seqid)
end
process_getExtendedProfile(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2257
def process_getExtendedProfile(seqid, iprot, oprot)
  args = read_args(iprot, GetExtendedProfile_args)
  result = GetExtendedProfile_result.new()
  begin
    result.success = @handler.getExtendedProfile(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getExtendedProfile', seqid)
end
process_getFriendRequests(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1513
def process_getFriendRequests(seqid, iprot, oprot)
  args = read_args(iprot, GetFriendRequests_args)
  result = GetFriendRequests_result.new()
  begin
    result.success = @handler.getFriendRequests(args.direction, args.lastSeenSeqId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getFriendRequests', seqid)
end
process_getInstantNews(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1711
def process_getInstantNews(seqid, iprot, oprot)
  args = read_args(iprot, GetInstantNews_args)
  result = GetInstantNews_result.new()
  begin
    result.success = @handler.getInstantNews(args.region, args.location)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getInstantNews', seqid)
end
process_getLastOpRevision(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1557
def process_getLastOpRevision(seqid, iprot, oprot)
  args = read_args(iprot, GetLastOpRevision_args)
  result = GetLastOpRevision_result.new()
  begin
    result.success = @handler.getLastOpRevision()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getLastOpRevision', seqid)
end
process_getMessageBoxes(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2279
def process_getMessageBoxes(seqid, iprot, oprot)
  args = read_args(iprot, GetMessageBoxes_args)
  result = GetMessageBoxes_result.new()
  begin
    result.success = @handler.getMessageBoxes(args.messageBoxListRequest, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getMessageBoxes', seqid)
end
process_getMessageReadRange(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1535
def process_getMessageReadRange(seqid, iprot, oprot)
  args = read_args(iprot, GetMessageReadRange_args)
  result = GetMessageReadRange_result.new()
  begin
    result.success = @handler.getMessageReadRange(args.chatIds, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getMessageReadRange', seqid)
end
process_getPendingAgreements(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1722
def process_getPendingAgreements(seqid, iprot, oprot)
  args = read_args(iprot, GetPendingAgreements_args)
  result = GetPendingAgreements_result.new()
  begin
    result.success = @handler.getPendingAgreements()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getPendingAgreements', seqid)
end
process_getPreviousMessagesV2WithRequest(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1733
def process_getPreviousMessagesV2WithRequest(seqid, iprot, oprot)
  args = read_args(iprot, GetPreviousMessagesV2WithRequest_args)
  result = GetPreviousMessagesV2WithRequest_result.new()
  begin
    result.success = @handler.getPreviousMessagesV2WithRequest(args.request, args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getPreviousMessagesV2WithRequest', seqid)
end
process_getProfile(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2301
def process_getProfile(seqid, iprot, oprot)
  args = read_args(iprot, GetProfile_args)
  result = GetProfile_result.new()
  begin
    result.success = @handler.getProfile(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getProfile', seqid)
end
process_getRSAKeyInfo(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1612
def process_getRSAKeyInfo(seqid, iprot, oprot)
  args = read_args(iprot, GetRSAKeyInfo_args)
  result = GetRSAKeyInfo_result.new()
  begin
    result.success = @handler.getRSAKeyInfo(args.provider)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getRSAKeyInfo', seqid)
end
process_getRecentFriendRequests(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1502
def process_getRecentFriendRequests(seqid, iprot, oprot)
  args = read_args(iprot, GetRecentFriendRequests_args)
  result = GetRecentFriendRequests_result.new()
  begin
    result.success = @handler.getRecentFriendRequests(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getRecentFriendRequests', seqid)
end
process_getRecommendationIds(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2323
def process_getRecommendationIds(seqid, iprot, oprot)
  args = read_args(iprot, GetRecommendationIds_args)
  result = GetRecommendationIds_result.new()
  begin
    result.success = @handler.getRecommendationIds(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getRecommendationIds', seqid)
end
process_getRoomsV2(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2528
def process_getRoomsV2(seqid, iprot, oprot)
  args = read_args(iprot, GetRoomsV2_args)
  result = GetRoomsV2_result.new()
  @handler.getRoomsV2(args.roomIds)
  write_result(result, oprot, 'getRoomsV2', seqid)
end
process_getSettings(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2378
def process_getSettings(seqid, iprot, oprot)
  args = read_args(iprot, GetSettings_args)
  result = GetSettings_result.new()
  begin
    result.success = @handler.getSettings(args.syncReason)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getSettings', seqid)
end
process_getSettingsAttributes2(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2389
def process_getSettingsAttributes2(seqid, iprot, oprot)
  args = read_args(iprot, GetSettingsAttributes2_args)
  result = GetSettingsAttributes2_result.new()
  begin
    result.success = @handler.getSettingsAttributes2(args.attributesToRetrieve)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'getSettingsAttributes2', seqid)
end
process_inviteFriendsBySms(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2008
def process_inviteFriendsBySms(seqid, iprot, oprot)
  args = read_args(iprot, InviteFriendsBySms_args)
  result = InviteFriendsBySms_result.new()
  begin
    @handler.inviteFriendsBySms(args.phoneNumberList)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'inviteFriendsBySms', seqid)
end
process_inviteIntoChat(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2411
def process_inviteIntoChat(seqid, iprot, oprot)
  args = read_args(iprot, InviteIntoChat_args)
  result = InviteIntoChat_result.new()
  begin
    result.success = @handler.inviteIntoChat(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'inviteIntoChat', seqid)
end
process_inviteIntoRoom(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1997
def process_inviteIntoRoom(seqid, iprot, oprot)
  args = read_args(iprot, InviteIntoRoom_args)
  result = InviteIntoRoom_result.new()
  begin
    @handler.inviteIntoRoom(args.reqSeq, args.roomId, args.contactIds)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'inviteIntoRoom', seqid)
end
process_leaveRoom(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2063
def process_leaveRoom(seqid, iprot, oprot)
  args = read_args(iprot, LeaveRoom_args)
  result = LeaveRoom_result.new()
  begin
    @handler.leaveRoom(args.reqSeq, args.roomId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'leaveRoom', seqid)
end
process_negotiateE2EEPublicKey(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1898
def process_negotiateE2EEPublicKey(seqid, iprot, oprot)
  args = read_args(iprot, NegotiateE2EEPublicKey_args)
  result = NegotiateE2EEPublicKey_result.new()
  begin
    result.success = @handler.negotiateE2EEPublicKey(args.mid)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'negotiateE2EEPublicKey', seqid)
end
process_noop(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2107
def process_noop(seqid, iprot, oprot)
  args = read_args(iprot, Noop_args)
  result = Noop_result.new()
  begin
    @handler.noop()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'noop', seqid)
end
process_notifyInstalled(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2206
def process_notifyInstalled(seqid, iprot, oprot)
  args = read_args(iprot, NotifyInstalled_args)
  result = NotifyInstalled_result.new()
  @handler.notifyInstalled(args.udidHash, args.applicationTypeWithExtensions)
  write_result(result, oprot, 'notifyInstalled', seqid)
end
process_notifyRegistrationComplete(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2085
def process_notifyRegistrationComplete(seqid, iprot, oprot)
  args = read_args(iprot, NotifyRegistrationComplete_args)
  result = NotifyRegistrationComplete_result.new()
  begin
    @handler.notifyRegistrationComplete(args.udidHash, args.applicationTypeWithExtensions)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'notifyRegistrationComplete', seqid)
end
process_notifySleep(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1843
def process_notifySleep(seqid, iprot, oprot)
  args = read_args(iprot, NotifySleep_args)
  result = NotifySleep_result.new()
  begin
    @handler.notifySleep(args.lastRev, args.badge)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'notifySleep', seqid)
end
process_notifyUpdated(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2140
def process_notifyUpdated(seqid, iprot, oprot)
  args = read_args(iprot, NotifyUpdated_args)
  result = NotifyUpdated_result.new()
  begin
    @handler.notifyUpdated(args.lastRev, args.deviceInfo, args.udidHash, args.oldUdidHash)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'notifyUpdated', seqid)
end
process_openProximityMatch(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1909
def process_openProximityMatch(seqid, iprot, oprot)
  args = read_args(iprot, OpenProximityMatch_args)
  result = OpenProximityMatch_result.new()
  begin
    result.success = @handler.openProximityMatch(args.location, args.networkStatus)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'openProximityMatch', seqid)
end
process_registerE2EEPublicKey(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1810
def process_registerE2EEPublicKey(seqid, iprot, oprot)
  args = read_args(iprot, RegisterE2EEPublicKey_args)
  result = RegisterE2EEPublicKey_result.new()
  begin
    result.success = @handler.registerE2EEPublicKey(args.reqSeq, args.publicKey)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'registerE2EEPublicKey', seqid)
end
process_registerUserid(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2195
def process_registerUserid(seqid, iprot, oprot)
  args = read_args(iprot, RegisterUserid_args)
  result = RegisterUserid_result.new()
  begin
    @handler.registerUserid(args.reqSeq, args.searchId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'registerUserid', seqid)
end
process_reissueChatTicket(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2444
def process_reissueChatTicket(seqid, iprot, oprot)
  args = read_args(iprot, ReissueChatTicket_args)
  result = ReissueChatTicket_result.new()
  begin
    result.success = @handler.reissueChatTicket(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'reissueChatTicket', seqid)
end
process_rejectChatInvitation(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2455
def process_rejectChatInvitation(seqid, iprot, oprot)
  args = read_args(iprot, RejectChatInvitation_args)
  result = RejectChatInvitation_result.new()
  @handler.rejectChatInvitation(args.request)
  write_result(result, oprot, 'rejectChatInvitation', seqid)
end
process_removeAllMessages(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1887
def process_removeAllMessages(seqid, iprot, oprot)
  args = read_args(iprot, RemoveAllMessages_args)
  result = RemoveAllMessages_result.new()
  begin
    @handler.removeAllMessages(args.seq, args.lastMessageId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'removeAllMessages', seqid)
end
process_removeChatRoomAnnouncement(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1744
def process_removeChatRoomAnnouncement(seqid, iprot, oprot)
  args = read_args(iprot, RemoveChatRoomAnnouncement_args)
  result = RemoveChatRoomAnnouncement_result.new()
  begin
    @handler.removeChatRoomAnnouncement(args.reqSeq, args.chatRoomMid, args.announcementSeq)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'removeChatRoomAnnouncement', seqid)
end
process_removeFriendRequest(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1524
def process_removeFriendRequest(seqid, iprot, oprot)
  args = read_args(iprot, RemoveFriendRequest_args)
  result = RemoveFriendRequest_result.new()
  begin
    @handler.removeFriendRequest(args.direction, args.midOrEMid)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'removeFriendRequest', seqid)
end
process_reportAbuse(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1755
def process_reportAbuse(seqid, iprot, oprot)
  args = read_args(iprot, ReportAbuse_args)
  result = ReportAbuse_result.new()
  begin
    @handler.reportAbuse(args.abuseReport)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'reportAbuse', seqid)
end
process_reportDeviceState(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1579
def process_reportDeviceState(seqid, iprot, oprot)
  args = read_args(iprot, ReportDeviceState_args)
  result = ReportDeviceState_result.new()
  begin
    @handler.reportDeviceState(args.booleanState, args.stringState)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'reportDeviceState', seqid)
end
process_respondE2EEKeyExchange(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1832
def process_respondE2EEKeyExchange(seqid, iprot, oprot)
  args = read_args(iprot, RespondE2EEKeyExchange_args)
  result = RespondE2EEKeyExchange_result.new()
  begin
    @handler.respondE2EEKeyExchange(args.reqSeq, args.encryptedKeyChain, args.hashKeyChain)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'respondE2EEKeyExchange', seqid)
end
process_sendChatChecked(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1590
def process_sendChatChecked(seqid, iprot, oprot)
  args = read_args(iprot, SendChatChecked_args)
  result = SendChatChecked_result.new()
  begin
    @handler.sendChatChecked(args.seq, args.chatMid, args.lastMessageId, args.sessionId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'sendChatChecked', seqid)
end
process_sendChatRemoved(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1865
def process_sendChatRemoved(seqid, iprot, oprot)
  args = read_args(iprot, SendChatRemoved_args)
  result = SendChatRemoved_result.new()
  begin
    @handler.sendChatRemoved(args.seq, args.chatMid, args.lastMessageId, args.sessionId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'sendChatRemoved', seqid)
end
process_sendMessage(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1953
def process_sendMessage(seqid, iprot, oprot)
  args = read_args(iprot, SendMessage_args)
  result = SendMessage_result.new()
  begin
    result.success = @handler.sendMessage(args.seq, args.message)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'sendMessage', seqid)
end
process_sendPostback(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1546
def process_sendPostback(seqid, iprot, oprot)
  args = read_args(iprot, SendPostback_args)
  result = SendPostback_result.new()
  begin
    @handler.sendPostback(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'sendPostback', seqid)
end
process_setNotificationsEnabled(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2462
def process_setNotificationsEnabled(seqid, iprot, oprot)
  args = read_args(iprot, SetNotificationsEnabled_args)
  result = SetNotificationsEnabled_result.new()
  begin
    @handler.setNotificationsEnabled(args.reqSeq, args.type, args.target, args.enablement)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'setNotificationsEnabled', seqid)
end
process_syncContacts(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2030
def process_syncContacts(seqid, iprot, oprot)
  args = read_args(iprot, SyncContacts_args)
  result = SyncContacts_result.new()
  begin
    result.success = @handler.syncContacts(args.reqSeq, args.localContacts)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'syncContacts', seqid)
end
process_unblockContact(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2096
def process_unblockContact(seqid, iprot, oprot)
  args = read_args(iprot, UnblockContact_args)
  result = UnblockContact_result.new()
  begin
    @handler.unblockContact(args.reqSeq, args.id, args.reference)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'unblockContact', seqid)
end
process_unblockRecommendation(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2184
def process_unblockRecommendation(seqid, iprot, oprot)
  args = read_args(iprot, UnblockRecommendation_args)
  result = UnblockRecommendation_result.new()
  begin
    @handler.unblockRecommendation(args.reqSeq, args.id)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'unblockRecommendation', seqid)
end
process_unregisterUserAndDevice(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2129
def process_unregisterUserAndDevice(seqid, iprot, oprot)
  args = read_args(iprot, UnregisterUserAndDevice_args)
  result = UnregisterUserAndDevice_result.new()
  begin
    result.success = @handler.unregisterUserAndDevice()
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'unregisterUserAndDevice', seqid)
end
process_updateAccountMigrationPincode(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1942
def process_updateAccountMigrationPincode(seqid, iprot, oprot)
  args = read_args(iprot, UpdateAccountMigrationPincode_args)
  result = UpdateAccountMigrationPincode_result.new()
  begin
    @handler.updateAccountMigrationPincode(args.accountMigrationPincode)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateAccountMigrationPincode', seqid)
end
process_updateAndGetNearby(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1645
def process_updateAndGetNearby(seqid, iprot, oprot)
  args = read_args(iprot, UpdateAndGetNearby_args)
  result = UpdateAndGetNearby_result.new()
  begin
    result.success = @handler.updateAndGetNearby(args.latitude, args.longitude, args.accuracy, args.networkStatus, args.altitudeMeters, args.velocityMetersPerSecond, args.bearingDegrees)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateAndGetNearby', seqid)
end
process_updateChat(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2473
def process_updateChat(seqid, iprot, oprot)
  args = read_args(iprot, UpdateChat_args)
  result = UpdateChat_result.new()
  begin
    result.success = @handler.updateChat(args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateChat', seqid)
end
process_updateChatRoomBGM(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1766
def process_updateChatRoomBGM(seqid, iprot, oprot)
  args = read_args(iprot, UpdateChatRoomBGM_args)
  result = UpdateChatRoomBGM_result.new()
  begin
    result.success = @handler.updateChatRoomBGM(args.reqSeq, args.chatRoomMid, args.chatRoomBGMInfo)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateChatRoomBGM', seqid)
end
process_updateContactSetting(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1964
def process_updateContactSetting(seqid, iprot, oprot)
  args = read_args(iprot, UpdateContactSetting_args)
  result = UpdateContactSetting_result.new()
  begin
    @handler.updateContactSetting(args.reqSeq, args.mid, args.flag, args.value)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateContactSetting', seqid)
end
process_updateExtendedProfileAttribute(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1623
def process_updateExtendedProfileAttribute(seqid, iprot, oprot)
  args = read_args(iprot, UpdateExtendedProfileAttribute_args)
  result = UpdateExtendedProfileAttribute_result.new()
  begin
    @handler.updateExtendedProfileAttribute(args.reqSeq, args.attr, args.extendedProfile)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateExtendedProfileAttribute', seqid)
end
process_updateProfileAttributes(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 1777
def process_updateProfileAttributes(seqid, iprot, oprot)
  args = read_args(iprot, UpdateProfileAttributes_args)
  result = UpdateProfileAttributes_result.new()
  begin
    @handler.updateProfileAttributes(args.reqSeq, args.request)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateProfileAttributes', seqid)
end
process_updateSettingsAttributes2(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2484
def process_updateSettingsAttributes2(seqid, iprot, oprot)
  args = read_args(iprot, UpdateSettingsAttributes2_args)
  result = UpdateSettingsAttributes2_result.new()
  begin
    result.success = @handler.updateSettingsAttributes2(args.reqSeq, args.attributesToUpdate, args.settings)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'updateSettingsAttributes2', seqid)
end
process_verifyAccountMigration(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2041
def process_verifyAccountMigration(seqid, iprot, oprot)
  args = read_args(iprot, VerifyAccountMigration_args)
  result = VerifyAccountMigration_result.new()
  begin
    @handler.verifyAccountMigration(args.migrationSessionId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'verifyAccountMigration', seqid)
end
process_verifyIdentityCredentialWithResult(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/talk_service.rb, line 2052
def process_verifyIdentityCredentialWithResult(seqid, iprot, oprot)
  args = read_args(iprot, VerifyIdentityCredentialWithResult_args)
  result = VerifyIdentityCredentialWithResult_result.new()
  begin
    result.success = @handler.verifyIdentityCredentialWithResult(args.identityCredential, args.migrationPincodeSessionId)
  rescue ::TalkException => e
    result.e = e
  end
  write_result(result, oprot, 'verifyIdentityCredentialWithResult', seqid)
end