Class: Center::Thrift::IIdentityService::Processor
- Inherits:
-
Object
- Object
- Center::Thrift::IIdentityService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/i_identity_service.rb
Instance Method Summary collapse
- #process_getMultiNextId(seqid, iprot, oprot) ⇒ Object
- #process_getNextId(seqid, iprot, oprot) ⇒ Object
- #process_getNextIds(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_getMultiNextId(seqid, iprot, oprot) ⇒ Object
80 81 82 83 84 85 86 87 88 89 |
# File 'lib/i_identity_service.rb', line 80 def process_getMultiNextId(seqid, iprot, oprot) args = read_args(iprot, GetMultiNextId_args) result = GetMultiNextId_result.new() begin result.success = @handler.getMultiNextId(args.appNameCntMap) rescue ::Center::Thrift::InvalidAppNameRuntimeException => ianrex result.ianrex = ianrex end write_result(result, oprot, 'getMultiNextId', seqid) end |
#process_getNextId(seqid, iprot, oprot) ⇒ Object
69 70 71 72 73 74 75 76 77 78 |
# File 'lib/i_identity_service.rb', line 69 def process_getNextId(seqid, iprot, oprot) args = read_args(iprot, GetNextId_args) result = GetNextId_result.new() begin result.success = @handler.getNextId(args.appName) rescue ::Center::Thrift::InvalidAppNameRuntimeException => ianrex result.ianrex = ianrex end write_result(result, oprot, 'getNextId', seqid) end |
#process_getNextIds(seqid, iprot, oprot) ⇒ Object
91 92 93 94 95 96 97 98 99 100 |
# File 'lib/i_identity_service.rb', line 91 def process_getNextIds(seqid, iprot, oprot) args = read_args(iprot, GetNextIds_args) result = GetNextIds_result.new() begin result.success = @handler.getNextIds(args.appName, args.count) rescue ::Center::Thrift::InvalidAppNameRuntimeException => ianrex result.ianrex = ianrex end write_result(result, oprot, 'getNextIds', seqid) end |