bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
BESDaemonConstants.h
1/*
2 * BESDaemonConstants.h
3 *
4 * Created on: Jun 13, 2011
5 * Author: jimg
6 */
7
8// Copyright (c) 2013 OPeNDAP, Inc. Author: James Gallagher
9// <jgallagher@opendap.org>, Patrick West <pwest@opendap.org>
10// Nathan Potter <npotter@opendap.org>
11//
12// modify it under the terms of the GNU Lesser General Public License
13// as published by the Free Software Foundation; either version 2.1 of
14// the License, or (at your option) any later version.
15//
16// This library is distributed in the hope that it will be useful, but
17// WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19// Lesser General Public License for more details.
20//
21// License along with this library; if not, write to the Free Software
22// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23// 02110-1301 U\ SA
24//
25// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI.
26// 02874-0112.
27#ifndef BESDAEMONCONSTANTS_H_
28#define BESDAEMONCONSTANTS_H_
29
30#define BESLISTENER_STOPPED 0
31#define BESLISTENER_RUNNING 4 // 1,2 are abnormal term, restart is 3
32#define BESLISTENER_RESTART SERVER_EXIT_RESTART
33
34// This is the file descriptor used for the pipe that enables the beslistener
35// to send its status back to the besdaemon telling it that the beslistener
36// has, in fact, started. NB: stdout is '1'
37
38#define MASTER_TO_DAEMON_PIPE_FD 1
39
40#endif /* BESDAEMONCONSTANTS_H_ */