Line | |
---|
1 | #ifndef RTNET_SDO_EXAMPLE_RTNETDATALISTENER_H
|
---|
2 | #define RTNET_SDO_EXAMPLE_RTNETDATALISTENER_H
|
---|
3 |
|
---|
4 | #include "ConnectionRequiredRunnable.h"
|
---|
5 | #include "RtnetDataHandler.h"
|
---|
6 | #include "common/thrift/RtnetData.h"
|
---|
7 |
|
---|
8 | #include <protocol/TProtocol.h>
|
---|
9 |
|
---|
10 | class RtnetDataListener : public ConnectionRequiredRunnable
|
---|
11 | {
|
---|
12 | public:
|
---|
13 | RtnetDataListener(boost::shared_ptr<apache::thrift::protocol::TProtocol>& protocol,
|
---|
14 | boost::shared_ptr<ConnectionStatusMonitor>& connectionMonitor,
|
---|
15 | boost::shared_ptr<com::gpssolutions::rtnet::RtnetDataIf> dataHandler);
|
---|
16 | ~RtnetDataListener();
|
---|
17 |
|
---|
18 | void run();
|
---|
19 | void stop();
|
---|
20 | private:
|
---|
21 | boost::shared_ptr<com::gpssolutions::rtnet::RtnetDataIf> dataHandler_;
|
---|
22 | boost::shared_ptr<apache::thrift::protocol::TProtocol> protocol_;
|
---|
23 | boost::shared_ptr<com::gpssolutions::rtnet::RtnetDataProcessor> processor_;
|
---|
24 | };
|
---|
25 |
|
---|
26 | #endif // RTNET_SDO_EXAMPLE_RTNETDATALISTENER_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.