1.9 tprecv()
Table 1-9 tprecv()
tprecv() | Parameters | Contents | CPIC Notes |
---|---|---|---|
cd | - | The connection descriptor | This locally assigned connection descriptor has been mapped to the CONVID returned in the CMINIT and CMALLC issued by the initiator of this conversation. |
data | - | User data | Date to be received using a CMRCV_immediate and returned to the Oracle Tuxedo service. |
len | - | Length of User data | - |
flags | TPNOCHANGE
|
Local | Must be a supported buffer type. |
- | TPNOBLOCK
|
N/A | Local |
- | TPNOTIME
|
N/A | Local |
- | TPSIGRSTRT
|
N/A | Local |
revent | TPEV_DISCONIMM
|
If set, the LU6.2 conversation has been terminated abnormally. | If the return code from a CMSEND is deallocate_abnormal, the conversation is terminated. A disconnect event is sent to the sending process. |
- | TPEV_SENDONLY
|
If set, the LU6.2 conversation changes to send if partner allows it. | The sending partner has sent a CMSEND with send_type set to CM_SEND_AND_PREP_TO_RECEIVE. |
- | TPEV_SVCERR
|
If set, the LU6.2 conversation has been terminated abnormally. | Any return code other than CM_OK or CM_DEALLOCATE_NORMAL is treated as a TPEV_SVCERR. |
- | TPEV_SVCFAIL
|
- | If the return code from CMRCV is CM_TP_NOT_AVAIL_NO_RETRY or CM_TP_RESOURCE_FAILURE_NO_RETRY, revent is set to TPEV_SVCFAIL.
|
- | TPEV_SVCSUCC
|
If set, the conversation has completed normally. | The return code from CMRCV was set to CM_DEALLOCATE_NORMAL. This indicates that the sending TP has completed and deallocated the conversation normally. |
Parent topic: ATMI to CPI-C Function Mapping