mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-24 05:37:14 +01:00
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
|