0.9.8.10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
home
doug
src
hypertable
src
cc
Hypertable
RangeServer
HyperspaceSessionHandler.cc
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2007-2015 Hypertable, Inc.
3
*
4
* This file is part of Hypertable.
5
*
6
* Hypertable is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; version 3 of the
9
* License, or any later version.
10
*
11
* Hypertable is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
* 02110-1301, USA.
20
*/
21
22
#include <
Common/Compat.h
>
23
24
#include "
HyperspaceSessionHandler.h
"
25
26
using namespace
Hyperspace
;
27
31
void
HyperspaceSessionHandler::safe
() {
32
HT_INFO
(
"Hyperspace session state change: SAFE"
);
33
}
34
38
void
HyperspaceSessionHandler::jeopardy
() {
39
HT_INFO
(
"Hyperspace session state change: JEOPARDY"
);
40
}
41
45
void
HyperspaceSessionHandler::expired
() {
46
HT_ERROR_OUT
<<
"Hyperspace session expired. Exiting..."
<<
HT_END
;
47
quick_exit(EXIT_FAILURE);
48
}
49
53
void
HyperspaceSessionHandler::disconnected
() {
54
HT_INFO
(
"Hyperspace session state: DISCONNECTED..."
);
55
}
56
60
void
HyperspaceSessionHandler::reconnected
() {
61
HT_INFO
(
"Hyperspace session state: RECONNECTED..."
);
62
}
Hypertable::HyperspaceSessionHandler::jeopardy
virtual void jeopardy()
Definition:
HyperspaceSessionHandler.cc:38
HT_INFO
#define HT_INFO(msg)
Definition:
Logger.h:271
Hyperspace
Hyperspace definitions
Definition:
BerkeleyDbFilesystem.h:57
Hypertable::HyperspaceSessionHandler::disconnected
virtual void disconnected()
Definition:
HyperspaceSessionHandler.cc:53
Compat.h
Compatibility Macros for C/C++.
HT_END
#define HT_END
Definition:
Logger.h:220
Hypertable::HyperspaceSessionHandler::safe
virtual void safe()
Definition:
HyperspaceSessionHandler.cc:31
HT_ERROR_OUT
#define HT_ERROR_OUT
Definition:
Logger.h:301
HyperspaceSessionHandler.h
Hypertable::HyperspaceSessionHandler::expired
virtual void expired()
Definition:
HyperspaceSessionHandler.cc:45
Hypertable::HyperspaceSessionHandler::reconnected
virtual void reconnected()
Definition:
HyperspaceSessionHandler.cc:60
Generated on Tue Dec 22 2015 18:43:16 for Hypertable by
1.8.8