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 TTransportfrom thrift.protocol import TBinaryProtocol, TProtocoltry:from thrift.protocol import fastbinaryexcept:fastbinary = Noneclass MsgType:REGISTER = 0LOGIN = 1LOGOUT = 2ADD_TO_CART = 3CHECKOUT = 4PAYMENT = 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,}