Lines Matching full:server
18 <h2 class="style5">Proposed RPC design for Windows CCAPI clients and server</h2>
21 <p>"Client" and "server" refer to the CCAPI client and server. </p>
22 …client acts as both an RPC client and RPC server and the CCAPI server acts as both an RPC client a…
24 …o the CCAPI server is called the "request." In this mode, the CCAPI client is the RPC cl…
25 …m the CCAPI server to the CCAPI client is called the "reply." In this mode, the CCAPI cl…
31 <p>A description of client and server authentication has not been added yet.</p>
34 …<li>The server's OS-independent code is single threaded, because it must operate on platforms that…
35 …<li>The client and server must be able to maintain connections, where state is maintained between …
36 <li>Individual messages must be handled in a single threaded server. </li>
37 …<li>The server must be able to detect when a client dies, so that any connection state can be clea…
40 <p>The server and each client create an RPC endpoint. The server's endpoint is CCS_<LSID> and…
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>
43 …server to the RPC client. The request handler calls <span class="style3">ccs_server_handle_request…
44 …ait. But if the single threaded server waits for B's lock, it will never handle A's unlock message…
46 …he client sends the request, including <em>its UUID,</em> from which the server can construct the …
47 <p>The server's listener thread listens for RPC requests. The request handler puts each request/<em…
48 <p>The server's worker thread removes items from the queue, calls <span class="style3">ccs_server_h…
49 <p>Is there any security issue with the client listening for RPC calls from the server?</p>
51 …ants state to be maintained on the server, the client creates a connection. When the connection is…
52 …ically we lazily establish connections so the client doesn't talk to the server until it has to.</…
54 <p>The server must be able to detect when clients disappear, so the server can free any resources t…
57 …server makes an asynchronous call to the <em>isAlive</em> function on the client's endpoint. The <…
61 …<li>The server creates one CCS_<LSID> endpoint to listen for connection requests and client …
65 …lt;UUID>, msglen, msg, SST, status) called by client. NB: The windows server sets the <span cla…
89 …<li>Create canonical server connection endpoint from the <LSID>, which the client and server…
90 <li>Test if server is listening to the CCS_<LSID> endpoint.
98 <h3>Server initialization:</h3>
101 …<li class="style6">Server is initialized by client starting a new process. There should be only …
105 <li class="style7">Server is started by kfwlogon (as is done currently). </li>
111 <li>Client calls ccs_connect(<UUID>) on server's CCS_<LSID> endpoint.</li>
113 <li>If new connection, server ...
125 <p>The server's reply to the client's request is not synchronous.</p>
127 …cs_rpc_request(msglen, msg, msgtype, UUIDlen, <UUID>, SST, status) on server's endpoint.</li>
128 <li>Server listen thread receives message, queues request.</li>
129 …<li>Server worker thread dequeues request, processes, calls ccs_rpc_reply(replylen, reply, msgtype…
130 …<li>Server checks SST. If server's SST is different, it means server has restarted since client cr…
136 <li>Server calls isAlive on client's endpoint. </li>
137 …live returns, the server's notification callback will be called. Call back routine queues a DISCON…
139 <h3>Detecting server exit </h3>
141 <li>Client's call to ccs_rpc_request will return an error if the server has gone away. </li>