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