1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<title>WFSEventType</title>
7<link rel="stylesheet" href="../css/nitro.css" type="text/css" />
8</head>
9
10<body>
11
12<h1>WFSEventType</h1>
13<h2>Definition</h2>
14
15<dl>
16  <dd>
17<code>#include &lt;nitro/wfs.h&gt;</code><br />
18  <br />
19<pre>
20<font color="#008000">/* Event callback type */</font>
21typedef enum WFSEventType
22{
23    <font color="#008000">/*** Event notified only to parent (server) ***/</font>
24
25    WFS_EVENT_SERVER_SEGMENT_REQUEST, <font color="#008000">/* Read request from child/client (argument <a href="WFSSegmentBuffer.html">WFSSegmentBuffer*</a>) */</font>
26
27    <font color="#008000">/*** Event notified only to children (clients) ***/</font>
28
29    WFS_EVENT_CLIENT_READY            <font color="#008000">/* Reception of file table from parent (server) is complete */</font>
30}
31WFSEventType;
32</pre>
33  <br />
34  </dd>
35</dl>
36
37<h2>Description</h2>
38<p>Represents the enumerator constants used to indicate WFS library events. The meaning of each enumerator constant is shown in the following table:
39</p>
40<table border="0">
41  <tbody>
42    <tr>
43      <td colspan="3" style="background-color:white">Event notified only to parent (server)</td>
44    </tr>
45    <tr>
46      <td>Value</td>
47      <td>Description</td>
48	  <td>Argument</td>
49    </tr>
50    <tr>
51      <td>WFS_EVENT_SERVER_SEGMENT_REQUEST</td>
52      <td>This notification is made when a read request is issued by a child (client).<BR>
53      The parent (server) must read data in the specified memory region from the device.</td>
54	  <td>Pointer to the <CODE><a href="WFSSegmentBuffer.html">WFSSegmentBuffer</a></CODE> type used to maintain request contents.</td>
55    </tr>
56    <tr>
57      <td colspan="3" style="background-color:white">Event notified only to children (clients)</td>
58    </tr>
59    <tr>
60      <td>Value</td>
61      <td>Description</td>
62	  <td>Argument</td>
63    </tr>
64    <tr>
65      <td>WFS_EVENT_CLIENT_READY</td>
66      <td>This notification is made when receiving the file table from the parent (server) completes.<BR>
67      Once this notification is made, the file table can be accessed using the <a href="client/WFS_GetTableFormat.html"><code>WFS_GetTableFormat</code></a> function.</td>
68	  <td>There are no arguments.</td>
69    </tr>
70  </tbody>
71</table>
72<br />
73
74<h2>See Also</h2>
75<p><code><a href="WFSEventCallback.html">WFSEventCallback</a>, <a href="WFSSegmentBuffer.html">WFSSegmentBuffer</a>, <br /> <a href="server/WFS_InitServer.html">WFS_InitServer</a>, <a href="client/WFS_InitClient.html">WFS_InitClient</a>, <a href="client/WFS_GetTableFormat.html">WFS_GetTableFormat</a>, <a href="client/WFS_RequestClientRead.html">WFS_RequestClientRead</a></code></p>
76
77<h2>Revision History</h2>
78<p>
792007/06/11 Deleted <CODE>WFS_EVENT_CLIENT_READ_COMPLETE</CODE>.<br /> 2007/06/06 Initial version.<br />
80</p>
81<hr><p>CONFIDENTIAL</p></body>
82</html>
83