Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
c4a68c4f
Commit
c4a68c4f
authored
Dec 15, 2016
by
Steven Murray
Browse files
Removed MessageHeader from tapeserver/castor
parent
c0912d47
Changes
4
Hide whitespace changes
Inline
Side-by-side
tapeserver/castor/legacymsg/CMakeLists.txt
View file @
c4a68c4f
...
...
@@ -4,5 +4,4 @@ include_directories(${PROJECT_SOURCE_DIR}/tapeserver)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/tapeserver/h
)
add_library
(
ctalegacymsg
TapeLabelRqstMsgBody.cpp
MessageHeader.cpp
)
TapeLabelRqstMsgBody.cpp
)
tapeserver/castor/legacymsg/MessageHeader.cpp
deleted
100644 → 0
View file @
c0912d47
/******************************************************************************
*
* 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 Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#include
"castor/legacymsg/MessageHeader.hpp"
//------------------------------------------------------------------------------
// constructor
//------------------------------------------------------------------------------
castor
::
legacymsg
::
MessageHeader
::
MessageHeader
()
throw
()
:
magic
(
0
),
reqType
(
0
),
lenOrStatus
(
0
)
{
}
tapeserver/castor/legacymsg/MessageHeader.hpp
deleted
100644 → 0
View file @
c0912d47
/******************************************************************************
*
* 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 Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#pragma once
#include
<stdint.h>
namespace
castor
{
namespace
legacymsg
{
/**
* A message header
*/
struct
MessageHeader
{
/**
* The magic number of the message.
*/
uint32_t
magic
;
/**
* The request type of the message.
*/
uint32_t
reqType
;
/**
* The length of the message body in bytes if this is the header of any
* message other than an acknowledge message. If this is the header of
* an acknowledge message then there is no message body and this field is
* used to pass the status of the acknowledge.
*/
uint32_t
lenOrStatus
;
/**
* Constructor.
*
* Sets all integer member-variables to 0.
*/
MessageHeader
()
throw
();
};
// struct MessageHeader
}
// namespace legacymsg
}
// namespace castor
tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp
View file @
c4a68c4f
...
...
@@ -22,7 +22,6 @@
*****************************************************************************/
#include
"castor/io/io.hpp"
#include
"castor/legacymsg/MessageHeader.hpp"
#include
"common/log/LogContext.hpp"
#include
"common/threading/System.hpp"
#include
"castor/tape/tapeserver/daemon/LabelSession.hpp"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment