#ifndef RTNET_SDO_EXAMPLE_CLIENT_H #define RTNET_SDO_EXAMPLE_CLIENT_H #include #include #include #include class RtnetDataHandler; class ConnectionRequiredRunnable; class ConnectionStatusMonitor; class Client { public: Client(const std::string& server, int16_t port, boost::shared_ptr& timeMgr, boost::shared_ptr dataHandler); ~Client(); void stop(); private: boost::shared_ptr connectionMonitor_; boost::shared_ptr transport_; boost::shared_ptr protocol_; boost::shared_ptr sender_; boost::shared_ptr senderThread_; boost::shared_ptr receiver_; boost::shared_ptr receiverThread_; }; #endif // RTNET_SDO_EXAMPLE_CLIENT_H