32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<link rel="stylesheet" type="text/css" href="..\styles.css">
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<img src="..\..\ro.png" alt="" align="right">
|
||
|
|
|
||
|
|
<!-------------------------------------------------------------------------->
|
||
|
|
|
||
|
|
<p class="h1">
|
||
|
|
<span>Async Sample</span>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
|
||
|
|
<h2>Purpose</h2>
|
||
|
|
<p>This sample shows how to call methods on a RemObjects SDK server asynchronously. There may be times where you want to submit a request for information and defer receiving the result until a bit later.</p>
|
||
|
|
|
||
|
|
<p>
|
||
|
|
A very simple calculation (Sum) is performed, but this has a built in ten second delay so that it is possible to query the server before the calculation is completed.<br>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<h2>Getting Started</h2>
|
||
|
|
<ul>
|
||
|
|
<li>Compile and launch the server.</li>
|
||
|
|
<li>Compile and run the client.</li>
|
||
|
|
<li>Click on the <b>Calc Live</b> button to verify that the connection works.</li>
|
||
|
|
<li>Try one or both of the <b>Calc Async</b> buttons and then try checking and/or receiving the result before and after ten seconds have passed.</li>
|
||
|
|
</lu>
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>
|