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
258 259 260 261 262 263 264 265 266 267 |
# File 'lib/linerb/gen-rb/call_service.rb', line 258 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
269 270 271 272 273 274 |
# File 'lib/linerb/gen-rb/call_service.rb', line 269 def process_deleteGroupCallUrl(seqid, iprot, oprot) args = read_args(iprot, DeleteGroupCallUrl_args) result = DeleteGroupCallUrl_result.new() @handler.deleteGroupCallUrl(args.request) write_result(result, oprot, 'deleteGroupCallUrl', seqid) end |
#process_getCallCreditProducts(seqid, iprot, oprot) ⇒ Object
309 310 311 312 313 314 315 316 317 318 |
# File 'lib/linerb/gen-rb/call_service.rb', line 309 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
287 288 289 290 291 292 293 294 295 296 |
# File 'lib/linerb/gen-rb/call_service.rb', line 287 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
225 226 227 228 229 230 231 232 233 234 |
# File 'lib/linerb/gen-rb/call_service.rb', line 225 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
236 237 238 239 240 241 242 243 244 245 |
# File 'lib/linerb/gen-rb/call_service.rb', line 236 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
331 332 333 334 335 336 337 338 339 340 |
# File 'lib/linerb/gen-rb/call_service.rb', line 331 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
320 321 322 323 324 325 326 327 328 329 |
# File 'lib/linerb/gen-rb/call_service.rb', line 320 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
247 248 249 250 251 252 253 254 255 256 |
# File 'lib/linerb/gen-rb/call_service.rb', line 247 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
353 354 355 356 357 358 359 360 361 362 |
# File 'lib/linerb/gen-rb/call_service.rb', line 353 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
298 299 300 301 302 303 304 305 306 307 |
# File 'lib/linerb/gen-rb/call_service.rb', line 298 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
342 343 344 345 346 347 348 349 350 351 |
# File 'lib/linerb/gen-rb/call_service.rb', line 342 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
276 277 278 279 280 281 282 283 284 285 |
# File 'lib/linerb/gen-rb/call_service.rb', line 276 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 |