442 lines
22 KiB
HTML
442 lines
22 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<title>mxGraph: com.mxgraph.mxSession Class Reference</title>
|
|
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div! -->
|
|
|
|
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
|
|
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">mxGraph
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- Generated by Doxygen 1.7.6.1 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><b>com</b> </li>
|
|
<li class="navelem"><a class="el" href="namespacecom_1_1mxgraph.html">mxgraph</a> </li>
|
|
<li class="navelem"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html">mxSession</a> </li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#properties">Properties</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">com.mxgraph.mxSession Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<!-- doxytag: class="com::mxgraph::mxSession" -->
|
|
<p>Implements a session that may be attached to a shared diagram.
|
|
<a href="classcom_1_1mxgraph_1_1mxSession.html#details">More...</a></p>
|
|
|
|
<p><a href="classcom_1_1mxgraph_1_1mxSession-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a917d860f029239d38f994a4ec8c050a8">mxSession</a> (string <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a2d89c49a46afe11d0e7440d7a63dba8f">id</a>, <a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html">mxSharedDiagram</a> <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a892a9f4ac463579f782f302dbcbe95fe">diagram</a>)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new session with the given ID. <a href="#a917d860f029239d38f994a4ec8c050a8"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#aa4fc396cabbe5b805cf287cbd3859c97">Init</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes the session buffer and returns a string that represents the state of the session. <a href="#aa4fc396cabbe5b805cf287cbd3859c97"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a6a947426cc1ccd4f77de8c83d554eef6">GetInitialMessage</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an XML string that represents the current state of the session and the shared diagram. A globally unique ID is used as the session's namespace, which is used on the client side to prefix IDs of newly created cells. <a href="#a6a947426cc1ccd4f77de8c83d554eef6"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#ab691093cfec965dcfc4c5befffca18a7">Receive</a> (XmlNode message)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Posts the change represented by the given XML string to the shared diagram. <a href="#ab691093cfec965dcfc4c5befffca18a7"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a6beda19b5da62e5076d14a189bef7471">Poll</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within 10 seconds. <a href="#a6beda19b5da62e5076d14a189bef7471"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a5cd687913e6c803d7cd21e5bd0043985">Poll</a> (int timeout)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within the given timeout. <a href="#a5cd687913e6c803d7cd21e5bd0043985"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#af305f6960c5cd86050f23380b438ab3f">DiagramChanged</a> (Object sender, string xml)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Invoked when the shared diagram has changed. <a href="#af305f6960c5cd86050f23380b438ab3f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#afeae090ff25b15387ffb89a5ddb815c8">InactiveTimeMillis</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of milliseconds this session has been inactive. <a href="#afeae090ff25b15387ffb89a5ddb815c8"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#aa3b3747c85960407fdd93f9be380c9ca">Destroy</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroys the session and removes its listener from the shared diagram. <a href="#aa3b3747c85960407fdd93f9be380c9ca"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
|
|
Static Public Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a1450251f61062db9caa04e6dd12534da">DEFAULT_TIMEOUT</a> = 10000</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Default timeout is 10000 ms. <a href="#a1450251f61062db9caa04e6dd12534da"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a2d89c49a46afe11d0e7440d7a63dba8f">id</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the session ID. <a href="#a2d89c49a46afe11d0e7440d7a63dba8f"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html">mxSharedDiagram</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a892a9f4ac463579f782f302dbcbe95fe">diagram</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reference to the shared diagram. <a href="#a892a9f4ac463579f782f302dbcbe95fe"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">StringBuilder </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#aaa0d3d363332e37a66dee0a0d38a7acb">buffer</a> = new StringBuilder()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the send buffer for this session. <a href="#aaa0d3d363332e37a66dee0a0d38a7acb"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#ac8ca0c11db845ca7151326397a866654">lastTimeMillis</a> = 0</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the last active time millis. <a href="#ac8ca0c11db845ca7151326397a866654"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="properties"></a>
|
|
Properties</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a7ffb211995b7885112a7a8b70f08f5a6">Id</a><code> [get]</code></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the session ID. <a href="#a7ffb211995b7885112a7a8b70f08f5a6"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>Implements a session that may be attached to a shared diagram. </p>
|
|
</div><hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a917d860f029239d38f994a4ec8c050a8"></a><!-- doxytag: member="com::mxgraph::mxSession::mxSession" ref="a917d860f029239d38f994a4ec8c050a8" args="(string id, mxSharedDiagram diagram)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a917d860f029239d38f994a4ec8c050a8">com.mxgraph.mxSession.mxSession</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>id</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html">mxSharedDiagram</a> </td>
|
|
<td class="paramname"><em>diagram</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructs a new session with the given ID. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">id</td><td>Specifies the session ID to be used.</td></tr>
|
|
<tr><td class="paramname">diagram</td><td>Reference to the shared diagram.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="aa3b3747c85960407fdd93f9be380c9ca"></a><!-- doxytag: member="com::mxgraph::mxSession::Destroy" ref="aa3b3747c85960407fdd93f9be380c9ca" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#aa3b3747c85960407fdd93f9be380c9ca">com.mxgraph.mxSession.Destroy</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Destroys the session and removes its listener from the shared diagram. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af305f6960c5cd86050f23380b438ab3f"></a><!-- doxytag: member="com::mxgraph::mxSession::DiagramChanged" ref="af305f6960c5cd86050f23380b438ab3f" args="(Object sender, string xml)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#af305f6960c5cd86050f23380b438ab3f">com.mxgraph.mxSession.DiagramChanged</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">Object </td>
|
|
<td class="paramname"><em>sender</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">string </td>
|
|
<td class="paramname"><em>xml</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Invoked when the shared diagram has changed. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">sender</td><td>Session where the change was received from.</td></tr>
|
|
<tr><td class="paramname">xml</td><td>XML string that represents the change.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6a947426cc1ccd4f77de8c83d554eef6"></a><!-- doxytag: member="com::mxgraph::mxSession::GetInitialMessage" ref="a6a947426cc1ccd4f77de8c83d554eef6" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a6a947426cc1ccd4f77de8c83d554eef6">com.mxgraph.mxSession.GetInitialMessage</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns an XML string that represents the current state of the session and the shared diagram. A globally unique ID is used as the session's namespace, which is used on the client side to prefix IDs of newly created cells. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afeae090ff25b15387ffb89a5ddb815c8"></a><!-- doxytag: member="com::mxgraph::mxSession::InactiveTimeMillis" ref="afeae090ff25b15387ffb89a5ddb815c8" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">long <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#afeae090ff25b15387ffb89a5ddb815c8">com.mxgraph.mxSession.InactiveTimeMillis</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the number of milliseconds this session has been inactive. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa4fc396cabbe5b805cf287cbd3859c97"></a><!-- doxytag: member="com::mxgraph::mxSession::Init" ref="aa4fc396cabbe5b805cf287cbd3859c97" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#aa4fc396cabbe5b805cf287cbd3859c97">com.mxgraph.mxSession.Init</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Initializes the session buffer and returns a string that represents the state of the session. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the initial state of the session.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6beda19b5da62e5076d14a189bef7471"></a><!-- doxytag: member="com::mxgraph::mxSession::Poll" ref="a6beda19b5da62e5076d14a189bef7471" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a6beda19b5da62e5076d14a189bef7471">com.mxgraph.mxSession.Poll</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within 10 seconds. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a string representing the changes to the shared diagram.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5cd687913e6c803d7cd21e5bd0043985"></a><!-- doxytag: member="com::mxgraph::mxSession::Poll" ref="a5cd687913e6c803d7cd21e5bd0043985" args="(int timeout)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a6beda19b5da62e5076d14a189bef7471">com.mxgraph.mxSession.Poll</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>timeout</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the changes received by other sessions for the shared diagram. The method returns an empty XML node if no change was received within the given timeout. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">timeout</td><td>Time in milliseconds to wait for changes.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns a string representing the changes to the shared diagram.</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab691093cfec965dcfc4c5befffca18a7"></a><!-- doxytag: member="com::mxgraph::mxSession::Receive" ref="ab691093cfec965dcfc4c5befffca18a7" args="(XmlNode message)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#ab691093cfec965dcfc4c5befffca18a7">com.mxgraph.mxSession.Receive</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">XmlNode </td>
|
|
<td class="paramname"><em>message</em></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Posts the change represented by the given XML string to the shared diagram. </p>
|
|
<dl class="params"><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">xml</td><td>XML string that represents the change.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="aaa0d3d363332e37a66dee0a0d38a7acb"></a><!-- doxytag: member="com::mxgraph::mxSession::buffer" ref="aaa0d3d363332e37a66dee0a0d38a7acb" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">StringBuilder <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#aaa0d3d363332e37a66dee0a0d38a7acb">com.mxgraph.mxSession.buffer</a> = new StringBuilder()<code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the send buffer for this session. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1450251f61062db9caa04e6dd12534da"></a><!-- doxytag: member="com::mxgraph::mxSession::DEFAULT_TIMEOUT" ref="a1450251f61062db9caa04e6dd12534da" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a1450251f61062db9caa04e6dd12534da">com.mxgraph.mxSession.DEFAULT_TIMEOUT</a> = 10000<code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Default timeout is 10000 ms. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a892a9f4ac463579f782f302dbcbe95fe"></a><!-- doxytag: member="com::mxgraph::mxSession::diagram" ref="a892a9f4ac463579f782f302dbcbe95fe" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classcom_1_1mxgraph_1_1mxSharedDiagram.html">mxSharedDiagram</a> <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a892a9f4ac463579f782f302dbcbe95fe">com.mxgraph.mxSession.diagram</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Reference to the shared diagram. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2d89c49a46afe11d0e7440d7a63dba8f"></a><!-- doxytag: member="com::mxgraph::mxSession::id" ref="a2d89c49a46afe11d0e7440d7a63dba8f" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a2d89c49a46afe11d0e7440d7a63dba8f">com.mxgraph.mxSession.id</a><code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the session ID. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac8ca0c11db845ca7151326397a866654"></a><!-- doxytag: member="com::mxgraph::mxSession::lastTimeMillis" ref="ac8ca0c11db845ca7151326397a866654" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">long <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#ac8ca0c11db845ca7151326397a866654">com.mxgraph.mxSession.lastTimeMillis</a> = 0<code> [protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Holds the last active time millis. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Property Documentation</h2>
|
|
<a class="anchor" id="a7ffb211995b7885112a7a8b70f08f5a6"></a><!-- doxytag: member="com::mxgraph::mxSession::Id" ref="a7ffb211995b7885112a7a8b70f08f5a6" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">string <a class="el" href="classcom_1_1mxgraph_1_1mxSession.html#a7ffb211995b7885112a7a8b70f08f5a6">com.mxgraph.mxSession.Id</a><code> [get]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Returns the session ID. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>src/sharing/mxSession.cs</li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Apr 8 2013 12:32:35 for mxGraph by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.7.6.1
|
|
</small></address>
|
|
|
|
</body>
|
|
</html>
|