hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
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
utils
reduceHandler
src
ConsoleSupportNotifier.cpp
Generated on Tue Jun 30 2015 19:42:14 for hce-node application by
1.8.1.2