Subversion Repositories SmartDukaan

Rev

Rev 411 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 411 Rev 447
Line 18... Line 18...
18
		client = new Client(protocol);
18
		client = new Client(protocol);
19
		
19
		
20
	}
20
	}
21
	
21
	
22
	public ShoppingCartClient() throws Exception{
22
	public ShoppingCartClient() throws Exception{
23
		this(ShoppingCartClient.class.getSimpleName(), ConfigClientKeys.shopping_cart_hostname.toString(), ConfigClientKeys.shopping_cart_port.toString());
23
		this(ShoppingCartClient.class.getSimpleName(), ConfigClientKeys.shopping_cart_server_host.toString(), ConfigClientKeys.shopping_cart_server_port.toString());
24
	}
24
	}
25
	
25
	
26
	@PostConstruct
26
	@PostConstruct
27
	public void openTransport(){
27
	public void openTransport(){
28
		if(transport.isOpen()){
28
		if(transport.isOpen()){