Subversion Repositories SmartDukaan

Rev

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

package in.shop2020.thrift.clients;

import in.shop2020.thrift.clients.TestClient;


public class TestOfTestServer {
        
        public static void main(String [] args) throws Exception{
                
                TestClient testClient = new TestClient();
                testClient.getClient().sayHello("Hello");
//              
//              int count = 1;
//              while(true){
//                      TestClient testClient = new TestClient();
//                      testClient.getClient().sayHello("Hello");
//                      //testClient.getClient().createUser("Rajveer");
//                      String user = testClient.getClient().getUser(count++);
//                      System.out.println("Wait start" + user);
//                      Thread.sleep(500);
//                      System.out.println("Wait over");
//                      //testClient.closeConnection();
//              }
                /*
                testClient.getClient().sayHello("Hello Rajveer");
                System.out.println("Wait start");
                Thread.sleep(120000);
                System.out.println("Wait over");
                // testClient.closeConnection();
                
                System.out.println("Wait after session close");
                Thread.sleep(10000);
                System.out.println("Wait over 2");
                //TestClient testClient1 = new TestClient();
                //testClient1.getClient().sayHello("Hello Rajveer 1");
                //testClient.closeConnection();
                */
        }
}