mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 09:57:14 +01:00
4a6bfc086c
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
106 lines
1.5 KiB
C++
106 lines
1.5 KiB
C++
//
|
|
// SocketNotification.cpp
|
|
//
|
|
// Library: Net
|
|
// Package: Reactor
|
|
// Module: SocketNotification
|
|
//
|
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#include "Poco/Net/SocketNotification.h"
|
|
|
|
|
|
namespace Poco {
|
|
namespace Net {
|
|
|
|
|
|
SocketNotification::SocketNotification(SocketReactor* pReactor):
|
|
_pReactor(pReactor)
|
|
{
|
|
}
|
|
|
|
|
|
SocketNotification::~SocketNotification()
|
|
{
|
|
}
|
|
|
|
|
|
void SocketNotification::setSocket(const Socket& socket)
|
|
{
|
|
_socket = socket;
|
|
}
|
|
|
|
|
|
ReadableNotification::ReadableNotification(SocketReactor* pReactor):
|
|
SocketNotification(pReactor)
|
|
{
|
|
}
|
|
|
|
|
|
ReadableNotification::~ReadableNotification()
|
|
{
|
|
}
|
|
|
|
|
|
WritableNotification::WritableNotification(SocketReactor* pReactor):
|
|
SocketNotification(pReactor)
|
|
{
|
|
}
|
|
|
|
|
|
WritableNotification::~WritableNotification()
|
|
{
|
|
}
|
|
|
|
|
|
ErrorNotification::ErrorNotification(SocketReactor* pReactor):
|
|
SocketNotification(pReactor)
|
|
{
|
|
}
|
|
|
|
|
|
ErrorNotification::~ErrorNotification()
|
|
{
|
|
}
|
|
|
|
|
|
TimeoutNotification::TimeoutNotification(SocketReactor* pReactor):
|
|
SocketNotification(pReactor)
|
|
{
|
|
}
|
|
|
|
|
|
TimeoutNotification::~TimeoutNotification()
|
|
{
|
|
}
|
|
|
|
|
|
IdleNotification::IdleNotification(SocketReactor* pReactor):
|
|
SocketNotification(pReactor)
|
|
{
|
|
}
|
|
|
|
|
|
IdleNotification::~IdleNotification()
|
|
{
|
|
}
|
|
|
|
|
|
ShutdownNotification::ShutdownNotification(SocketReactor* pReactor):
|
|
SocketNotification(pReactor)
|
|
{
|
|
}
|
|
|
|
|
|
ShutdownNotification::~ShutdownNotification()
|
|
{
|
|
}
|
|
|
|
|
|
} } // namespace Poco::Net
|