Class: AccountAuthFactorEapConnectService::Processor

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

Instance Method Summary collapse

Instance Method Details

#process_connectEapAccount(seqid, iprot, oprot) ⇒ Object



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

def process_connectEapAccount(seqid, iprot, oprot)
  args = read_args(iprot, ConnectEapAccount_args)
  result = ConnectEapAccount_result.new()
  begin
    result.success = @handler.connectEapAccount(args.request)
  rescue ::AccountEapConnectException => e
    result.e = e
  end
  write_result(result, oprot, 'connectEapAccount', seqid)
end

#process_disconnectEapAccount(seqid, iprot, oprot) ⇒ Object



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

def process_disconnectEapAccount(seqid, iprot, oprot)
  args = read_args(iprot, DisconnectEapAccount_args)
  result = DisconnectEapAccount_result.new()
  begin
    result.success = @handler.disconnectEapAccount(args.request)
  rescue ::AccountEapConnectException => e
    result.e = e
  end
  write_result(result, oprot, 'disconnectEapAccount', seqid)
end

#process_openSession(seqid, iprot, oprot) ⇒ Object



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

def process_openSession(seqid, iprot, oprot)
  args = read_args(iprot, OpenSession_args)
  result = OpenSession_result.new()
  begin
    result.success = @handler.openSession(args.request)
  rescue ::AuthException => e
    result.e = e
  end
  write_result(result, oprot, 'openSession', seqid)
end

#process_verifyEapLogin(seqid, iprot, oprot) ⇒ Object



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

def process_verifyEapLogin(seqid, iprot, oprot)
  args = read_args(iprot, VerifyEapLogin_args)
  result = VerifyEapLogin_result.new()
  begin
    result.success = @handler.verifyEapLogin(args.request)
  rescue ::AccountEapConnectException => e
    result.e = e
  end
  write_result(result, oprot, 'verifyEapLogin', seqid)
end