2002-08-19 18:43:10 +00:00
|
|
|
<title>Core Client: Data Structures</title>
|
2002-08-20 23:54:17 +00:00
|
|
|
<body bgcolor=ffffff>
|
2002-07-29 19:01:38 +00:00
|
|
|
<h2>Core Client: Data Structures</h2>
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
The key data structures in the core client are as follows.
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-08-19 18:43:10 +00:00
|
|
|
Basic types:
|
2002-08-23 19:22:17 +00:00
|
|
|
<pre>PROJECT</pre>
|
|
|
|
<pre>APP</pre>
|
|
|
|
<pre>FILE_INFO</pre>
|
|
|
|
<pre>APP_VERSION</pre>
|
|
|
|
<pre>IO_FILE_DESC</pre>
|
|
|
|
<pre>WORKUNIT</pre>
|
|
|
|
Contains execution information about workunit including
|
|
|
|
command line arguments, environment variables and required
|
|
|
|
input files. Also points to the application, app
|
|
|
|
version and project the workunit is associated with.
|
|
|
|
<pre>RESULT</pre>
|
|
|
|
Contains status information about result including
|
|
|
|
state, total CPU time, deadline, etc. Also points
|
|
|
|
to the workunit, application and project the result is
|
|
|
|
associated with.
|
|
|
|
<pre>PREFS</pre>
|
|
|
|
Contains a vector of PROJECTs, summarizing the prefs.xml
|
|
|
|
file. Also contains user preferences.
|
2002-07-29 19:01:38 +00:00
|
|
|
<pre>CLIENT_STATE</pre>
|
2002-08-19 18:43:10 +00:00
|
|
|
Contains vectors of all the basic types. These are crossed-linked
|
2002-07-29 19:01:38 +00:00
|
|
|
with pointers; for example, APP_VERSION has a pointer to FILE_INFO. Also
|
|
|
|
contains FSM sets for network connections, HTTP operations, file
|
2002-08-23 19:22:17 +00:00
|
|
|
transfers, persistent file transfers, and active tasks.
|