- Timestamp:
- Feb 23, 2013, 4:28:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/thrift/test2/server.cpp
r4946 r4947 35 35 }; 36 36 37 shared_ptr<t_connection> CONNECTION; 38 37 39 class myProcessorFactory : public TProcessorFactory { 38 40 public: … … 42 44 shared_ptr<TProcessor> processor(new myServiceProcessor(service)); 43 45 cout << "connection " << endl; 44 45 t_connection connection;46 connection ._service = service;47 connection ._processor = processor;48 connection ._protocolInp = info.input;49 connection ._protocolOut = info.output;50 connection ._transport = info.transport;46 47 shared_ptr<t_connection> connection(new t_connection); 48 connection->_service = service; 49 connection->_processor = processor; 50 connection->_protocolInp = info.input; 51 connection->_protocolOut = info.output; 52 connection->_transport = info.transport; 51 53 52 54 return processor;
Note:
See TracChangeset
for help on using the changeset viewer.