00001 /* 00002 * Copyright 2004-2005 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 /* 00018 * XSEC 00019 * 00020 * XKMSStatusResult := Interface for StatusResult Messages 00021 * 00022 * $Id: XKMSStatusResult.hpp,v 1.4 2005/06/04 11:30:26 blautenb Exp $ 00023 * 00024 */ 00025 00026 #ifndef XKMSSTATUSRESULT_INCLUDE 00027 #define XKMSSTATUSRESULT_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 #include <xsec/xkms/XKMSResultType.hpp> 00033 00034 class XKMSQueryKeyBinding; 00035 class XKMSUnverifiedKeyBinding; 00036 00065 class XKMSStatusResult : public XKMSResultType { 00066 00069 00070 protected: 00071 00072 XKMSStatusResult() {}; 00073 00074 public: 00075 00076 virtual ~XKMSStatusResult() {}; 00077 00080 00085 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00086 00088 00091 00101 virtual int getSuccessCount(void) const = 0; 00102 00112 virtual int getFailureCount(void) const = 0; 00113 00123 virtual int getPendingCount(void) const = 0; 00124 00134 virtual void setSuccessCount(int count) = 0; 00135 00145 virtual void setFailureCount(int count) = 0; 00146 00156 virtual void setPendingCount(int count) = 0; 00157 00159 00160 private: 00161 00162 // Unimplemented 00163 XKMSStatusResult(const XKMSStatusResult &); 00164 XKMSStatusResult & operator = (const XKMSStatusResult &); 00165 00166 }; 00167 00168 #endif /* XKMSSTATUSRESULT_INCLUDE */