Function
Create a new connection to an EMS server.
tibems_status
tibemsConnection_Create(tibemsConnection
* connection, const char* brokerURL, const char* clientId, const char* username, const char* password );tibems_status
tibemsConnection_CreateSSL(tibemsConnection
* connection, const char* brokerURL, const char* clientId, const char* username, const char* password,tibemsSSLParams
sslParams, const char* pk_password );
CALL "tibemsConnection_Create" USING BY REFERENCE connection, BY REFERENCE brokerURL, BY REFERENCE clientId, BY REFERENCE username, BY REFERENCE password RETURNING tibems-status END-CALL. CALL "tibemsConnection_CreateSSL" USING BY REFERENCE connection, BY REFERENCE brokerURL, BY REFERENCE clientId, BY REFERENCE username, BY REFERENCE password, BY VALUE tibemsSSLParams, BY REFERENCE pk-password, RETURNING tibems-status END-CALL.
When the authentication parameters are null, the connection object presents a default user identity. If the server configuration permits that anonymous user, then the call succeeds.
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |