Page MenuHomec4science

ClientWorker.html
No OneTemporary

File Metadata

Created
Tue, Jan 21, 19:00

ClientWorker.html

This document is not UTF8. It was detected as Shift JIS and converted to UTF8 for display.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Fri Jan 10 14:26:14 CET 2014 -->
<title>ClientWorker</title>
<meta name="date" content="2014-01-10">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ClientWorker";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ClientWorker.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../FrameWork/ClinicalFactorsTable.html" title="class in FrameWork"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?FrameWork/ClientWorker.html" target="_top">Frames</a></li>
<li><a href="ClientWorker.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">FrameWork</div>
<h2 title="Class ClientWorker" class="title">Class ClientWorker</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>FrameWork.ClientWorker</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Runnable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">ClientWorker</span>
extends java.lang.Object
implements java.lang.Runnable</pre>
<div class="block">The Class ClientWorker. This is the thread which manages all the interaction
with the client. author Kevin Serrano, J駻emy Weber</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#androidString">androidString</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.net.Socket</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#client">client</a></strong></code>
<div class="block">The client.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#connected">connected</a></strong></code>
<div class="block">The connected.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonReader</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#jsr">jsr</a></strong></code>
<div class="block">The json reader.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private com.cedarsoftware.util.io.JsonWriter</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#jsw">jsw</a></strong></code>
<div class="block">The json writer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#k">k</a></strong></code>
<div class="block">The k.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#l">l</a></strong></code>
<div class="block">The l.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private javax.swing.JLabel</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#label">label</a></strong></code>
<div class="block">The label.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#t">t</a></strong></code>
<div class="block">The t.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../FrameWork/Type.html" title="enum in FrameWork">Type</a></code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#type">type</a></strong></code>
<div class="block">The type.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../FrameWork/ClientWorker.html#ClientWorker(java.net.Socket, javax.swing.JLabel)">ClientWorker</a></strong>(java.net.Socket&nbsp;client,
javax.swing.JLabel&nbsp;label)</code>
<div class="block">Instantiates a new client worker.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#autenthication(org.json.JSONObject)">autenthication</a></strong>(org.json.JSONObject&nbsp;jsonO)</code>
<div class="block">Authentication.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#checkNewRequestsP(org.json.JSONObject)">checkNewRequestsP</a></strong>(org.json.JSONObject&nbsp;json)</code>
<div class="block">Check new requests patient</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.math.BigInteger[]</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#compareEncryptedValues(java.math.BigInteger[], java.math.BigInteger[], int)">compareEncryptedValues</a></strong>(java.math.BigInteger[]&nbsp;cipherA,
java.math.BigInteger[]&nbsp;cipherB,
int&nbsp;id_p)</code>
<div class="block">Compare encrypted values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.math.BigInteger[]</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#computeTest(java.util.ArrayList[], int, java.util.ArrayList[])">computeTest</a></strong>(java.util.ArrayList[]&nbsp;markers,
int&nbsp;id_p,
java.util.ArrayList[]&nbsp;cfs)</code>
<div class="block">Compute test.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#getAndInsertNewPatient(org.json.JSONObject)">getAndInsertNewPatient</a></strong>(org.json.JSONObject&nbsp;jsonO)</code>
<div class="block">Gets and insert new patient.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#insertConsent(int, boolean)">insertConsent</a></strong>(int&nbsp;id_r,
boolean&nbsp;consent)</code>
<div class="block">Insert consent for the request r.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#putWaitingConsent(org.json.JSONObject)">putWaitingConsent</a></strong>(org.json.JSONObject&nbsp;json)</code>
<div class="block">Put a request into the database in order to wait the consent of the
patient</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#readAndSendCFEncrypted(org.json.JSONObject)">readAndSendCFEncrypted</a></strong>(org.json.JSONObject&nbsp;jsonO)</code>
<div class="block">Read and send encrypted clinical factors</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#readAndSendCFTable(org.json.JSONObject)">readAndSendCFTable</a></strong>(org.json.JSONObject&nbsp;jsonO)</code>
<div class="block">Read and send the clinical factors table(name-values (false)) stored into
the database</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.json.JSONObject</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#readFromStream()">readFromStream</a></strong>()</code>
<div class="block">Read from stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#run()">run</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#storeKeysDB(org.json.JSONObject)">storeKeysDB</a></strong>(org.json.JSONObject&nbsp;jsonO)</code>
<div class="block">Store keys into the server database.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../FrameWork/ClientWorker.html#writeToStream(org.json.JSONObject)">writeToStream</a></strong>(org.json.JSONObject&nbsp;json)</code>
<div class="block">Write to stream.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="client">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>client</h4>
<pre>private&nbsp;java.net.Socket client</pre>
<div class="block">The client.</div>
</li>
</ul>
<a name="label">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>label</h4>
<pre>private&nbsp;javax.swing.JLabel label</pre>
<div class="block">The label.</div>
</li>
</ul>
<a name="jsr">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jsr</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonReader jsr</pre>
<div class="block">The json reader.</div>
</li>
</ul>
<a name="jsw">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jsw</h4>
<pre>private&nbsp;com.cedarsoftware.util.io.JsonWriter jsw</pre>
<div class="block">The json writer.</div>
</li>
</ul>
<a name="type">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>type</h4>
<pre>private&nbsp;<a href="../FrameWork/Type.html" title="enum in FrameWork">Type</a> type</pre>
<div class="block">The type.</div>
</li>
</ul>
<a name="connected">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connected</h4>
<pre>private&nbsp;boolean connected</pre>
<div class="block">The connected.</div>
</li>
</ul>
<a name="l">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>l</h4>
<pre>private&nbsp;int l</pre>
<div class="block">The l.</div>
</li>
</ul>
<a name="t">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>t</h4>
<pre>private&nbsp;int t</pre>
<div class="block">The t.</div>
</li>
</ul>
<a name="k">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>k</h4>
<pre>private&nbsp;int k</pre>
<div class="block">The k.</div>
</li>
</ul>
<a name="androidString">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>androidString</h4>
<pre>private&nbsp;java.lang.String androidString</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ClientWorker(java.net.Socket, javax.swing.JLabel)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ClientWorker</h4>
<pre>ClientWorker(java.net.Socket&nbsp;client,
javax.swing.JLabel&nbsp;label)</pre>
<div class="block">Instantiates a new client worker.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>client</code> - the client</dd><dd><code>label</code> - the label</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="run()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public&nbsp;void&nbsp;run()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>run</code>&nbsp;in interface&nbsp;<code>java.lang.Runnable</code></dd>
</dl>
</li>
</ul>
<a name="readAndSendCFTable(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAndSendCFTable</h4>
<pre>private&nbsp;void&nbsp;readAndSendCFTable(org.json.JSONObject&nbsp;jsonO)</pre>
<div class="block">Read and send the clinical factors table(name-values (false)) stored into
the database</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonO</code> - the json object</dd></dl>
</li>
</ul>
<a name="readAndSendCFEncrypted(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readAndSendCFEncrypted</h4>
<pre>private&nbsp;void&nbsp;readAndSendCFEncrypted(org.json.JSONObject&nbsp;jsonO)</pre>
<div class="block">Read and send encrypted clinical factors</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonO</code> - the json object</dd></dl>
</li>
</ul>
<a name="getAndInsertNewPatient(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAndInsertNewPatient</h4>
<pre>private&nbsp;void&nbsp;getAndInsertNewPatient(org.json.JSONObject&nbsp;jsonO)</pre>
<div class="block">Gets and insert new patient.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonO</code> - the json Object</dd></dl>
</li>
</ul>
<a name="checkNewRequestsP(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkNewRequestsP</h4>
<pre>public&nbsp;void&nbsp;checkNewRequestsP(org.json.JSONObject&nbsp;json)</pre>
<div class="block">Check new requests patient</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>json</code> - the json</dd></dl>
</li>
</ul>
<a name="storeKeysDB(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>storeKeysDB</h4>
<pre>private&nbsp;void&nbsp;storeKeysDB(org.json.JSONObject&nbsp;jsonO)</pre>
<div class="block">Store keys into the server database.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonO</code> - the json object</dd></dl>
</li>
</ul>
<a name="readFromStream()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFromStream</h4>
<pre>public&nbsp;org.json.JSONObject&nbsp;readFromStream()</pre>
<div class="block">Read from stream.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the jSON object</dd></dl>
</li>
</ul>
<a name="writeToStream(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeToStream</h4>
<pre>public&nbsp;void&nbsp;writeToStream(org.json.JSONObject&nbsp;json)</pre>
<div class="block">Write to stream.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>json</code> - the json</dd></dl>
</li>
</ul>
<a name="autenthication(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>autenthication</h4>
<pre>public&nbsp;void&nbsp;autenthication(org.json.JSONObject&nbsp;jsonO)</pre>
<div class="block">Authentication. This function verified that the login is correct</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonO</code> - the json objec</dd></dl>
</li>
</ul>
<a name="computeTest(java.util.ArrayList[], int, java.util.ArrayList[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>computeTest</h4>
<pre>public&nbsp;java.math.BigInteger[]&nbsp;computeTest(java.util.ArrayList[]&nbsp;markers,
int&nbsp;id_p,
java.util.ArrayList[]&nbsp;cfs)
throws java.sql.SQLException,
<a href="../FrameWork/CryptoException.html" title="class in FrameWork">CryptoException</a></pre>
<div class="block">Compute test.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>markers</code> - the markers</dd><dd><code>id_p</code> - the patient ID</dd><dd><code>cfs</code> - the clinical factors</dd>
<dt><span class="strong">Returns:</span></dt><dd>the big integer[]</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd>
<dd><code><a href="../FrameWork/CryptoException.html" title="class in FrameWork">CryptoException</a></code> - the crypto exception</dd></dl>
</li>
</ul>
<a name="compareEncryptedValues(java.math.BigInteger[], java.math.BigInteger[], int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareEncryptedValues</h4>
<pre>public&nbsp;java.math.BigInteger[]&nbsp;compareEncryptedValues(java.math.BigInteger[]&nbsp;cipherA,
java.math.BigInteger[]&nbsp;cipherB,
int&nbsp;id_p)
throws <a href="../FrameWork/CryptoException.html" title="class in FrameWork">CryptoException</a>,
java.sql.SQLException</pre>
<div class="block">Compare encrypted values.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cipherA</code> - the cipher a</dd><dd><code>cipherB</code> - the cipher b</dd><dd><code>id_p</code> - the patient ID</dd>
<dt><span class="strong">Returns:</span></dt><dd>the big integer[]</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../FrameWork/CryptoException.html" title="class in FrameWork">CryptoException</a></code> - the crypto exception</dd>
<dd><code>java.sql.SQLException</code> - the sQL exception</dd></dl>
</li>
</ul>
<a name="putWaitingConsent(org.json.JSONObject)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putWaitingConsent</h4>
<pre>public&nbsp;void&nbsp;putWaitingConsent(org.json.JSONObject&nbsp;json)</pre>
<div class="block">Put a request into the database in order to wait the consent of the
patient</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>json</code> - the json</dd></dl>
</li>
</ul>
<a name="insertConsent(int, boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>insertConsent</h4>
<pre>public&nbsp;void&nbsp;insertConsent(int&nbsp;id_r,
boolean&nbsp;consent)</pre>
<div class="block">Insert consent for the request r.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id_r</code> - the request ID</dd><dd><code>consent</code> - the consent</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ClientWorker.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-files/index-1.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../FrameWork/ClinicalFactorsTable.html" title="class in FrameWork"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?FrameWork/ClientWorker.html" target="_top">Frames</a></li>
<li><a href="ClientWorker.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

Event Timeline