xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
tests
XrdClTests
XRootDProtocolHelper.hh
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
// Copyright (c) 2011-2012 by European Organization for Nuclear Research (CERN)
3
// Author: Lukasz Janyst <ljanyst@cern.ch>
4
//------------------------------------------------------------------------------
5
// XRootD is free software: you can redistribute it and/or modify
6
// it under the terms of the GNU Lesser General Public License as published by
7
// the Free Software Foundation, either version 3 of the License, or
8
// (at your option) any later version.
9
//
10
// XRootD is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
// You should have received a copy of the GNU Lesser General Public License
16
// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
17
//------------------------------------------------------------------------------
18
19
#ifndef XROOTD_PROTOCOL_HELPER_HH
20
#define XROOTD_PROTOCOL_HELPER_HH
21
22
#include <
XrdCl/XrdClLog.hh
>
23
#include <
XrdCl/XrdClMessage.hh
>
24
25
class
XRootDProtocolHelper
26
{
27
public
:
28
//--------------------------------------------------------------------------
30
//--------------------------------------------------------------------------
31
bool
HandleLogin
(
int
socket,
XrdCl::Log
*log );
32
33
//--------------------------------------------------------------------------
35
//--------------------------------------------------------------------------
36
bool
HandleClose
(
int
socket,
XrdCl::Log
*log );
37
38
//--------------------------------------------------------------------------
40
//--------------------------------------------------------------------------
41
bool
GetMessage
(
XrdCl::Message
*msg,
int
socket,
XrdCl::Log
*log );
42
private
:
43
};
44
45
#endif // XROOTD_PROTOCOL_HELPER_HH
Generated by
1.8.3.1