3.3.2.1.3 Client Call
The client call is a data element that encapsulates the state associated with a client call. The client call is specified by a state machine with the following states.
State |
Description |
---|---|
STATE_SEND_PDUS |
The client is sending request PDUs of the call's [in] parameters to the server. This is the call's initial state. |
STATE_DISPATCHED |
The server has received all Request PDUs and is processing the request. |
STATE_RECEIVE_PDU |
The server is sending reply PDUs of the call's [out] parameters to the client. |
STATE_COMPLETE |
The call completed successfully. This is a terminal state. |
STATE_FAULT |
The call failed. This is a terminal state. |
The client call states are depicted in the following diagram:
Figure 19: Client Call State Diagram
Client Call: The client call data structure maintains state and property information relating to a client call, as specified in [C706] section 9.3.4. Each client call contains the following properties:
Connection: As specified in section 3.3.1.5.5, each call MUST establish and maintain an affinity for a single connection. The mechanism of linking a call to a connection is implementation-dependent. The process for determining an appropriate connection is described in section 3.3.2.4.1.2.
Call_id: An unsigned 32-bit integer identifying the call, as defined in [C706] section 12.6.3.5.
Communication Time-out Value: A 32-bit integer value that specifies a time-out period in milliseconds for PDU transmission. This value is set by higher-level protocol in an implementation specific manner<108> prior to making a call. See section 3.3.2.2.2 for more information on how this affects PDU transmission. If not specified by the higher-layer protocol, the default value is MAX_INT.
Call State: An implementation-specific value that represents the call state from the preceding table.