00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _REQSERVER_I_H_
00031 #define _REQSERVER_I_H_
00032
00033
00034
00035
00036
00037
00038
00039
00040 #include "reqserverS.h"
00041 #include "corba_utility.h"
00042
00043
00044
00045
00046
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
00061
00062
00063
00064
00065
00066
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 }
00125
00126
00127
00128 namespace OSB_CORBA {
00129 }
00130 #endif // #ifndef _REQSERVER_I_H_