Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3399 mandeep.dh 1
'''
2
Created on 22-Sep-2011
3
 
4
@author: mandeep.dhir
5
'''
6
from shop2020.thriftpy.crm.CRMService import Client
7
from shop2020.clients.GenericClient import GenericClient
8
 
9
class CRMClient(GenericClient):
10
 
11
    def __init__(self):
12
        GenericClient.__init__(self, "crm_service_server_host", "crm_service_server_port")
13
        self.__start__()
14
 
15
    def __start__(self):
16
        self.client = Client(self.protocol)
17
 
18
    def get_client(self):
19
        return self.client