Class: TalkService::Processor
- Inherits:
-
Object
- Object
- TalkService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/linerb/gen-rb/talk_service.rb
Instance Method Summary collapse
- #process_acceptChatInvitation(seqid, iprot, oprot) ⇒ Object
- #process_acceptChatInvitationByTicket(seqid, iprot, oprot) ⇒ Object
- #process_acceptProximityMatches(seqid, iprot, oprot) ⇒ Object
- #process_acquireEncryptedAccessToken(seqid, iprot, oprot) ⇒ Object
- #process_blockContact(seqid, iprot, oprot) ⇒ Object
- #process_blockRecommendation(seqid, iprot, oprot) ⇒ Object
- #process_cancelChatInvitation(seqid, iprot, oprot) ⇒ Object
- #process_closeProximityMatch(seqid, iprot, oprot) ⇒ Object
- #process_createAccountMigrationPincodeSession(seqid, iprot, oprot) ⇒ Object
- #process_createChat(seqid, iprot, oprot) ⇒ Object
- #process_createChatRoomAnnouncement(seqid, iprot, oprot) ⇒ Object
- #process_createRoomV2(seqid, iprot, oprot) ⇒ Object
- #process_deleteOtherFromChat(seqid, iprot, oprot) ⇒ Object
- #process_deleteSelfFromChat(seqid, iprot, oprot) ⇒ Object
- #process_disableNearby(seqid, iprot, oprot) ⇒ Object
- #process_fetchOperations(seqid, iprot, oprot) ⇒ Object
- #process_findAndAddContactByMetaTag(seqid, iprot, oprot) ⇒ Object
- #process_findAndAddContactsByMid(seqid, iprot, oprot) ⇒ Object
- #process_findAndAddContactsByPhone(seqid, iprot, oprot) ⇒ Object
- #process_findAndAddContactsByUserid(seqid, iprot, oprot) ⇒ Object
- #process_findChatByTicket(seqid, iprot, oprot) ⇒ Object
- #process_findSnsIdUserStatus(seqid, iprot, oprot) ⇒ Object
- #process_generateUserTicket(seqid, iprot, oprot) ⇒ Object
- #process_getAllChatMids(seqid, iprot, oprot) ⇒ Object
- #process_getAllContactIds(seqid, iprot, oprot) ⇒ Object
- #process_getAnalyticsInfo(seqid, iprot, oprot) ⇒ Object
- #process_getBlockedContactIds(seqid, iprot, oprot) ⇒ Object
- #process_getBlockedRecommendationIds(seqid, iprot, oprot) ⇒ Object
- #process_getChatEffectMetaList(seqid, iprot, oprot) ⇒ Object
- #process_getChatRoomAnnouncements(seqid, iprot, oprot) ⇒ Object
- #process_getChatRoomAnnouncementsBulk(seqid, iprot, oprot) ⇒ Object
- #process_getChatRoomBGMs(seqid, iprot, oprot) ⇒ Object
- #process_getChats(seqid, iprot, oprot) ⇒ Object
- #process_getConfigurations(seqid, iprot, oprot) ⇒ Object
- #process_getContact(seqid, iprot, oprot) ⇒ Object
- #process_getContacts(seqid, iprot, oprot) ⇒ Object
- #process_getContactsV2(seqid, iprot, oprot) ⇒ Object
- #process_getCountries(seqid, iprot, oprot) ⇒ Object
- #process_getCountryWithRequestIp(seqid, iprot, oprot) ⇒ Object
- #process_getEncryptedIdentityV3(seqid, iprot, oprot) ⇒ Object
- #process_getExtendedProfile(seqid, iprot, oprot) ⇒ Object
- #process_getFriendRequests(seqid, iprot, oprot) ⇒ Object
- #process_getInstantNews(seqid, iprot, oprot) ⇒ Object
- #process_getLastOpRevision(seqid, iprot, oprot) ⇒ Object
- #process_getMessageBoxes(seqid, iprot, oprot) ⇒ Object
- #process_getMessageReadRange(seqid, iprot, oprot) ⇒ Object
- #process_getPendingAgreements(seqid, iprot, oprot) ⇒ Object
- #process_getPreviousMessagesV2WithRequest(seqid, iprot, oprot) ⇒ Object
- #process_getProfile(seqid, iprot, oprot) ⇒ Object
- #process_getRecentFriendRequests(seqid, iprot, oprot) ⇒ Object
- #process_getRecommendationIds(seqid, iprot, oprot) ⇒ Object
- #process_getRoomsV2(seqid, iprot, oprot) ⇒ Object
- #process_getRSAKeyInfo(seqid, iprot, oprot) ⇒ Object
- #process_getSettings(seqid, iprot, oprot) ⇒ Object
- #process_getSettingsAttributes2(seqid, iprot, oprot) ⇒ Object
- #process_inviteFriendsBySms(seqid, iprot, oprot) ⇒ Object
- #process_inviteIntoChat(seqid, iprot, oprot) ⇒ Object
- #process_inviteIntoRoom(seqid, iprot, oprot) ⇒ Object
- #process_leaveRoom(seqid, iprot, oprot) ⇒ Object
- #process_negotiateE2EEPublicKey(seqid, iprot, oprot) ⇒ Object
- #process_noop(seqid, iprot, oprot) ⇒ Object
- #process_notifyInstalled(seqid, iprot, oprot) ⇒ Object
- #process_notifyRegistrationComplete(seqid, iprot, oprot) ⇒ Object
- #process_notifySleep(seqid, iprot, oprot) ⇒ Object
- #process_notifyUpdated(seqid, iprot, oprot) ⇒ Object
- #process_openProximityMatch(seqid, iprot, oprot) ⇒ Object
- #process_registerE2EEPublicKey(seqid, iprot, oprot) ⇒ Object
- #process_registerUserid(seqid, iprot, oprot) ⇒ Object
- #process_reissueChatTicket(seqid, iprot, oprot) ⇒ Object
- #process_rejectChatInvitation(seqid, iprot, oprot) ⇒ Object
- #process_removeAllMessages(seqid, iprot, oprot) ⇒ Object
- #process_removeChatRoomAnnouncement(seqid, iprot, oprot) ⇒ Object
- #process_removeFriendRequest(seqid, iprot, oprot) ⇒ Object
- #process_reportAbuse(seqid, iprot, oprot) ⇒ Object
- #process_reportDeviceState(seqid, iprot, oprot) ⇒ Object
- #process_respondE2EEKeyExchange(seqid, iprot, oprot) ⇒ Object
- #process_sendChatChecked(seqid, iprot, oprot) ⇒ Object
- #process_sendChatRemoved(seqid, iprot, oprot) ⇒ Object
- #process_sendMessage(seqid, iprot, oprot) ⇒ Object
- #process_sendPostback(seqid, iprot, oprot) ⇒ Object
- #process_setNotificationsEnabled(seqid, iprot, oprot) ⇒ Object
- #process_syncContacts(seqid, iprot, oprot) ⇒ Object
- #process_unblockContact(seqid, iprot, oprot) ⇒ Object
- #process_unblockRecommendation(seqid, iprot, oprot) ⇒ Object
- #process_unregisterUserAndDevice(seqid, iprot, oprot) ⇒ Object
- #process_updateAccountMigrationPincode(seqid, iprot, oprot) ⇒ Object
- #process_updateAndGetNearby(seqid, iprot, oprot) ⇒ Object
- #process_updateChat(seqid, iprot, oprot) ⇒ Object
- #process_updateChatRoomBGM(seqid, iprot, oprot) ⇒ Object
- #process_updateContactSetting(seqid, iprot, oprot) ⇒ Object
- #process_updateExtendedProfileAttribute(seqid, iprot, oprot) ⇒ Object
- #process_updateProfileAttributes(seqid, iprot, oprot) ⇒ Object
- #process_updateSettingsAttributes2(seqid, iprot, oprot) ⇒ Object
- #process_verifyAccountMigration(seqid, iprot, oprot) ⇒ Object
- #process_verifyIdentityCredentialWithResult(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_acceptChatInvitation(seqid, iprot, oprot) ⇒ Object
2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 |
# 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) ⇒ Object
2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 |
# 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) ⇒ Object
2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 |
# 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) ⇒ Object
2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 |
# 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) ⇒ Object
1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 |
# 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) ⇒ Object
2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 |
# 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) ⇒ Object
2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 |
# 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) ⇒ Object
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 |
# 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) ⇒ Object
2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 |
# 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) ⇒ Object
2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 |
# 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) ⇒ Object
1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
# 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) ⇒ Object
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 |
# 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) ⇒ Object
2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 |
# 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) ⇒ Object
2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 |
# 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) ⇒ Object
1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 |
# 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) ⇒ Object
1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 |
# 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) ⇒ Object
1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 |
# 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) ⇒ Object
1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 |
# 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) ⇒ Object
1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 |
# 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) ⇒ Object
1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 |
# 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) ⇒ Object
2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 |
# 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) ⇒ Object
1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 |
# 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) ⇒ Object
2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 |
# 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) ⇒ Object
2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 |
# 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) ⇒ Object
2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 |
# 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) ⇒ Object
1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 |
# 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) ⇒ Object
2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 |
# 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) ⇒ Object
2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 |
# 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) ⇒ Object
2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 |
# 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) ⇒ Object
1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 |
# 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) ⇒ Object
2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 |
# 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) ⇒ Object
1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 |
# 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) ⇒ Object
2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 |
# 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) ⇒ Object
2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 |
# 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) ⇒ Object
1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# 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) ⇒ Object
2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 |
# 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) ⇒ Object
2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# 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) ⇒ Object
1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 |
# 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) ⇒ Object
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 |
# 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) ⇒ Object
1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 |
# 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) ⇒ Object
2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 |
# 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) ⇒ Object
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 |
# 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) ⇒ Object
1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 |
# 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) ⇒ Object
1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# 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) ⇒ Object
2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# 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., args.syncReason) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'getMessageBoxes', seqid) end |
#process_getMessageReadRange(seqid, iprot, oprot) ⇒ Object
1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# 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) ⇒ Object
1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 |
# 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) ⇒ Object
1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 |
# 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) ⇒ Object
2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 |
# 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_getRecentFriendRequests(seqid, iprot, oprot) ⇒ Object
1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 |
# 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) ⇒ Object
2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 |
# 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) ⇒ Object
2528 2529 2530 2531 2532 2533 |
# 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_getRSAKeyInfo(seqid, iprot, oprot) ⇒ Object
1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 |
# 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_getSettings(seqid, iprot, oprot) ⇒ Object
2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 |
# 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) ⇒ Object
2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 |
# 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) ⇒ Object
2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 |
# 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) ⇒ Object
2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 |
# 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) ⇒ Object
1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 |
# 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) ⇒ Object
2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# 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) ⇒ Object
1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 |
# 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) ⇒ Object
2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 |
# 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) ⇒ Object
2206 2207 2208 2209 2210 2211 |
# 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) ⇒ Object
2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 |
# 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) ⇒ Object
1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 |
# 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) ⇒ Object
2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 |
# 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) ⇒ Object
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 |
# 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) ⇒ Object
1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 |
# 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) ⇒ Object
2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 |
# 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) ⇒ Object
2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 |
# 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) ⇒ Object
2455 2456 2457 2458 2459 2460 |
# 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) ⇒ Object
1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 |
# 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) ⇒ Object
1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# 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) ⇒ Object
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 |
# 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) ⇒ Object
1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 |
# 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) ⇒ Object
1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 |
# 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) ⇒ Object
1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 |
# 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) ⇒ Object
1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 |
# 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) ⇒ Object
1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 |
# 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) ⇒ Object
1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 |
# 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.) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'sendMessage', seqid) end |
#process_sendPostback(seqid, iprot, oprot) ⇒ Object
1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 |
# 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) ⇒ Object
2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 |
# 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) ⇒ Object
2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 |
# 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) ⇒ Object
2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 |
# 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) ⇒ Object
2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 |
# 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) ⇒ Object
2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 |
# 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) ⇒ Object
1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 |
# 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) ⇒ Object
1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 |
# 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) ⇒ Object
2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 |
# 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) ⇒ Object
1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 |
# 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) ⇒ Object
1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 |
# 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) ⇒ Object
1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 |
# 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) ⇒ Object
1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 |
# 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) ⇒ Object
2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 |
# 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) ⇒ Object
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 |
# 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) ⇒ Object
2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 |
# 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 |