Mainloop class and Socket class is used only as private member in other
classes in common lib so it could be hidden symbol.
Change-Id: Id32237cb00a9115fc84d95294e1846e3ddc341da
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
{
}
+Connection::~Connection()
+{
+}
+
Connection &Connection::operator=(Connection &&other) noexcept
{
if (this == &other)
class API Connection {
public:
explicit Connection(Socket &&socket) noexcept;
- virtual ~Connection() = default;
+ virtual ~Connection();
Connection(const Connection &) = delete;
Connection &operator=(const Connection &) = delete;
namespace Csr {
-class API Mainloop {
+class Mainloop {
public:
using Callback = std::function<void(uint32_t event)>;
namespace Csr {
+Service::Service() noexcept
+{
+}
+
+Service::~Service()
+{
+}
+
void Service::setIdleChecker(std::function<bool()> &&idleChecker)
{
this->m_loop.setIdleChecker(std::move(idleChecker));
class API Service {
public:
- Service() = default;
- virtual ~Service() = default;
+ Service() noexcept;
+ virtual ~Service();
Service(const Service &) = delete;
Service &operator=(const Service &) = delete;
namespace Csr {
-class API Socket {
+class Socket {
public:
enum class Type : int {
SERVER = 0x01,
this->add(SockId::POPUP);
}
-PopupService::~PopupService()
-{
-}
-
RawBuffer PopupService::process(const ConnShPtr &, RawBuffer &data)
{
BinaryQueue q;
class PopupService : public Service {
public:
PopupService();
- virtual ~PopupService();
+ virtual ~PopupService() = default;
private:
virtual void onMessageProcess(const ConnShPtr &) override;