Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 3473

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Service SessionManager</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="SessionManager-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub">Services' Summary</td>
<td class="navisub"><a href="#InterfacesSummary" class="navisub">Interfaces' Summary</a></td>
<td class="navisub">Properties' Summary</td>
<td class="navisub">Services' Details</td>
<td class="navisub"><a href="#InterfacesDetails" class="navisub">Interfaces' Details</a></td>
<td class="navisub">Properties' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">frame</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">service SessionManager</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>not published</i></dd>
<dt><b>Description</b></dt>
<dd>The SessionManager service provides an interface to the session manager
 of the desktop. A session manager keeps track of applications that are
 running when the desktop shuts down and starts them again in the same
 state they were left when the desktop starts up the next time. To be able
 to do this the session manager needs cooperation from applications;
 applications have to provide sufficient information to be started again as
 well as restore the state they were left in. The normal flow of operation
 looks like this:

 </dd>
<dd><ol>
 <li>The user starts the desktop shutdown.</li>
 <li>The session manager informs all its connected applications
 about the pending shutdown.</li>
 <li>Each application saves its current state; while doing this it may
 <ul>
 <li>The application may request to interact with the user (e.g. to ask
 where to save documents). This request is necessary because at any one
 time only one application can iteract with the user. The session manager
 coordinates these requests and grants every application in need of user
 interaction a timeslot in which it may interact with the user</li>
 <li>try to cancel the whole shutdown; the session manager may or may
 not honor that request.</li>
 </ul>
 </li>
 <li>After saving is done the session manager signals all applications
 to exit.</li>
 <li>Applications answer the exit message by disconnecting from the
 session manager.</li>
 <li>After all applications have exited or a reasonable timeout the
 session manager kills all remaining applications and finally lets the
 desktop shut down.</li>
</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="InterfacesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="XSessionManagerClient.html">XSessionManagerClient</a></td>
<td class="imsum_right"><p>XSessionManagerClient (of which there can only be one instance per
 process) provides an application's interface to the session manager.
 It keeps track of every listener inside the application and multiplexes
 the session manager's signals as well as requests to the session manager.
 </p>
</td>
</tr>
</table>
<a name="InterfacesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Details</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XSessionManagerClient" class="membertitle"><a href="XSessionManagerClient.html">XSessionManagerClient</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>XSessionManagerClient (of which there can only be one instance per
 process) provides an application's interface to the session manager.
 It keeps track of every listener inside the application and multiplexes
 the session manager's signals as well as requests to the session manager.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>&nbsp;<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>