1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>ReceiverState</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/rdt/Overview.html">rdt</a>::<a href="../../../nn/rdt/CTR/Overview.html">CTR</a>::ReceiverState</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum ReceiverState;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th><CODE>RECEIVER_STATE_WAITING</CODE></th>
28<td>Waiting for a connection request from the other party.</td>
29        </tr>
30        <tr>
31<th><CODE>RECEIVER_STATE_OPENED</CODE></th>
32<td>State in which a connection with the other party has been established and the local host can receive data.</td>
33        </tr>
34        <tr>
35<th><CODE>RECEIVER_STATE_WAITING_FINISHED</CODE></th>
36<td>This is the state in which all of the data has been received from the other party. After that a data transfer complete notification comes from that party and an acknowledgement is returned. However, this is also the state in which it is not certain whether or not the acknowledgement arrived.</td>
37        </tr>
38        <tr>
39<th><CODE>RECEIVER_STATE_FINISHED</CODE></th>
40<td>State in which the other party is thought to have received the ACK that data transmission is complete. Call <a href="../../../nn/rdt/CTR/Receiver/Close.html"><CODE>Receiver::Close</CODE></a> and transition to <CODE>RECEIVER_STATE_CLOSED</CODE>. </td>
41        </tr>
42        <tr>
43<th><CODE>RECEIVER_STATE_CLOSED</CODE></th>
44<td>Initial state of instances.</td>
45        </tr>
46        <tr>
47<th><CODE>RECEIVER_STATE_NOT_INITIALIZED</CODE></th>
48<td>Indicates that a <CODE>receiver</CODE> instance has not been initialized.</td>
49        </tr>
50      </table> </div>
51<h2>Description</h2>
52    <div class="section">
53<p>Enumerated type that indicates the state of a <CODE>Receiver</CODE> instance.</p><!-- write here --></div>
54<h2>Revision History</h2>
55    <div class="section">
56      <dl class="history">
57        <dt>2010/06/14</dt>
58<dd>Initial version.<br />
59        </dd>
60      </dl>
61    </div>
62  <hr><p>CONFIDENTIAL</p></body>
63</html>