mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-23 21:27:14 +01:00
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.
47 lines
699 B
C++
47 lines
699 B
C++
//
|
|
// RedisEventArgs.cpp
|
|
//
|
|
// Library: Redis
|
|
// Package: Redis
|
|
// Module: RedisEventArgs
|
|
//
|
|
// Implementation of the RedisEventArgs class.
|
|
//
|
|
// Copyright (c) 2015, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#include "Poco/Redis/RedisEventArgs.h"
|
|
|
|
|
|
namespace Poco {
|
|
namespace Redis {
|
|
|
|
|
|
RedisEventArgs::RedisEventArgs(RedisType::Ptr pMessage):
|
|
_message(pMessage),
|
|
_exception(0),
|
|
_stop(false)
|
|
{
|
|
}
|
|
|
|
|
|
RedisEventArgs::RedisEventArgs(Exception* pException):
|
|
_message(),
|
|
_exception(pException ? pException->clone() : 0),
|
|
_stop(false)
|
|
{
|
|
}
|
|
|
|
|
|
RedisEventArgs::~RedisEventArgs()
|
|
{
|
|
delete _exception;
|
|
}
|
|
|
|
|
|
} } // namespace Poco::Redis
|