Class: SecondaryQrCodeLoginPermit::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/linerb/gen-rb/secondary_qr_code_login_permit.rb

Instance Method Summary collapse

Instance Method Details

#process_cancelPinCode(seqid, iprot, oprot) ⇒ Object



83
84
85
86
87
88
89
90
91
92
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 83

def process_cancelPinCode(seqid, iprot, oprot)
  args = read_args(iprot, CancelPinCode_args)
  result = CancelPinCode_result.new()
  begin
    result.success = @handler.cancelPinCode(args.request)
  rescue ::SecondaryQrCodeException => e
    result.e = e
  end
  write_result(result, oprot, 'cancelPinCode', seqid)
end

#process_getLoginActorContext(seqid, iprot, oprot) ⇒ Object



94
95
96
97
98
99
100
101
102
103
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 94

def process_getLoginActorContext(seqid, iprot, oprot)
  args = read_args(iprot, GetLoginActorContext_args)
  result = GetLoginActorContext_result.new()
  begin
    result.success = @handler.getLoginActorContext(args.request)
  rescue ::SecondaryQrCodeException => e
    result.e = e
  end
  write_result(result, oprot, 'getLoginActorContext', seqid)
end

#process_verifyPinCode(seqid, iprot, oprot) ⇒ Object



105
106
107
108
109
110
111
112
113
114
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 105

def process_verifyPinCode(seqid, iprot, oprot)
  args = read_args(iprot, VerifyPinCode_args)
  result = VerifyPinCode_result.new()
  begin
    result.success = @handler.verifyPinCode(args.request)
  rescue ::SecondaryQrCodeException => e
    result.e = e
  end
  write_result(result, oprot, 'verifyPinCode', seqid)
end

#process_verifyQrCode(seqid, iprot, oprot) ⇒ Object



116
117
118
119
120
121
122
123
124
125
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 116

def process_verifyQrCode(seqid, iprot, oprot)
  args = read_args(iprot, VerifyQrCode_args)
  result = VerifyQrCode_result.new()
  begin
    result.success = @handler.verifyQrCode(args.request)
  rescue ::SecondaryQrCodeException => e
    result.e = e
  end
  write_result(result, oprot, 'verifyQrCode', seqid)
end