1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::cec::CTR::Message</title> 51 </head> 52 <body> 53<h1><CODE>nn::cec::CTR::Message</CODE> Class</h1> 54<h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class Message</pre> 57 </div> 58<h2>Description</h2> 59 <div class="section"> 60<p>Class that handles CEC <a href="../../../../nn/cec/CTR/Message/Overview.html"><CODE>Message</CODE></a> objects.</p><!-- write here --></div> 61 <a name="function" id="function"> 62<h2>Member Functions</h2> 63 <div class="section"> 64 <table class="members"> 65 <tr> 66<th class="category" colspan="3">New Message Creation</th> 67 </tr> 68 <tr> 69 <td width="100"> </td> 70 <th> 71<a href="../../../../nn/cec/CTR/Message/NewMessage.html"><CODE>NewMessage</CODE></a> 72 </th> 73<td>Creates a new <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>.</td> 74 </tr> 75 <tr> 76<th class="category" colspan="3">Parameters</th> 77 </tr> 78 <tr> 79 <td width="100"> </td> 80 <th> 81<a href="../../../../nn/cec/CTR/Message/GetCecTitleId.html"><CODE>GetCecTitleId</CODE></a> 82 </th> 83<td>Gets the StreetPass ID of the <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 84 </tr> 85 <tr> 86 <td width="100"> </td> 87 <th> 88<a href="../../../../nn/cec/CTR/Message/SetGroupID.html"><CODE>SetGroupID</CODE></a> 89 </th> 90<td>Sets the Group ID for a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>. <a href="../../../../nn/cec/CTR/Message/Overview.html">Messages</a> in the outbox with the same <CODE>GroupID</CODE> are grouped and sent together.</td> 91 </tr> 92 <tr> 93 <td width="100"> </td> 94 <th> 95<a href="../../../../nn/cec/CTR/Message/GetGroupID.html"><CODE>GetGroupID</CODE></a> 96 </th> 97<td>Gets the Group ID of a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>. <a href="../../../../nn/cec/CTR/Message/Overview.html">Messages</a> in the outbox with the same <CODE>GroupID</CODE> are grouped and sent together.</td> 98 </tr> 99 <tr> 100 <td width="100"> </td> 101 <th> 102<a href="../../../../nn/cec/CTR/Message/GetMessSize.html"><CODE>GetMessSize</CODE></a> 103 </th> 104<td>Gets the size of a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>.</td> 105 </tr> 106 <tr> 107 <td width="100"> </td> 108 <th> 109<a href="../../../../nn/cec/CTR/Message/GetHeaderSize.html"><CODE>GetHeaderSize</CODE></a> 110 </th> 111<td>Gets the size of a message header (including the extended header).</td> 112 </tr> 113 <tr> 114 <td width="100"> </td> 115 <th> 116<a href="../../../../nn/cec/CTR/Message/GetBodySize.html"><CODE>GetBodySize</CODE></a> 117 </th> 118<td>Gets the size of the body of a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 119 </tr> 120 <tr> 121 <td width="100"> </td> 122 <th> 123<a href="../../../../nn/cec/CTR/Message/GetMessageId.html"><CODE>GetMessageId</CODE></a> 124 </th> 125<td>Gets the <CODE>MessageID</CODE> for a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>. The <CODE>MessageID</CODE> is assigned when a message is created and then saved.</td> 126 </tr> 127 <tr> 128 <td width="100"> </td> 129 <th> 130<a href="../../../../nn/cec/CTR/Message/GetMessageId_Pair.html"><CODE>GetMessageId_Pair</CODE></a> 131 </th> 132<td>Gets the <CODE>MessageID</CODE> for the exchanged <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>. With this method of message exchange, each partner records the <CODE>MessageID</CODE> of the <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a> they sent in the <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a> they received.</td> 133 </tr> 134 <tr> 135 <td width="100"> </td> 136 <th> 137<a href="../../../../nn/cec/CTR/Message/SetMessageTypeFlag.html"><CODE>SetMessageTypeFlag</CODE></a> 138 </th> 139<td>Specifies the recipients using the <a href="../../../../nn/cec/CTR/MessageTypeFlag.html"><CODE>MessageTypeFlag</CODE></a> enumerated type.</td> 140 </tr> 141 <tr> 142 <td width="100"> </td> 143 <th> 144<a href="../../../../nn/cec/CTR/Message/GetMessageTypeFlag.html"><CODE>GetMessageTypeFlag</CODE></a> 145 </th> 146<td>Gets the value specified for the message to be sent.</td> 147 </tr> 148 <tr> 149 <td width="100"> </td> 150 <th> 151<a href="../../../../nn/cec/CTR/Message/SetSendMode.html"><CODE>SetSendMode</CODE></a> 152 </th> 153<td>Specifies the send mode (receive only, send only, send and receive, or exchange) using the <CODE><a href="../../../../nn/cec/CTR/SendMode.html">SendMode</a></CODE> enumerated type.</td> 154 </tr> 155 <tr> 156 <td width="100"> </td> 157 <th> 158<a href="../../../../nn/cec/CTR/Message/GetSendMode.html"><CODE>GetSendMode</CODE></a> 159 </th> 160<td>Gets the send mode (receive only, send only, send and receive, or exchange).</td> 161 </tr> 162 <tr> 163 <td width="100"> </td> 164 <th> 165<a href="../../../../nn/cec/CTR/Message/GetSendDate.html"><CODE>GetSendDate</CODE></a> 166 </th> 167<td>Gets the timestamp of when a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a> was sent. This is the time according to the sender's clock.</td> 168 </tr> 169 <tr> 170 <td width="100"> </td> 171 <th> 172<a href="../../../../nn/cec/CTR/Message/GetRecvDate.html"><CODE>GetRecvDate</CODE></a> 173 </th> 174<td>Gets the timestamp of when a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a> was received. This is the time according to the recipient's clock.</td> 175 </tr> 176 <tr> 177 <td width="100"> </td> 178 <th> 179<a href="../../../../nn/cec/CTR/Message/GetCreateDate.html"><CODE>GetCreateDate</CODE></a> 180 </th> 181<td>Gets the creation timestamp of a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>.</td> 182 </tr> 183 <tr> 184 <td width="100"> </td> 185 <th> 186<a href="../../../../nn/cec/CTR/Message/SetSendCount.html"><CODE>SetSendCount</CODE></a> 187 </th> 188<td>Specifies the send count. The send count is decremented by one with each send. The data is no longer sent once the count reaches zero.</td> 189 </tr> 190 <tr> 191 <td width="100"> </td> 192 <th> 193<a href="../../../../nn/cec/CTR/Message/GetSendCount.html"><CODE>GetSendCount</CODE></a> 194 </th> 195<td>Gets the send count. The send count is decremented by one with each send. The data is no longer sent once the count reaches zero.</td> 196 </tr> 197 <tr> 198 <td width="100"> </td> 199 <th> 200<a href="../../../../nn/cec/CTR/Message/SetPropagationCount.html"><CODE>SetPropagationCount</CODE></a> 201 </th> 202<td>Specifies the propagation count. The propagation count is decremented by one upon reception. The data is copied to the outbox if the count is one or greater.</td> 203 </tr> 204 <tr> 205 <td width="100"> </td> 206 <th> 207<a href="../../../../nn/cec/CTR/Message/GetPropagationCount.html"><CODE>GetPropagationCount</CODE></a> 208 </th> 209<td>Gets the propagation count. The propagation count is decremented by one upon reception. The data is copied to the outbox if the count is one or greater.</td> 210 </tr> 211 <tr> 212 <td width="100"> </td> 213 <th> 214<a href="../../../../nn/cec/CTR/Message/SetTag.html"><CODE>SetTag</CODE></a> 215 </th> 216<td>Sets the 16-bit value in the header of the <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 217 </tr> 218 <tr> 219 <td width="100"> </td> 220 <th> 221<a href="../../../../nn/cec/CTR/Message/GetTag.html"><CODE>GetTag</CODE></a> 222 </th> 223<td>Gets the <CODE>Tag</CODE> value from the header of a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>.</td> 224 </tr> 225 <tr> 226 <td width="100"> </td> 227 <th> 228<a href="../../../../nn/cec/CTR/Message/SetExHeader.html"><CODE>SetExHeader</CODE></a> 229 </th> 230<td>Sets the extended header data for a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>.</td> 231 </tr> 232 <tr> 233 <td width="100"> </td> 234 <th> 235<a href="../../../../nn/cec/CTR/Message/GetExHeader.html"><CODE>GetExHeader</CODE></a> 236 </th> 237<td>Gets data from the extended header of a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>.</td> 238 </tr> 239 <tr> 240 <td width="100"> </td> 241 <th> 242<a href="../../../../nn/cec/CTR/Message/SetIcon.html"><CODE>SetIcon</CODE></a> 243 </th> 244<td>Sets an icon to a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 245 </tr> 246 <tr> 247 <td width="100"> </td> 248 <th> 249<a href="../../../../nn/cec/CTR/Message/GetIcon.html"><CODE>GetIcon</CODE></a> 250 </th> 251<td>Gets an icon from a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 252 </tr> 253 <tr> 254 <td width="100"> </td> 255 <th> 256<a href="../../../../nn/cec/CTR/Message/SetInfoText.html"><CODE>SetInfoText</CODE></a> 257 </th> 258<td>Sets the description of a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 259 </tr> 260 <tr> 261 <td width="100"> </td> 262 <th> 263<a href="../../../../nn/cec/CTR/Message/GetInfoText.html"><CODE>GetInfoText</CODE></a> 264 </th> 265<td>Gets the description of a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 266 </tr> 267 <tr> 268 <td width="100"> </td> 269 <th> 270<a href="../../../../nn/cec/CTR/Message/SetMessageBody.html"><CODE>SetMessageBody</CODE></a> 271 </th> 272<td>Sets the data body of a <a href="../../../../nn/cec/CTR/Message/Overview.html">message</a>.</td> 273 </tr> 274 <tr> 275 <td width="100"> </td> 276 <th> 277<a href="../../../../nn/cec/CTR/Message/GetMessageBody.html"><CODE>GetMessageBody</CODE></a> 278 </th> 279<td>Gets the body data of a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 280 </tr> 281 <tr> 282 <td width="100"> </td> 283 <th> 284<a href="../../../../nn/cec/CTR/Message/GetMessageBodyPointer.html"><CODE>GetMessageBodyPointer</CODE></a> 285 </th> 286<td>Gets a pointer to the body data of a <a href="../../../../nn/cec/CTR/Message/Overview.html">Message</a>.</td> 287 </tr> 288 <tr> 289<th class="category" colspan="3">Other</th> 290 </tr> 291 <tr> 292 <td width="100"> </td> 293 <th> 294<a href="../../../../nn/cec/CTR/Message/Message.html"><CODE>Message</CODE></a> 295 </th> 296<td>Constructor.</td> 297 </tr> </table> 298 </div> 299 </a> 300<h2>Revision History</h2> 301 <div class="section"> 302 <dl class="history"> 303 <dt>2010/08/16</dt> 304<dd>Initial version.<br /> 305 </dd> 306 </dl> 307 </div> 308 <hr><p>CONFIDENTIAL</p></body> 309</html>