Subversion Repositories SmartDukaan

Rev

Rev 304 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#
# Autogenerated by Thrift Compiler (0.7.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#

from thrift.Thrift import *

from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtocol
try:
  from thrift.protocol import fastbinary
except:
  fastbinary = None


class MsgType:
  REGISTER = 0
  LOGIN = 1
  LOGOUT = 2
  ADD_TO_CART = 3
  CHECKOUT = 4
  PAYMENT = 5

  _VALUES_TO_NAMES = {
    0: "REGISTER",
    1: "LOGIN",
    2: "LOGOUT",
    3: "ADD_TO_CART",
    4: "CHECKOUT",
    5: "PAYMENT",
  }

  _NAMES_TO_VALUES = {
    "REGISTER": 0,
    "LOGIN": 1,
    "LOGOUT": 2,
    "ADD_TO_CART": 3,
    "CHECKOUT": 4,
    "PAYMENT": 5,
  }