blob: e8663bd89422b083f7ea174003d04b2877497eb0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CMS: cms::Message Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1-p1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacecms.html">cms</a>::<a class="el" href="classcms_1_1_message.html">Message</a></div>
<h1>cms::Message Class Reference</h1><!-- doxytag: class="cms::Message" -->Inheritance diagram for cms::Message:<p><center><img src="classcms_1_1_message__inherit__graph.png" border="0" usemap="#cms_1_1_message__inherit__map" alt="Inheritance graph"></center>
<map name="cms_1_1_message__inherit__map">
<area href="classcms_1_1_bytes_message.html" shape="rect" coords="5,80,147,107" alt="">
<area href="classcms_1_1_map_message.html" shape="rect" coords="171,80,304,107" alt="">
<area href="classcms_1_1_object_message.html" shape="rect" coords="328,80,475,107" alt="">
<area href="classcms_1_1_text_message.html" shape="rect" coords="499,80,632,107" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classcms_1_1_message-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#9c0b1d1d14583c4c5a3a3d109853c2a4">~Message</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcms_1_1_message.html">Message</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#ca97aed631f083939315f6a99bdb04d5">clone</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#cd1340d0c3463180b754200ef5273f09">acknowledge</a> () const=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#04e4f73af7a3c5569a3625662c68d431">clearBody</a> ()=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#8fcededee152c7ce85c91e80cdecf6c2">clearProperties</a> ()=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::vector&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#f4bd41103be85ca7753ee6a10f126117">getPropertyNames</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#9f10723fd869bda2289fdd288e5cc544">propertyExists</a> (const std::string &amp;name) const =0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#73e131cd0ebb3b2f619e2bc9cccd3756">getBooleanProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#154bd6379307169b5b3520f03fd6b974">getByteProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#e4d049a3136795bacdd8a6f68bd32970">getDoubleProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#4ed7ec55a9979500f9015f29eadba69b">getFloatProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#fae12148d6bd76d81a00bf6e1fb6ab4a">getIntProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual long long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#bcdfd69b07d299531158d8c5ce65ccce">getLongProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#5102ee69808ed58fcdd9c8abd2762d64">getShortProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#5c74eccc1da96f9b622a3bbf0cebe030">getStringProperty</a> (const std::string &amp;name) const =0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#bb342e872f856261ca0647d5493393f3">setBooleanProperty</a> (const std::string &amp;name, bool value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#e82027f68c632639bb344d50b0cfe5bf">setByteProperty</a> (const std::string &amp;name, unsigned char value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#f1aac7ff1532f24e3c3a421fdeab0b0b">setDoubleProperty</a> (const std::string &amp;name, double value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#2bcccc6a7cde980a653ea606f1c5158b">setFloatProperty</a> (const std::string &amp;name, float value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#261453f2144748e3cb0c4f89df4f9d80">setIntProperty</a> (const std::string &amp;name, int value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#bf099908a66a68b4057f232d1db8afaf">setLongProperty</a> (const std::string &amp;name, long long value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#5eaafd753fc6153c54545100858a3de8">setShortProperty</a> (const std::string &amp;name, short value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#644f94bd530b95d8d686eb0ac39ae5a5">setStringProperty</a> (const std::string &amp;name, const std::string &amp;value)=0 throw ( CMSException )</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#eaf2c1f40b30cd3a582e91475c5e9213">getCMSCorrelationID</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#20c029b487305892be99a01c661a1529">setCMSCorrelationID</a> (const std::string &amp;correlationId)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#e9fea93ab84f84fd76a1ba2af0e5311b">getCMSDeliveryMode</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#dd15f00872857c5421bdd2fc69319ed8">setCMSDeliveryMode</a> (int mode)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcms_1_1_destination.html">Destination</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#e1ffa0b8aa39e56befac5876ee9a88fe">getCMSDestination</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#5b52ab2cc0c275907f307a6ce2b5f80d">setCMSDestination</a> (const <a class="el" href="classcms_1_1_destination.html">Destination</a> *destination)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual long long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#f4a825350e9a830d8f365a5e2dfe191f">getCMSExpiration</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#0b7fa3b6a178088f3d825079aaa8757a">setCMSExpiration</a> (long long expireTime)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#c816dde932023d6aeb0320f430024e14">getCMSMessageID</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#27bac8e87618ce18d10acb02f97cebda">setCMSMessageID</a> (const std::string &amp;id)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#59ad56b5ca8f39d7e356ebc77247f66f">getCMSPriority</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#7b1a99d25df1c7e3833a65ed5603bee4">setCMSPriority</a> (int priority)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#050164970c1704d96a39715785b5eee7">getCMSRedelivered</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#71c59a1124b205bbb61007b2286d9c7f">setCMSRedelivered</a> (bool redelivered)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcms_1_1_destination.html">cms::Destination</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#e54909629401cf308466481a4613a57c">getCMSReplyTo</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#752d21b6ed922f77c1f8939177684226">setCMSReplyTo</a> (const <a class="el" href="classcms_1_1_destination.html">cms::Destination</a> *destination)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual long long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#99a653c901e42b0cfdf96e834b3ef6ff">getCMSTimestamp</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#6303add3ec9a9990d06b6fe7e9aecec1">setCMSTimestamp</a> (long long timeStamp)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#46c3c011e0232eed062e61a0627b543e">getCMSType</a> () const=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcms_1_1_message.html#dd46aa85e4d42c9069c4c6cdc8b2156c">setCMSType</a> (const std::string &amp;type)=0</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Root of all messages. As in JMS, a message is comprised of 3 parts: CMS-specific headers, user-defined properties, and the body.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>JMS API </dd></dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9c0b1d1d14583c4c5a3a3d109853c2a4"></a><!-- doxytag: member="cms::Message::~Message" ref="9c0b1d1d14583c4c5a3a3d109853c2a4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual cms::Message::~Message </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ca97aed631f083939315f6a99bdb04d5"></a><!-- doxytag: member="cms::Message::clone" ref="ca97aed631f083939315f6a99bdb04d5" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classcms_1_1_message.html">Message</a>* cms::Message::clone </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Clone this message exactly, returns a new instance that the caller is required to delete. <dl class="return" compact><dt><b>Returns:</b></dt><dd>new copy of this message </dd></dl>
<p>
Implemented in <a class="el" href="classcms_1_1_bytes_message.html#d1c64954fa133ab15259a27e160f97fa">cms::BytesMessage</a>.
</div>
</div><p>
<a class="anchor" name="cd1340d0c3463180b754200ef5273f09"></a><!-- doxytag: member="cms::Message::acknowledge" ref="cd1340d0c3463180b754200ef5273f09" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::acknowledge </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Acknowledges all consumed messages of the session of this consumed message.<p>
All consumed CMS messages support the acknowledge method for use when a client has specified that its CMS session's consumed messages are to be explicitly acknowledged. By invoking acknowledge on a consumed message, a client acknowledges all messages consumed by the session that the message was delivered to.<p>
Calls to acknowledge are ignored for both transacted sessions and sessions specified to use implicit acknowledgement modes.<p>
A client may individually acknowledge each message as it is consumed, or it may choose to acknowledge messages as an application-defined group (which is done by calling acknowledge on the last received message of the group, thereby acknowledging all messages consumed by the session.)<p>
Messages that have been received but not acknowledged may be redelivered.
</div>
</div><p>
<a class="anchor" name="04e4f73af7a3c5569a3625662c68d431"></a><!-- doxytag: member="cms::Message::clearBody" ref="04e4f73af7a3c5569a3625662c68d431" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::clearBody </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Clears out the body of the message. This does not clear the headers or properties.
</div>
</div><p>
<a class="anchor" name="8fcededee152c7ce85c91e80cdecf6c2"></a><!-- doxytag: member="cms::Message::clearProperties" ref="8fcededee152c7ce85c91e80cdecf6c2" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::clearProperties </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Clears out the message body. Clearing a message's body does not clear its header values or property entries.<p>
If this message body was read-only, calling this method leaves the message body in the same state as an empty body in a newly created message.
</div>
</div><p>
<a class="anchor" name="f4bd41103be85ca7753ee6a10f126117"></a><!-- doxytag: member="cms::Message::getPropertyNames" ref="f4bd41103be85ca7753ee6a10f126117" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::vector&lt;std::string&gt; cms::Message::getPropertyNames </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Retrieves the propery names. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The complete set of property names currently in this message. </dd></dl>
</div>
</div><p>
<a class="anchor" name="9f10723fd869bda2289fdd288e5cc544"></a><!-- doxytag: member="cms::Message::propertyExists" ref="9f10723fd869bda2289fdd288e5cc544" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool cms::Message::propertyExists </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Indicates whether or not a given property exists. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to look up. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the property exists in this message. </dd></dl>
</div>
</div><p>
<a class="anchor" name="73e131cd0ebb3b2f619e2bc9cccd3756"></a><!-- doxytag: member="cms::Message::getBooleanProperty" ref="73e131cd0ebb3b2f619e2bc9cccd3756" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool cms::Message::getBooleanProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a boolean property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="154bd6379307169b5b3520f03fd6b974"></a><!-- doxytag: member="cms::Message::getByteProperty" ref="154bd6379307169b5b3520f03fd6b974" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual unsigned char cms::Message::getByteProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a byte property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="e4d049a3136795bacdd8a6f68bd32970"></a><!-- doxytag: member="cms::Message::getDoubleProperty" ref="e4d049a3136795bacdd8a6f68bd32970" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual double cms::Message::getDoubleProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a double property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="4ed7ec55a9979500f9015f29eadba69b"></a><!-- doxytag: member="cms::Message::getFloatProperty" ref="4ed7ec55a9979500f9015f29eadba69b" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual float cms::Message::getFloatProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a float property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="fae12148d6bd76d81a00bf6e1fb6ab4a"></a><!-- doxytag: member="cms::Message::getIntProperty" ref="fae12148d6bd76d81a00bf6e1fb6ab4a" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int cms::Message::getIntProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a int property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="bcdfd69b07d299531158d8c5ce65ccce"></a><!-- doxytag: member="cms::Message::getLongProperty" ref="bcdfd69b07d299531158d8c5ce65ccce" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual long long cms::Message::getLongProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a long property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="5102ee69808ed58fcdd9c8abd2762d64"></a><!-- doxytag: member="cms::Message::getShortProperty" ref="5102ee69808ed58fcdd9c8abd2762d64" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual short cms::Message::getShortProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a short property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="5c74eccc1da96f9b622a3bbf0cebe030"></a><!-- doxytag: member="cms::Message::getStringProperty" ref="5c74eccc1da96f9b622a3bbf0cebe030" args="(const std::string &amp;name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string cms::Message::getStringProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets a string property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the named property. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td>if the property does not exist. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="bb342e872f856261ca0647d5493393f3"></a><!-- doxytag: member="cms::Message::setBooleanProperty" ref="bb342e872f856261ca0647d5493393f3" args="(const std::string &amp;name, bool value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setBooleanProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a boolean property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="e82027f68c632639bb344d50b0cfe5bf"></a><!-- doxytag: member="cms::Message::setByteProperty" ref="e82027f68c632639bb344d50b0cfe5bf" args="(const std::string &amp;name, unsigned char value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setByteProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned char&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a byte property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="f1aac7ff1532f24e3c3a421fdeab0b0b"></a><!-- doxytag: member="cms::Message::setDoubleProperty" ref="f1aac7ff1532f24e3c3a421fdeab0b0b" args="(const std::string &amp;name, double value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setDoubleProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a double property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="2bcccc6a7cde980a653ea606f1c5158b"></a><!-- doxytag: member="cms::Message::setFloatProperty" ref="2bcccc6a7cde980a653ea606f1c5158b" args="(const std::string &amp;name, float value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setFloatProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a float property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="261453f2144748e3cb0c4f89df4f9d80"></a><!-- doxytag: member="cms::Message::setIntProperty" ref="261453f2144748e3cb0c4f89df4f9d80" args="(const std::string &amp;name, int value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setIntProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a int property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="bf099908a66a68b4057f232d1db8afaf"></a><!-- doxytag: member="cms::Message::setLongProperty" ref="bf099908a66a68b4057f232d1db8afaf" args="(const std::string &amp;name, long long value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setLongProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long long&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a long property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="5eaafd753fc6153c54545100858a3de8"></a><!-- doxytag: member="cms::Message::setShortProperty" ref="5eaafd753fc6153c54545100858a3de8" args="(const std::string &amp;name, short value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setShortProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">short&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a short property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="644f94bd530b95d8d686eb0ac39ae5a5"></a><!-- doxytag: member="cms::Message::setStringProperty" ref="644f94bd530b95d8d686eb0ac39ae5a5" args="(const std::string &amp;name, const std::string &amp;value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setStringProperty </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>value</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> throw ( <a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a> )<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets a string property. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the property to retrieve. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the named property. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classcms_1_1_c_m_s_exception.html">CMSException</a></em>&nbsp;</td><td></td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="eaf2c1f40b30cd3a582e91475c5e9213"></a><!-- doxytag: member="cms::Message::getCMSCorrelationID" ref="eaf2c1f40b30cd3a582e91475c5e9213" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string cms::Message::getCMSCorrelationID </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the correlation ID for the message.<p>
This method is used to return correlation ID values that are either provider-specific message IDs or application-specific String values.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>string representation of the correlation Id </dd></dl>
</div>
</div><p>
<a class="anchor" name="20c029b487305892be99a01c661a1529"></a><!-- doxytag: member="cms::Message::setCMSCorrelationID" ref="20c029b487305892be99a01c661a1529" args="(const std::string &amp;correlationId)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSCorrelationID </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>correlationId</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the correlation ID for the message.<p>
A client can use the CMSCorrelationID header field to link one message with another. A typical use is to link a response message with its request message.<p>
CMSCorrelationID can hold one of the following:<p>
<ul>
<li>A provider-specific message ID</li><li>An application-specific String</li><li>A provider-native byte[] value</li></ul>
<p>
Since each message sent by a CMS provider is assigned a message ID value, it is convenient to link messages via message ID. All message ID values must start with the 'ID:' prefix.<p>
In some cases, an application (made up of several clients) needs to use an application-specific value for linking messages. For instance, an application may use CMSCorrelationID to hold a value referencing some external information. Application-specified values must not start with the 'ID:' prefix; this is reserved for provider-generated message ID values.<p>
If a provider supports the native concept of correlation ID, a CMS client may need to assign specific CMSCorrelationID values to match those expected by clients that do not use the CMS API. A byte[] value is used for this purpose. CMS providers without native correlation ID values are not required to support byte[] values. The use of a byte[] value for CMSCorrelationID is non-portable.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>correlationId</em>&nbsp;</td><td>- the message ID of a message being referred to. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="e9fea93ab84f84fd76a1ba2af0e5311b"></a><!-- doxytag: member="cms::Message::getCMSDeliveryMode" ref="e9fea93ab84f84fd76a1ba2af0e5311b" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int cms::Message::getCMSDeliveryMode </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the <a class="el" href="classcms_1_1_delivery_mode.html">DeliveryMode</a> for this message <dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classcms_1_1_delivery_mode.html">DeliveryMode</a> enumerated value. </dd></dl>
</div>
</div><p>
<a class="anchor" name="dd15f00872857c5421bdd2fc69319ed8"></a><!-- doxytag: member="cms::Message::setCMSDeliveryMode" ref="dd15f00872857c5421bdd2fc69319ed8" args="(int mode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSDeliveryMode </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>mode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the <a class="el" href="classcms_1_1_delivery_mode.html">DeliveryMode</a> for this message<p>
CMS providers set this field when a message is sent. This method can be used to change the value for a message that has been received.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>- <a class="el" href="classcms_1_1_delivery_mode.html">DeliveryMode</a> enumerated value. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="e1ffa0b8aa39e56befac5876ee9a88fe"></a><!-- doxytag: member="cms::Message::getCMSDestination" ref="e1ffa0b8aa39e56befac5876ee9a88fe" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classcms_1_1_destination.html">Destination</a>* cms::Message::getCMSDestination </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the <a class="el" href="classcms_1_1_destination.html">Destination</a> object for this message.<p>
The CMSDestination header field contains the destination to which the message is being sent.<p>
When a message is sent, this field is ignored. After completion of the send or publish method, the field holds the destination specified by the method.<p>
When a message is received, its CMSDestination value must be equivalent to the value assigned when it was sent.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classcms_1_1_destination.html">Destination</a> object </dd></dl>
</div>
</div><p>
<a class="anchor" name="5b52ab2cc0c275907f307a6ce2b5f80d"></a><!-- doxytag: member="cms::Message::setCMSDestination" ref="5b52ab2cc0c275907f307a6ce2b5f80d" args="(const Destination *destination)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSDestination </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classcms_1_1_destination.html">Destination</a> *&nbsp;</td>
<td class="paramname"> <em>destination</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the <a class="el" href="classcms_1_1_destination.html">Destination</a> object for this message.<p>
CMS providers set this field when a message is sent. This method can be used to change the value for a message that has been received.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>destination</em>&nbsp;</td><td>- <a class="el" href="classcms_1_1_destination.html">Destination</a> Object </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="f4a825350e9a830d8f365a5e2dfe191f"></a><!-- doxytag: member="cms::Message::getCMSExpiration" ref="f4a825350e9a830d8f365a5e2dfe191f" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual long long cms::Message::getCMSExpiration </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the message's expiration value.<p>
When a message is sent, the CMSExpiration header field is left unassigned. After completion of the send or publish method, it holds the expiration time of the message. This is the sum of the time-to-live value specified by the client and the GMT at the time of the send or publish.<p>
If the time-to-live is specified as zero, CMSExpiration is set to zero to indicate that the message does not expire.<p>
When a message's expiration time is reached, a provider should discard it. The CMS API does not define any form of notification of message expiration.<p>
Clients should not receive messages that have expired; however, the CMS API does not guarantee that this will not happen.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the time the message expires, which is the sum of the time-to-live value specified by the client and the GMT at the time of the send </dd></dl>
</div>
</div><p>
<a class="anchor" name="0b7fa3b6a178088f3d825079aaa8757a"></a><!-- doxytag: member="cms::Message::setCMSExpiration" ref="0b7fa3b6a178088f3d825079aaa8757a" args="(long long expireTime)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSExpiration </td>
<td>(</td>
<td class="paramtype">long long&nbsp;</td>
<td class="paramname"> <em>expireTime</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the message's expiration value.<p>
CMS providers set this field when a message is sent. This method can be used to change the value for a message that has been received.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>expireTime</em>&nbsp;</td><td>the message's expiration time </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="c816dde932023d6aeb0320f430024e14"></a><!-- doxytag: member="cms::Message::getCMSMessageID" ref="c816dde932023d6aeb0320f430024e14" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string cms::Message::getCMSMessageID </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The CMSMessageID header field contains a value that uniquely identifies each message sent by a provider.<p>
When a message is sent, CMSMessageID can be ignored. When the send or publish method returns, it contains a provider-assigned value.<p>
A CMSMessageID is a String value that should function as a unique key for identifying messages in a historical repository. The exact scope of uniqueness is provider-defined. It should at least cover all messages for a specific installation of a provider, where an installation is some connected set of message routers.<p>
All CMSMessageID values must start with the prefix 'ID:'. Uniqueness of message ID values across different providers is not required.<p>
Since message IDs take some effort to create and increase a message's size, some CMS providers may be able to optimize message overhead if they are given a hint that the message ID is not used by an application. By calling the <a class="el" href="classcms_1_1_message_producer.html#26f400e35124ebf966b5f024490e724d">MessageProducer.setDisableMessageID</a> method, a CMS client enables this potential optimization for all messages sent by that message producer. If the CMS provider accepts this hint, these messages must have the message ID set to null; if the provider ignores the hint, the message ID must be set to its normal unique value.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>provider-assigned message id </dd></dl>
</div>
</div><p>
<a class="anchor" name="27bac8e87618ce18d10acb02f97cebda"></a><!-- doxytag: member="cms::Message::setCMSMessageID" ref="27bac8e87618ce18d10acb02f97cebda" args="(const std::string &amp;id)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSMessageID </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>id</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the message ID.<p>
CMS providers set this field when a message is sent. This method can be used to change the vaue for a message that has been received.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>- the ID of the message </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="59ad56b5ca8f39d7e356ebc77247f66f"></a><!-- doxytag: member="cms::Message::getCMSPriority" ref="59ad56b5ca8f39d7e356ebc77247f66f" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual int cms::Message::getCMSPriority </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the message priority level.<p>
The CMS API defines ten levels of priority value, with 0 as the lowest priority and 9 as the highest. In addition, clients should consider priorities 0-4 as gradations of normal priority and priorities 5-9 as gradations of expedited priority.<p>
The CMS API does not require that a provider strictly implement priority ordering of messages; however, it should do its best to deliver expedited messages ahead of normal messages.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>priority value </dd></dl>
</div>
</div><p>
<a class="anchor" name="7b1a99d25df1c7e3833a65ed5603bee4"></a><!-- doxytag: member="cms::Message::setCMSPriority" ref="7b1a99d25df1c7e3833a65ed5603bee4" args="(int priority)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSPriority </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>priority</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the Priority Value for this message<p>
CMS providers set this field when a message is sent. This method can be used to change the value for a message that has been received.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>priority</em>&nbsp;</td><td>- priority value for this message </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="050164970c1704d96a39715785b5eee7"></a><!-- doxytag: member="cms::Message::getCMSRedelivered" ref="050164970c1704d96a39715785b5eee7" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool cms::Message::getCMSRedelivered </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets an indication of whether this message is being redelivered.<p>
If a client receives a message with the CMSRedelivered field set, it is likely, but not guaranteed, that this message was delivered earlier but that its receipt was not acknowledged at that time.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if this message is being redelivered </dd></dl>
</div>
</div><p>
<a class="anchor" name="71c59a1124b205bbb61007b2286d9c7f"></a><!-- doxytag: member="cms::Message::setCMSRedelivered" ref="71c59a1124b205bbb61007b2286d9c7f" args="(bool redelivered)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSRedelivered </td>
<td>(</td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>redelivered</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Specifies whether this message is being redelivered.<p>
This field is set at the time the message is delivered. This method can be used to change the value for a message that has been received.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>redelivered</em>&nbsp;</td><td>- boolean redelivered value </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="e54909629401cf308466481a4613a57c"></a><!-- doxytag: member="cms::Message::getCMSReplyTo" ref="e54909629401cf308466481a4613a57c" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classcms_1_1_destination.html">cms::Destination</a>* cms::Message::getCMSReplyTo </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the <a class="el" href="classcms_1_1_destination.html">Destination</a> object to which a reply to this message should be sent.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classcms_1_1_destination.html">Destination</a> to which to send a response to this message </dd></dl>
</div>
</div><p>
<a class="anchor" name="752d21b6ed922f77c1f8939177684226"></a><!-- doxytag: member="cms::Message::setCMSReplyTo" ref="752d21b6ed922f77c1f8939177684226" args="(const cms::Destination *destination)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSReplyTo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classcms_1_1_destination.html">cms::Destination</a> *&nbsp;</td>
<td class="paramname"> <em>destination</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the <a class="el" href="classcms_1_1_destination.html">Destination</a> object to which a reply to this message should be sent.<p>
The CMSReplyTo header field contains the destination where a reply to the current message should be sent. If it is null, no reply is expected. The destination may be either a <a class="el" href="classcms_1_1_queue.html">Queue</a> object or a <a class="el" href="classcms_1_1_topic.html">Topic</a> object.<p>
Messages sent with a null CMSReplyTo value may be a notification of some event, or they may just be some data the sender thinks is of interest.<p>
Messages with a CMSReplyTo value typically expect a response. A response is optional; it is up to the client to decide. These messages are called requests. A message sent in response to a request is called a reply.<p>
In some cases a client may wish to match a request it sent earlier with a reply it has just received. The client can use the CMSCorrelationID header field for this purpose.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>destination</em>&nbsp;</td><td>- <a class="el" href="classcms_1_1_destination.html">Destination</a> to which to send a response to this message </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="99a653c901e42b0cfdf96e834b3ef6ff"></a><!-- doxytag: member="cms::Message::getCMSTimestamp" ref="99a653c901e42b0cfdf96e834b3ef6ff" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual long long cms::Message::getCMSTimestamp </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the message timestamp.<p>
The CMSTimestamp header field contains the time a message was handed off to a provider to be sent. It is not the time the message was actually transmitted, because the actual send may occur later due to transactions or other client-side queueing of messages.<p>
When a message is sent, CMSTimestamp is ignored. When the send or publish method returns, it contains a time value somewhere in the interval between the call and the return. The value is in the format of a normal millis time value in the Java programming language.<p>
Since timestamps take some effort to create and increase a message's size, some CMS providers may be able to optimize message overhead if they are given a hint that the timestamp is not used by an application. By calling the MessageProducer.setDisableMessageTimestamp method, a CMS client enables this potential optimization for all messages sent by that message producer. If the CMS provider accepts this hint, these messages must have the timestamp set to zero; if the provider ignores the hint, the timestamp must be set to its normal value.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message timestamp </dd></dl>
</div>
</div><p>
<a class="anchor" name="6303add3ec9a9990d06b6fe7e9aecec1"></a><!-- doxytag: member="cms::Message::setCMSTimestamp" ref="6303add3ec9a9990d06b6fe7e9aecec1" args="(long long timeStamp)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSTimestamp </td>
<td>(</td>
<td class="paramtype">long long&nbsp;</td>
<td class="paramname"> <em>timeStamp</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the message timestamp.<p>
CMS providers set this field when a message is sent. This method can be used to change the value for a message that has been received.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>timeStamp</em>&nbsp;</td><td>- integer time stamp value </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="46c3c011e0232eed062e61a0627b543e"></a><!-- doxytag: member="cms::Message::getCMSType" ref="46c3c011e0232eed062e61a0627b543e" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual std::string cms::Message::getCMSType </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Gets the message type identifier supplied by the client when the message was sent.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message type </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classcms_1_1_message.html#dd46aa85e4d42c9069c4c6cdc8b2156c">setCMSType</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="dd46aa85e4d42c9069c4c6cdc8b2156c"></a><!-- doxytag: member="cms::Message::setCMSType" ref="dd46aa85e4d42c9069c4c6cdc8b2156c" args="(const std::string &amp;type)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void cms::Message::setCMSType </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&nbsp;</td>
<td class="paramname"> <em>type</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the message type.<p>
Some CMS providers use a message repository that contains the definitions of messages sent by applications. The CMSType header field may reference a message's definition in the provider's repository.<p>
The CMS API does not define a standard message definition repository, nor does it define a naming policy for the definitions it contains.<p>
Some messaging systems require that a message type definition for each application message be created and that each message specify its type. In order to work with such CMS providers, CMS clients should assign a value to CMSType, whether the application makes use of it or not. This ensures that the field is properly set for those providers that require it.<p>
To ensure portability, CMS clients should use symbolic values for CMSType that can be configured at installation time to the values defined in the current provider's message repository. If string literals are used, they may not be valid type names for some CMS providers.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>the message type </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classcms_1_1_message.html#46c3c011e0232eed062e61a0627b543e">getCMSType</a> </dd></dl>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 1 07:20:17 2007 for CMS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1-p1 </small></address>
</body>
</html>