// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // client_image_rdb.h - Handles accepted TCP/IP connections from RDB server // // = AUTHOR // Stefano Casazza // // ============================================================================ #ifndef U_CLIENT_IMAGE_RDB_H #define U_CLIENT_IMAGE_RDB_H 1 #include #include /** * @class URDBClientImage * * @brief Handles accepted TCP/IP connections from URDBServer */ class URDB; class U_EXPORT URDBClientImage : public UClientImage { public: URDBClientImage() : UClientImage() { U_TRACE_CTOR(0, URDBClientImage, "") } virtual ~URDBClientImage() { U_TRACE_DTOR(0, URDBClientImage) } // DEBUG #if defined(U_STDCPP_ENABLE) && defined(DEBUG) const char* dump(bool reset) const; #endif protected: static URDB* rdb; // define method VIRTUAL of class UEventFd virtual int handlerRead() U_DECL_FINAL; private: U_DISALLOW_COPY_AND_ASSIGN(URDBClientImage) friend class URDBServer; }; #endif