00001 /***************************************************************************** 00002 * Copyright (C) 2011 by Benjamin Hadorn (b_hadorn@bluewin.ch) 00003 ***************************************************************************** 00004 * Project : Zeus Base Library 00005 * Module : IMessage 00006 * Package : Zeus.ZeusBase.Messaging.Interfaces 00007 * Author : Benjamin Hadorn 00008 * Date : 07.11.2011 00009 * System : Zeus-Framework 00010 ***************************************************************************** 00011 * Licence: * 00012 * This library is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU Lesser General Public License as * 00014 * published by the Free Software Foundation; either version * 00015 * 2.1 of the License, or (at your option) any later version. * 00016 * * 00017 * This library is distributed in the hope that it will be useful, * 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00020 * GNU Lesser General Public License for more details. * 00021 * * 00022 * You should have received a copy of the GNU Lesser General Public * 00023 * License along with this library; if not, write to the Free Software * 00024 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA * 00025 *****************************************************************************/ 00026 00027 00028 /*************************************************************************** 00029 GENERATED : xIDL COMPILER 1.0 00030 DATE : 2012-01-16 18:50:29 00031 CAUTION : Don't change the file manualy. Change xidl file instead. 00032 ***************************************************************************/ 00033 00034 #ifndef IMessageHPP 00035 #define IMessageHPP 00036 00037 #include <zeusbase/System/Interfaces/ISerializable.hpp> 00038 #include <zeusbase/System/Interfaces/IByteArray.hpp> 00039 #include <zeusbase/System/Interfaces/IStringList.hpp> 00040 #include <zeusbase/Messaging/Interfaces/MessageDefines.hpp> 00041 00042 BEGIN_NAMESPACE_Zeus 00043 00044 // {652F278F-E9CE-4a0d-A1DE-DD9130F351E5} 00045 #define INTERFACE_IMessage TIID(0x652F278F, 0xE9CE, 0x4a0d, 0xA1, 0xDE, 0xDD, 0x91, 0x30, 0xF3, 0x51, 0xE5) 00046 00047 /*****************************************************************************/ 00053 /*****************************************************************************/ 00054 class IMessage : public ISerializable 00055 { 00056 HIDE_ASSIGNMENT_OPERATOR(IMessage) 00057 00058 public: 00059 /*************************************************************************/ 00062 /*************************************************************************/ 00063 virtual void MQUALIFIER clearBody() = 0; 00064 00065 /*************************************************************************/ 00068 /*************************************************************************/ 00069 virtual void MQUALIFIER clearProperties() = 0; 00070 00071 /*************************************************************************/ 00078 /*************************************************************************/ 00079 virtual void MQUALIFIER getInterfaceID(InterfaceID& rIID) const = 0; 00080 00081 /*************************************************************************/ 00085 /*************************************************************************/ 00086 virtual Uint MQUALIFIER getMessageID() const = 0; 00087 00088 /*************************************************************************/ 00092 /*************************************************************************/ 00093 virtual Uint MQUALIFIER getPriority() const = 0; 00094 00095 /*************************************************************************/ 00099 /*************************************************************************/ 00100 virtual void MQUALIFIER getSender(TypGUID& rValue) const = 0; 00101 00102 /*************************************************************************/ 00106 /*************************************************************************/ 00107 virtual void MQUALIFIER getRecipients(IList<TypGUID>& rValue) const = 0; 00108 00109 /*************************************************************************/ 00116 /*************************************************************************/ 00117 virtual Retval MQUALIFIER getPropertyValue(const IString& rstrName, IString& rstrValue) const = 0; 00118 00119 /*************************************************************************/ 00123 /*************************************************************************/ 00124 virtual Uint64 MQUALIFIER getTimeStamp() const = 0; 00125 00126 /*************************************************************************/ 00131 /*************************************************************************/ 00132 virtual void MQUALIFIER setMessageID(Uint uiValue) = 0; 00133 00134 /*************************************************************************/ 00139 /*************************************************************************/ 00140 virtual void MQUALIFIER setPropertyValue(const IString& rstrName, const IString& rstrValue) = 0; 00141 00142 /*************************************************************************/ 00146 /*************************************************************************/ 00147 virtual void MQUALIFIER setPriority(Uint uiValue) = 0; 00148 00149 /*************************************************************************/ 00153 /*************************************************************************/ 00154 virtual void MQUALIFIER setSender(const TypGUID& rValue) = 0; 00155 00156 /*************************************************************************/ 00160 /*************************************************************************/ 00161 virtual void MQUALIFIER setRecipient(const TypGUID& rValue) = 0; 00162 00163 /*************************************************************************/ 00167 /*************************************************************************/ 00168 virtual void MQUALIFIER setRecipients(const IList<TypGUID>& rValue) = 0; 00169 00170 /*************************************************************************/ 00175 /*************************************************************************/ 00176 virtual void MQUALIFIER setTimeStamp(const Uint64& rui64Value) = 0; 00177 00178 }; 00179 00180 END_NAMESPACE_Zeus 00181 00182 #endif //define IMessageHPP