Subversion Repositories SmartDukaan

Rev

Rev 1021 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
836 rajveer 1
package in.shop2020.thrift.clients;
2
 
3
import in.shop2020.thrift.clients.TestClient;
4
 
5
 
6
public class TestOfTestServer {
7
 
8
	public static void main(String [] args) throws Exception{
3429 rajveer 9
 
10
		TestClient testClient = new TestClient();
11
		testClient.getClient().sayHello("Hello");
12
//		
13
//		int count = 1;
14
//		while(true){
15
//			TestClient testClient = new TestClient();
16
//			testClient.getClient().sayHello("Hello");
17
//			//testClient.getClient().createUser("Rajveer");
18
//			String user = testClient.getClient().getUser(count++);
19
//			System.out.println("Wait start" + user);
20
//			Thread.sleep(500);
21
//			System.out.println("Wait over");
22
//			//testClient.closeConnection();
23
//		}
836 rajveer 24
		/*
25
		testClient.getClient().sayHello("Hello Rajveer");
26
		System.out.println("Wait start");
27
		Thread.sleep(120000);
28
		System.out.println("Wait over");
29
		// testClient.closeConnection();
30
 
31
		System.out.println("Wait after session close");
32
		Thread.sleep(10000);
33
		System.out.println("Wait over 2");
34
		//TestClient testClient1 = new TestClient();
35
		//testClient1.getClient().sayHello("Hello Rajveer 1");
36
		//testClient.closeConnection();
37
		*/
38
	}
39
}