Ejemplo n.º 1
0
        internal SimpleServer(int port)
        {
            TSampleService.Iface remoteService = new SampleService(port);

            TServerTransport transport = new TServerSocket(port);
            var processor = new TSampleService.Processor(remoteService);
            server = new TSimpleServer(processor, transport);
        }
Ejemplo n.º 2
0
        internal SimpleServer(int port)
        {
            TSampleService.Iface remoteService = new SampleService(port);

            TServerTransport transport = new TServerSocket(port);
            var processor = new TSampleService.Processor(remoteService);

            server = new TSimpleServer(processor, transport);
        }