reqserver_i.h

Go to the documentation of this file.
00001 // OSB library ************************************************ -*- C++ -*-
00006 /*
00007   AUTHOR(S): Stephan Broennimann (vb)
00008 
00009   RCS information
00010    $Name: OSB_060808 $
00011    $Revision: 1.11 $
00012 
00013   License
00014    OSB rating and billing library for communication networks
00015    Copyright (C) 2004, 2005, 2006  OSB systems
00016 
00017    This file may be distributed and/or modify under the terms of the
00018    GNU General Public License (GPL) as published by the Free Software
00019    Foundation which is provided in the file LICENSE.GPL included in the
00020    packaging of this file.
00021 
00022    The file is distributed in the hope that it will be useful, but WITHOUT
00023    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00024    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00025    for more details.
00026 
00027    Holders of a OSB Commercial License may use this file under the terms
00028    and conditions of this commercial license.
00029  */
00030 #ifndef _REQSERVER_I_H_
00031 #define _REQSERVER_I_H_
00032 
00033 // ************************************************************************
00034 // included header files
00035 // + standard includes
00036 
00037 // + libraries
00038 
00039 // + local headers
00040 #include "reqserverS.h"
00041 #include "corba_utility.h"
00042 
00043 // + class declarations
00044 
00045 // ************************************************************************
00046 // namespace extensions
00047 namespace OSB_CORBA {
00048     using namespace corba::rqserver;
00049 
00050     using corba::cadmin::AssociateId;
00051     using corba::cadmin::ContractId;
00052     using corba::cadmin::PersNodeId;
00053     using corba::cadmin::PersProdId;
00054     using corba::cadmin::StatusReqResult;
00055     using corba::cadmin::StatusRequest;
00056     using corba::cadmin::StatusRequestId;
00057     using corba::common::OsbCorbaException;
00058 
00059 // ************************************************************************
00060 // forward declarations
00061 
00062 // ************************************************************************
00063 // type definitions
00064 
00065 // ************************************************************************
00066 // class definitions
00070     class RequestServer_i
00071       : public virtual POA_corba::rqserver::RequestServer
00072     {
00073     public:
00074         static const std::string IFC;
00075         typedef corba::common::ServerInfo ServerInfo;
00076 
00077     public:
00078         RequestServer_i(
00079             PortableServer::POA* rootPoa
00080         );
00081 
00083         ServerInfo* getServerInfo()
00084           throw (CORBA::SystemException);
00085 
00087         void ping()
00088           throw (CORBA::SystemException);
00089 
00102         StatusReqResult procStatusRequest(
00103             const StatusRequestId& srqId,
00104                   CfgErrorSeq&     errors
00105         ) throw (CORBA::SystemException, OsbCorbaException);
00106 
00116         CfgErrorSeq* delStatusRequest(
00117             const StatusRequestId& srqId
00118         ) throw (CORBA::SystemException, OsbCorbaException);
00119 
00120     private:
00122         PortableServer::POA* rootPoa_;
00123     };
00124 }                                       // namespace OSB_CORBA
00125 
00126 // ************************************************************************
00127 // inline definitions
00128 namespace OSB_CORBA {
00129 }                                       // namespace OSB_CORBA
00130 #endif                                  // #ifndef _REQSERVER_I_H_

Generated on Sat Sep 2 14:25:53 2006 for OSB Library by  doxygen 1.4.7