Subversion Repositories SmartDukaan

Rev

Rev 3431 | Rev 4008 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3431 Rev 3499
Line 32... Line 32...
32
  print '  void updatePasswordForAgent(string agentEmailId, string password)'
32
  print '  void updatePasswordForAgent(string agentEmailId, string password)'
33
  print '   getRoleNamesForAgent(string agentEmailId)'
33
  print '   getRoleNamesForAgent(string agentEmailId)'
34
  print '   getPermissionsForRoleName(string roleName)'
34
  print '   getPermissionsForRoleName(string roleName)'
35
  print '  i64 getLastEmailProcessedTimestamp()'
35
  print '  i64 getLastEmailProcessedTimestamp()'
36
  print '  void updateLastEmailProcessedTimestamp(i64 timestamp)'
36
  print '  void updateLastEmailProcessedTimestamp(i64 timestamp)'
-
 
37
  print '  void processCODTxn(i64 transactionId)'
37
  print ''
38
  print ''
38
  sys.exit(0)
39
  sys.exit(0)
39
 
40
 
40
pp = pprint.PrettyPrinter(indent = 2)
41
pp = pprint.PrettyPrinter(indent = 2)
41
host = 'localhost'
42
host = 'localhost'
Line 160... Line 161...
160
  if len(args) != 1:
161
  if len(args) != 1:
161
    print 'updateLastEmailProcessedTimestamp requires 1 args'
162
    print 'updateLastEmailProcessedTimestamp requires 1 args'
162
    sys.exit(1)
163
    sys.exit(1)
163
  pp.pprint(client.updateLastEmailProcessedTimestamp(eval(args[0]),))
164
  pp.pprint(client.updateLastEmailProcessedTimestamp(eval(args[0]),))
164
 
165
 
-
 
166
elif cmd == 'processCODTxn':
-
 
167
  if len(args) != 1:
-
 
168
    print 'processCODTxn requires 1 args'
-
 
169
    sys.exit(1)
-
 
170
  pp.pprint(client.processCODTxn(eval(args[0]),))
-
 
171
 
165
else:
172
else:
166
  print 'Unrecognized method %s' % cmd
173
  print 'Unrecognized method %s' % cmd
167
  sys.exit(1)
174
  sys.exit(1)
168
 
175
 
169
transport.close()
176
transport.close()