Lines Matching full:client

21 <p>&quot;Client&quot; and &quot;server&quot; refer to the CCAPI client and server. </p>
22 <p>The CCAPI client acts as both an RPC client and RPC server and the CCAPI server acts as both an …
24 … call from the CCAPI client to the CCAPI server is called the &quot;request.&quot; In this mode, t…
25 …to the CCAPI client is called the &quot;reply.&quot; In this mode, the CCAPI client is the RPC ser…
31 <p>A description of client and server authentication has not been added yet.</p>
35 …<li>The client and server must be able to maintain connections, where state is maintained between …
37 …<li>The server must be able to detect when a client dies, so that any connection state can be clea…
40 …d each client create an RPC endpoint. The server's endpoint is CCS_&lt;LSID&gt; and the client's e…
41 <p>On Windows, the server's ccs_pipe_t type is a char* and is set to the client UUID.</p>
42 <h3>How is the request handled in the server and the reply sent to the client? </h3>
43client. The request handler calls <span class="style3">ccs_server_handle_request</span>. Eventuall…
46 <p>The client's <span class="style3">cci_os_ipc </span>function waits for <span class="style3">ccs_…
47 …request handler puts each request/<em>reply</em> endpoint in a queue and returns to the client.</p>
48client UUID . Eventually <span class="style3">ccs_os_server_send_reply</span> is called, with the …
49 <p>Is there any security issue with the client listening for RPC calls from the server?</p>
51 <p>If the client wants state to be maintained on the server, the client creates a connection. When …
52 …reviously established. Basically we lazily establish connections so the client doesn't talk to th…
53 <h3>Detecting client exit</h3>
54 …hen clients disappear, so the server can free any resources that had been held for the client. </p>
56 <p>The client has an <em>isAlive</em> function on its endpoint. </p>
57client disappearing without using polling, the server makes an asynchronous call to the <em>isAliv…
61 …<li>The server creates one CCS_&lt;LSID&gt; endpoint to listen for connection requests and client
65 …uest(msgtype, UUIDlen, &lt;UUID&gt;, msglen, msg, SST, status) called by client. NB: The windows s…
69 <li>Each client thread creates a CCAPI_&lt;UUID&gt; endpoint. It has the functions
78 <h3>Client CCAPI library initialization:</h3>
83 <h3>Client initialization: </h3>
86 …<li>Generate &lt;UUID&gt; and save in thread-specific storage. This serves as the client ID / ccs_…
87 <li>Create client endpoint.</li>
88 <li>Listen on client <em></em>endpoint.</li>
89 …<li>Create canonical server connection endpoint from the &lt;LSID&gt;, which the client and server…
101 …<li class="style6">Server is initialized by client starting a new process. There should be only …
111 <li>Client calls ccs_connect(&lt;UUID&gt;) on server's CCS_&lt;LSID&gt; endpoint.</li>
112 <li>Client gets back and stores SST in thread-specific storage.</li>
124 <h3>Client request:</h3>
125 <p>The server's reply to the client's request is not synchronous.</p>
127 …<li>Client calls ccs_rpc_request(msglen, msg, msgtype, UUIDlen, &lt;UUID&gt;, SST, status) on …
130 …<li>Server checks SST. If server's SST is different, it means server has restarted since client cr…
131 <li>Client receives reply. </li>
133 <h3>Detecting client exit</h3>
135 <li>When connection created, client created an endpoint.</li>
136 <li>Server calls isAlive on client's endpoint. </li>
141 <li>Client's call to ccs_rpc_request will return an error if the server has gone away. </li>