Subversion Repositories SmartDukaan

Rev

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

Rev 304 Rev 410
Line 23... Line 23...
23
class TransactionClient:
23
class TransactionClient:
24
    file_path = '/tmp/config.properties'
24
    file_path = '/tmp/config.properties'
25
    
25
    
26
    def __init__(self):
26
    def __init__(self):
27
        config_client = ConfigClient()
27
        config_client = ConfigClient()
28
        self.host = config_client.get_property("transaction_service_hostname")
28
        self.host = config_client.get_property("transaction_service_server_host")
29
        self.port = config_client.get_property("transaction_service_port")
29
        self.port = config_client.get_property("transaction_service_server_port")
30
        
30
        
31
        self.start_client()
31
        self.start_client()
32
    
32
    
33
    
33
    
34
    def start_client(self):
34
    def start_client(self):