Class: CallService::Processor
- Inherits:
-
Object
- Object
- CallService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/linerb/gen-rb/call_service.rb
Instance Method Summary collapse
- #process_createGroupCallUrl(seqid, iprot, oprot) ⇒ Object
- #process_deleteGroupCallUrl(seqid, iprot, oprot) ⇒ Object
- #process_getCallCreditProducts(seqid, iprot, oprot) ⇒ Object
- #process_getCallCreditPurchaseHistory(seqid, iprot, oprot) ⇒ Object
- #process_getGroupCallUrlInfo(seqid, iprot, oprot) ⇒ Object
- #process_getGroupCallUrls(seqid, iprot, oprot) ⇒ Object
- #process_getPaidCallBalanceList(seqid, iprot, oprot) ⇒ Object
- #process_getPaidCallMetadata(seqid, iprot, oprot) ⇒ Object
- #process_joinChatByCallUrl(seqid, iprot, oprot) ⇒ Object
- #process_lookupPaidCall(seqid, iprot, oprot) ⇒ Object
- #process_redeemPaidCallVoucher(seqid, iprot, oprot) ⇒ Object
- #process_searchPaidCallUserRate(seqid, iprot, oprot) ⇒ Object
- #process_updateGroupCallUrl(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_createGroupCallUrl(seqid, iprot, oprot) ⇒ Object
260 261 262 263 264 265 266 267 268 269 |
# File 'lib/linerb/gen-rb/call_service.rb', line 260 def process_createGroupCallUrl(seqid, iprot, oprot) args = read_args(iprot, CreateGroupCallUrl_args) result = CreateGroupCallUrl_result.new() begin result.success = @handler.createGroupCallUrl(args.request) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'createGroupCallUrl', seqid) end |
#process_deleteGroupCallUrl(seqid, iprot, oprot) ⇒ Object
271 272 273 274 275 276 277 278 279 280 |
# File 'lib/linerb/gen-rb/call_service.rb', line 271 def process_deleteGroupCallUrl(seqid, iprot, oprot) args = read_args(iprot, DeleteGroupCallUrl_args) result = DeleteGroupCallUrl_result.new() begin result.success = @handler.deleteGroupCallUrl(args.request) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'deleteGroupCallUrl', seqid) end |
#process_getCallCreditProducts(seqid, iprot, oprot) ⇒ Object
315 316 317 318 319 320 321 322 323 324 |
# File 'lib/linerb/gen-rb/call_service.rb', line 315 def process_getCallCreditProducts(seqid, iprot, oprot) args = read_args(iprot, GetCallCreditProducts_args) result = GetCallCreditProducts_result.new() begin result.success = @handler.getCallCreditProducts(args.appStoreCode, args.pgCode, args.country, args.language) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'getCallCreditProducts', seqid) end |
#process_getCallCreditPurchaseHistory(seqid, iprot, oprot) ⇒ Object
304 305 306 307 308 309 310 311 312 313 |
# File 'lib/linerb/gen-rb/call_service.rb', line 304 def process_getCallCreditPurchaseHistory(seqid, iprot, oprot) args = read_args(iprot, GetCallCreditPurchaseHistory_args) result = GetCallCreditPurchaseHistory_result.new() begin result.success = @handler.getCallCreditPurchaseHistory(args.request) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'getCallCreditPurchaseHistory', seqid) end |
#process_getGroupCallUrlInfo(seqid, iprot, oprot) ⇒ Object
227 228 229 230 231 232 233 234 235 236 |
# File 'lib/linerb/gen-rb/call_service.rb', line 227 def process_getGroupCallUrlInfo(seqid, iprot, oprot) args = read_args(iprot, GetGroupCallUrlInfo_args) result = GetGroupCallUrlInfo_result.new() begin result.success = @handler.getGroupCallUrlInfo(args.request) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'getGroupCallUrlInfo', seqid) end |
#process_getGroupCallUrls(seqid, iprot, oprot) ⇒ Object
238 239 240 241 242 243 244 245 246 247 |
# File 'lib/linerb/gen-rb/call_service.rb', line 238 def process_getGroupCallUrls(seqid, iprot, oprot) args = read_args(iprot, GetGroupCallUrls_args) result = GetGroupCallUrls_result.new() begin result.success = @handler.getGroupCallUrls(args.request) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'getGroupCallUrls', seqid) end |
#process_getPaidCallBalanceList(seqid, iprot, oprot) ⇒ Object
326 327 328 329 330 331 332 333 334 335 |
# File 'lib/linerb/gen-rb/call_service.rb', line 326 def process_getPaidCallBalanceList(seqid, iprot, oprot) args = read_args(iprot, GetPaidCallBalanceList_args) result = GetPaidCallBalanceList_result.new() begin result.success = @handler.getPaidCallBalanceList(args.language) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'getPaidCallBalanceList', seqid) end |
#process_getPaidCallMetadata(seqid, iprot, oprot) ⇒ Object
337 338 339 340 341 342 343 344 345 346 |
# File 'lib/linerb/gen-rb/call_service.rb', line 337 def process_getPaidCallMetadata(seqid, iprot, oprot) args = read_args(iprot, GetPaidCallMetadata_args) result = GetPaidCallMetadata_result.new() begin result.success = @handler.getPaidCallMetadata(args.language) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'getPaidCallMetadata', seqid) end |
#process_joinChatByCallUrl(seqid, iprot, oprot) ⇒ Object
249 250 251 252 253 254 255 256 257 258 |
# File 'lib/linerb/gen-rb/call_service.rb', line 249 def process_joinChatByCallUrl(seqid, iprot, oprot) args = read_args(iprot, JoinChatByCallUrl_args) result = JoinChatByCallUrl_result.new() begin result.success = @handler.joinChatByCallUrl(args.request) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'joinChatByCallUrl', seqid) end |
#process_lookupPaidCall(seqid, iprot, oprot) ⇒ Object
359 360 361 362 363 364 365 366 367 368 |
# File 'lib/linerb/gen-rb/call_service.rb', line 359 def process_lookupPaidCall(seqid, iprot, oprot) args = read_args(iprot, LookupPaidCall_args) result = LookupPaidCall_result.new() begin result.success = @handler.lookupPaidCall(args.dialedNumber, args.language, args.referer) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'lookupPaidCall', seqid) end |
#process_redeemPaidCallVoucher(seqid, iprot, oprot) ⇒ Object
293 294 295 296 297 298 299 300 301 302 |
# File 'lib/linerb/gen-rb/call_service.rb', line 293 def process_redeemPaidCallVoucher(seqid, iprot, oprot) args = read_args(iprot, RedeemPaidCallVoucher_args) result = RedeemPaidCallVoucher_result.new() begin result.success = @handler.redeemPaidCallVoucher(args.serial, args.language) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'redeemPaidCallVoucher', seqid) end |
#process_searchPaidCallUserRate(seqid, iprot, oprot) ⇒ Object
348 349 350 351 352 353 354 355 356 357 |
# File 'lib/linerb/gen-rb/call_service.rb', line 348 def process_searchPaidCallUserRate(seqid, iprot, oprot) args = read_args(iprot, SearchPaidCallUserRate_args) result = SearchPaidCallUserRate_result.new() begin result.success = @handler.searchPaidCallUserRate(args.countryCode, args.language) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'searchPaidCallUserRate', seqid) end |
#process_updateGroupCallUrl(seqid, iprot, oprot) ⇒ Object
282 283 284 285 286 287 288 289 290 291 |
# File 'lib/linerb/gen-rb/call_service.rb', line 282 def process_updateGroupCallUrl(seqid, iprot, oprot) args = read_args(iprot, UpdateGroupCallUrl_args) result = UpdateGroupCallUrl_result.new() begin result.success = @handler.updateGroupCallUrl(args.request) rescue ::TalkException => e result.e = e end write_result(result, oprot, 'updateGroupCallUrl', seqid) end |