xrootd
XrdCmsSupervisor.hh
Go to the documentation of this file.
00001 #ifndef __CMS_SUPERVISOR_H__
00002 #define __CMS_SUPERVISOR_H__
00003 /******************************************************************************/
00004 /*                                                                            */
00005 /*                   X r d C m s S u p e r v i s o r . h h                    */
00006 /*                                                                            */
00007 /*                                                                            */
00008 /* (c) 2007 by the Board of Trustees of the Leland Stanford, Jr., University  */
00009 /*                            All Rights Reserved                             */
00010 /*   Produced by Andrew Hanushevsky for Stanford University under contract    */
00011 /*              DE-AC02-76-SFO0515 with the Department of Energy              */
00012 /*                                                                            */
00013 /* This file is part of the XRootD software suite.                            */
00014 /*                                                                            */
00015 /* XRootD is free software: you can redistribute it and/or modify it under    */
00016 /* the terms of the GNU Lesser General Public License as published by the     */
00017 /* Free Software Foundation, either version 3 of the License, or (at your     */
00018 /* option) any later version.                                                 */
00019 /*                                                                            */
00020 /* XRootD is distributed in the hope that it will be useful, but WITHOUT      */
00021 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or      */
00022 /* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public       */
00023 /* License for more details.                                                  */
00024 /*                                                                            */
00025 /* You should have received a copy of the GNU Lesser General Public License   */
00026 /* along with XRootD in a file called COPYING.LESSER (LGPL license) and file  */
00027 /* COPYING (GPL license).  If not, see <http://www.gnu.org/licenses/>.        */
00028 /*                                                                            */
00029 /* The copyright holder's institutional names and contributor's names may not */
00030 /* be used to endorse or promote products derived from this software without  */
00031 /* specific prior written permission of the institution or contributor.       */
00032 /******************************************************************************/
00033 
00034 class XrdInet;
00035 
00036 class XrdCmsSupervisor
00037 {
00038 public:
00039 
00040 static int superOK;
00041 
00042 static int Init(const char *AdminPath, int AdminMode);
00043 
00044 static void Start();
00045 
00046            XrdCmsSupervisor() {}
00047           ~XrdCmsSupervisor() {}
00048 
00049 private:
00050 
00051 static XrdInet *NetTCPr;
00052 };
00053 #endif