AggregatorDlfMessageStrings.cpp 3.49 KB
Newer Older
1
/* This file was generated by ./AggregatorDlfMessagesCodeGenerator on Thu Dec  4 11:35:54 CET 2008
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 */

/******************************************************************************
 *           castor/tape/aggregator/AggregatorDlfMessageStrings.cpp
 *
 * This file is part of the Castor project.
 * See http://castor.web.cern.ch/castor
 *
 * Copyright (C) 2003  CERN
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 *
 *
 *
 * @author Steven Murray Steven.Murray@cern.ch
 *****************************************************************************/

#include "castor/tape/aggregator/AggregatorDlfMessageConstants.hpp"
29
#include "castor/tape/aggregator/AggregatorDaemon.hpp"
30

31
castor::dlf::Message castor::tape::aggregator::AggregatorDaemon::s_dlfMessages[] = {
32
{AGGREGATOR_NULL, " - "},
33
{AGGREGATOR_STARTED, "aggregatord started"},
34
35
{AGGREGATOR_FAILED_TO_PARSE_COMMAND_LINE, "Failed to parse the command line"},
{AGGREGATOR_FAILED_TO_INIT_DB_SERVICE, "Failed to initialise database service"},
36
37
{AGGREGATOR_VDQM_REQUEST_HANDLER_SOCKET_IS_NULL, "The VdqmRequestHandlerThread has been passed a NULL socket pointer"},
{AGGREGATOR_HANDLE_VDQM_REQUEST_EXCEPT, "Exception raised when handling a request from the VDQM"},
38
{AGGREGATOR_FAILED_TO_READ_MAGIC, "Failed to read magic number from socket"},
39
40
41
{AGGREGATOR_UNKNOWN_MAGIC, "Unknown magic number"},
{AGGREGATOR_FAILED_TO_READ_REQUEST_TYPE, "Failed to read request type from socket"},
{AGGREGATOR_UNKNOWN_REQUEST_TYPE, "Unknown request type"},
42
43
44
45
{AGGREGATOR_FAILED_TO_READ_MESSAGE_BODY_LENGTH, "Failed to read length of message body"},
{AGGREGATOR_MESSAGE_BODY_LENGTH_TOO_LARGE, "Length of message body is too large"},
{AGGREGATOR_JOB_MESSAGE_BODY_LENGTH_TOO_SHORT, "Length of job submission message body is too short"},
{AGGREGATOR_FAILED_TO_READ_MESSAGE_BODY, "Failed to read message body"},
46
{AGGREGATOR_HANDLE_JOB_MESSAGE, "Handle job submission message VDQM_CLIENTINFO:RTCOPY_MAGIC_OLD0"},
47
48
{AGGREGATOR_SUBMITTING_JOB_TO_RTCPD, "Submitting remote copy job to RTCPD"},
{AGGREGATOR_FAILED_TO_SUBMIT_JOB_TO_RTCPD, "Failed to submit remote copy job to RTCPD"},
49
50
{AGGREGATOR_FAILED_TO_MARSHALL_RTCP_ACKN, "Failed to marshall RTCP acknowledge message"},
{AGGREGATOR_FAILED_TO_SEND_RTCP_ACKN_TO_VDQM, "Failed to send RTCP acknowledge to VDQM"},
51
52
{AGGREGATOR_RECEIVED_RCP_JOB_FROM_UNAUTHORIZED_HOST, "Received a remote copy job from an unauthorized host"},
{AGGREGATOR_RECEIVED_RTCPD_ERROR_MESSAGE, "Received error message from RTCPD"},
53
{AGGREGATOR_RTCPD_HANDLER_SOCKET_IS_NULL, "The RtcpdHandlerThread has been passed a NULL socket pointer"},
54
{AGGREGATOR_RTCPD_CONNECTION_WITH_INFO, "Recieved a connection from RTCPD"},
55
{AGGREGATOR_RTCPD_CONNECTION_WITHOUT_INFO, "Recieved a connection from RTCPD without peer host and port information"},
56
57
{AGGREGATOR_GOT_VID_FROM_RTCPD, "Got VID from RTCPD"},
{AGGREGATOR_FAILED_TO_GET_VID_FROM_RTCPD, "Failed to VID from RTCPD"},
58
{-1, ""}};