Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package in.shop2020.thrift.clients;

import java.util.HashMap;

import org.apache.thrift.TException;

import in.shop2020.serving.page.MyAccountPage;
import in.shop2020.serving.page.ProductPage;
import in.shop2020.serving.page.PageLoader.Client;

public class Test {
        
        public static void main(String[] a){
                try {
                        PageLoaderClient pageLoaderClient = new PageLoaderClient();
                        ProductPage pagge = pageLoaderClient.getClient().getProductPage(1000008, null);
                        MyAccountPage page2 = pageLoaderClient.getClient().getMyAccountPage(4, new HashMap<String,String>());
                        MyAccountPage page1 = pageLoaderClient.getClient().getMyAccountPage(4, null);
                } catch (TException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                } catch (Exception e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }
        }
        
        
}