| Function : CAI_initCustomSign CAI_initConnection CAI_initConnection_SI CAI_initAuthentication CAI_initOpenType |
| Description |
These functions are used to initialize the various structures used by the CAI_createConversationFactory_SI()
and the CAI_openConversationFromFactory()
functions.
| Syntax |
void CAI_initConnection(CAI_Connection *io_connection); void CAI_initConnection_SI(CAI_Connection_SI *io_connection); void CAI_initAuthentication(CAI_Authentication *io_authentication); void CAI_initCustomSign(CAI_CustomSign *io_customsign); void CAI_initOpenType(CAI_OpenType *io_open_type); |
| Parameters |
| Parameter | In/Out | Description |
|---|---|---|
| io_connection | Out | Structure used to set the communication information |
| io_authentication | Out | Structure used to set information on the corporateID/userID/password |
| io_customsign | Out | Structure used to initialize the CAO_OpenType structure |
| io_open_type | Out | Structure used when creating a conversation from the Factory. One very important indicator in this structure is the "bind_host_resource" field: if set to 0, then the "fast open" process will be used. |
| Return Value |
none
| Examples |
See the initialization process here and here for createFactory code sample or here for SI factory creation code sample.