HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ConsoleSupportNotifier.cpp
Go to the documentation of this file.
1
#include "
ConsoleSupportNotifier.hpp
"
2
#include <iostream>
3
4
namespace
HCE{
5
namespace
reduce{
6
7
using namespace
std;
8
using namespace
Poco;
9
using namespace
HCE::reduce_types;
10
11
ConsoleSupportNotifier::ConsoleSupportNotifier
() {
12
}
13
14
ConsoleSupportNotifier::~ConsoleSupportNotifier
() {
15
}
16
17
void
ConsoleSupportNotifier::notifyWrongJSONStructure
(
unsigned
long
long
itemId,
18
const
SharedPtr<ReducingInputMessage>& reducingInputMessage)
19
{
20
cout <<
"WrongJSONStructure\n"
;
21
cout <<
"itemId "
<< itemId;
22
cout <<
"\nprocessing type "
<<
static_cast<
int
>
(reducingInputMessage->getProcessingType());
23
cout <<
"\nbody\n"
<< reducingInputMessage->getBody() <<
endl
;
24
}
25
26
void
ConsoleSupportNotifier::notifyNotFoundItemException
(
const
NotFoundByKeyException
& e)
27
{
28
cout <<
"Storage key error\n"
;
29
cout << e.
what
() <<
endl
;
30
}
31
32
}
33
}
sources
reduceHandler
src
ConsoleSupportNotifier.cpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2