TapeserverProxyDummy.cpp 4.18 KB
Newer Older
Daniele Kruse's avatar
Daniele Kruse committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/******************************************************************************
 *
 * 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.
 *
19
 * @author Castor Dev team, castor-dev@cern.ch
Daniele Kruse's avatar
Daniele Kruse committed
20
21
 *****************************************************************************/

22
#include "castor/messages/TapeserverProxyDummy.hpp"
Daniele Kruse's avatar
Daniele Kruse committed
23
24

//------------------------------------------------------------------------------
25
// gotRecallJobFromTapeGateway
Daniele Kruse's avatar
Daniele Kruse committed
26
//------------------------------------------------------------------------------
27
28
void castor::messages::TapeserverProxyDummy::gotRecallJobFromTapeGateway(
  const std::string &vid, const std::string &unitName) {
29
30
31
}

//------------------------------------------------------------------------------
32
// gotRecallJobFromReadTp
33
//------------------------------------------------------------------------------
34
35
36
void castor::messages::TapeserverProxyDummy::gotRecallJobFromReadTp(
  const std::string &vid, const std::string &unitName) {
}
37

38
39
40
41
42
43
//------------------------------------------------------------------------------
// gotMigrationJobFromTapeGateway
//------------------------------------------------------------------------------
uint32_t castor::messages::TapeserverProxyDummy::gotMigrationJobFromTapeGateway(
  const std::string &vid, const std::string &unitName) {
  return 0;
44
45
46
}

//------------------------------------------------------------------------------
47
// gotMigrationJobFromWriteTp
48
//------------------------------------------------------------------------------
49
50
51
uint32_t castor::messages::TapeserverProxyDummy::gotMigrationJobFromWriteTp(
  const std::string &vid, const std::string &unitName) {
  return 0;
Daniele Kruse's avatar
Daniele Kruse committed
52
}
53
54

//------------------------------------------------------------------------------
55
// tapeMountedForRecall
56
//------------------------------------------------------------------------------
57
58
void castor::messages::TapeserverProxyDummy::tapeMountedForRecall(
  const std::string &vid, const std::string &unitName) {
59
60
61
}

//------------------------------------------------------------------------------
62
// tapeMountedForMigration
63
//------------------------------------------------------------------------------
64
65
void castor::messages::TapeserverProxyDummy::tapeMountedForMigration(
  const std::string &vid, const std::string &unitName) {
66
67
}

68
//------------------------------------------------------------------------------
69
// tapeUnmountStarted
70
//------------------------------------------------------------------------------
71
72
void castor::messages::TapeserverProxyDummy::tapeUnmountStarted(
  const std::string &vid, const std::string &unitName) {
73
74
} 

75
76
77
//------------------------------------------------------------------------------
// tapeUnmounted
//------------------------------------------------------------------------------
78
void castor::messages::TapeserverProxyDummy::tapeUnmounted(
79
  const std::string &vid, const std::string &unitName) {
80
} 
81

82
83
84
85
//------------------------------------------------------------------------------
// tapeUnmounted
//------------------------------------------------------------------------------
void castor::messages::TapeserverProxyDummy::
86
notifyHeartbeat(const std::string &unitName, const uint64_t nbBlocksMoved) {
87
} 
88
89
90
91
92
93
94

//------------------------------------------------------------------------------
// labelError
//------------------------------------------------------------------------------
void castor::messages::TapeserverProxyDummy::labelError(
  const std::string &unitName, const castor::exception::Exception &labelEx) {
}