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<title>RebootAllClients</title> 8 </head> 9 <body> 10<h1><CODE>nn::dlp::CTR::Server::RebootAllClients</CODE> Member Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14static <a href="../../../../nn/Result/Overview.html">nn::Result</a> RebootAllClients( 15 const char passpharase[] = NULL 16); 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21 <table class="arguments"> 22 <thead> 23 <tr> 24 <td width="15" /> 25<th>Name</th> 26<td>Description</td> 27 </tr> 28 </thead> 29 <tr> 30<td>in</td> 31<th>passpharase[]</th> 32<td>The UDS passphrase when reconnecting. The length is up to <CODE>MAX_CHILD_UDS_PASSPHRASE_LENGTH</CODE>.</td> 33 </tr> </table> 34 </div> 35<h2>Return Values</h2> 36<div class="section">The following <a href="../../../../nn/Result/Overview.html">Result</a>s are returned as the result of the operation.<br /> <br /> 37 <table class="arguments"> 38 <thead> 39 <tr> 40<th>Value</th> 41<td>Description</td> 42 </tr> 43 </thead> 44 <tr> 45<th>ResultSuccess</th> 46<td>The reboot request was sent to the client. The <a href="../../../../nn/dlp/CTR/ResultInvalidState/Overview.html">ResultInvalidState</a> state is invalid. Use when the download is completed (SERVER_STATE_COMPLETE_DISTRIBUTION).</td> 47 </tr> 48 </table> </div> 49<h2>Description</h2> 50 <div class="section"> 51<p>Sends a reboot request to all clients.</p><p>After rebooting, specify a UDS passphrase with <SPAN class="argument">passPhrase</SPAN> to connect only <a href="../../../../nn/dlp/CTR/Overview.html">CTR</a> systems that are participating in a download session,.<br />When specifying a passphrase, change it for each download session.<br />After calling this function and after all clients have disconnected, call the <a href="../../../../nn/dlp/CTR/Server/CloseSessions.html"><CODE>CloseSessions</CODE></a> and <a href="../../../../nn/dlp/CTR/Server/Finalize.html"><CODE>Finalize</CODE></a> functions.<br /> Use the <CODE>GetConnectingClients</CODE> function to determine the number of clients to disconnect. Clients are not guaranteed to reconnect as child devices after they reboot. Keep this in mind for parent devices that are waiting for child devices.</p><!-- write here --></div> 52<h2>Revision History</h2> 53 <div class="section"> 54 <dl class="history"> 55 <dt>2010/11/10</dt> 56<dd>Initial version.<br /> 57 </dd> 58 </dl> 59 </div> 60 <hr><p>CONFIDENTIAL</p></body> 61</html>