bes
Updated for version 3.20.6
ShowNodeResponseHandler.h
1
// ShowNodeResponseHandler.h
2
3
// This file is part of bes, A C++ back-end server implementation framework
4
// for the OPeNDAP Data Access Protocol.
5
6
// Copyright (c) 2018 OPeNDAP, Inc
7
// Author: James Gallagher <jgallagher@opendap.org>
8
//
9
// This library is free software; you can redistribute it and/or
10
// modify it under the terms of the GNU Lesser General Public
11
// License as published by the Free Software Foundation; either
12
// version 2.1 of the License, or (at your option) any later version.
13
//
14
// This library is distributed in the hope that it will be useful,
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
// Lesser General Public License for more details.
18
//
19
// You should have received a copy of the GNU Lesser General Public
20
// License along with this library; if not, write to the Free Software
21
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
//
23
// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
24
25
#ifndef I_ShowNodeResponseHandler_h
26
#define I_ShowNodeResponseHandler_h 1
27
28
#include <string>
29
#include <ostream>
30
31
#include "BESResponseHandler.h"
32
33
class
BESDataHandlerInterface
;
34
class
BESTransmitter
;
35
36
namespace
bes {
37
49
class
ShowNodeResponseHandler
:
public
BESResponseHandler
{
50
private
:
51
public
:
52
ShowNodeResponseHandler
(
const
std::string &name):
BESResponseHandler
(name)
53
{
54
}
55
56
virtual
~
ShowNodeResponseHandler
()
57
{
58
}
59
60
virtual
void
execute
(
BESDataHandlerInterface
&dhi);
61
virtual
void
transmit
(
BESTransmitter
*transmitter,
BESDataHandlerInterface
&dhi);
62
63
virtual
void
dump
(std::ostream &strm)
const
;
64
65
static
BESResponseHandler
*ShowNodeResponseBuilder(
const
std::string &name);
66
};
67
68
}
69
70
#endif // I_ShowNodeResponseHandler_h
71
bes::ShowNodeResponseHandler::execute
virtual void execute(BESDataHandlerInterface &dhi)
Execute the showNode command.
Definition:
ShowNodeResponseHandler.cc:62
bes::ShowNodeResponseHandler
Evaluate a showNode command.
Definition:
ShowNodeResponseHandler.h:49
BESResponseHandler
handler object that knows how to create a specific response object
Definition:
BESResponseHandler.h:77
BESTransmitter
Definition:
BESTransmitter.h:47
bes::ShowNodeResponseHandler::dump
virtual void dump(std::ostream &strm) const
dumps information about this object
Definition:
ShowNodeResponseHandler.cc:174
BESDataHandlerInterface
Structure storing information used by the BES to handle the request.
Definition:
BESDataHandlerInterface.h:56
bes::ShowNodeResponseHandler::transmit
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object
Definition:
ShowNodeResponseHandler.cc:159
dispatch
ShowNodeResponseHandler.h
Generated by
1.8.17