XRootD
XrdClPollerFactory.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 __XRD_CL_POLLER_FACTORY_HH__
20
#define __XRD_CL_POLLER_FACTORY_HH__
21
22
#include "
XrdCl/XrdClPoller.hh
"
23
24
namespace
XrdCl
25
{
26
27
//----------------------------------------------------------------------------
29
//----------------------------------------------------------------------------
30
class
PollerFactory
31
{
32
public
:
33
//------------------------------------------------------------------------
41
//------------------------------------------------------------------------
42
static
Poller
*
CreatePoller
(
const
std::string &preference );
43
};
44
}
45
46
#endif
// __XRD_CL_POLLER_FACTORY_HH__
XrdClPoller.hh
XrdCl::PollerFactory
Helper for creating poller objects.
Definition:
XrdClPollerFactory.hh:31
XrdCl::PollerFactory::CreatePoller
static Poller * CreatePoller(const std::string &preference)
Definition:
XrdClPollerFactory.cc:44
XrdCl::Poller
Interface for socket pollers.
Definition:
XrdClPoller.hh:87
XrdCl
Definition:
XrdClAction.hh:34
XrdCl
XrdClPollerFactory.hh
Generated by
1.9.1