Subversion Repositories SmartDukaan

Rev

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

package in.shop2020.test;

import org.apache.thrift.TException;

import in.shop2020.test.TestService.Iface;


public class TestHandler implements Iface{

        @Override
        public void sayHello(String message) throws TException {
                System.out.println("Hello Test");
                
        }

        @Override
        public String getUser(long id) throws TException {
                System.out.println("Hello Test 1");
                return "abc";
        }

        @Override
        public void createUser(String name) throws TException {
                // TODO Auto-generated method stub
                
        }

        @Override
        public void closeSession() throws TException {
                // TODO Auto-generated method stub
                
        }

        @Override
        public long getAddressId() throws TException {
                // TODO Auto-generated method stub
                return 0;
        }

        @Override
        public Address getAddress() throws TException {
                // TODO Auto-generated method stub
                return null;
        }
        
}