JmsConnection.h

Go to the documentation of this file.
00001 
00008 #ifndef _JMS_CONNECTION_H
00009 #define _JMS_CONNECTION_H 1
00010 
00011 #include <JmsCommon.h>
00012 #include <JmsContext.h>
00013 #include <JmsMetaData.h>
00014 #include <JmsConnectionFactory.h>
00015 #include <JmsSession.h>
00016 #include <JmsTypes.h>
00017 
00021 typedef struct JmsConnection JmsConnection;
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif /* __cplusplus */
00026 
00040 extern int JMSENTRY JmsConnectionFactoryCreateConnection(
00041   JmsConnectionFactory   *connectionFactory,
00042   JmsConnection **connection,
00043   JMS64I              flags
00044 );
00045 
00067 extern int JMSENTRY JmsConnectionCreateSession(
00068   JmsConnection  * connection,
00069   int              transacted,
00070   int              acknowledeMode,
00071   JmsSession    ** session,
00072   JMS64I              flags
00073 );
00074 
00087 extern int JMSENTRY JmsConnectionGetClientId(
00088   JmsConnection  * connection,
00089   JmsString     * clientId,
00090   JMS64I              flags
00091 );
00092 
00105 extern int JMSENTRY JmsConnectionSetClientId(
00106   JmsConnection  * connection,
00107   JmsString      * clientId,
00108   JMS64I              flags
00109 );
00110 
00124 extern int JMSENTRY JmsConnectionGetMetaData(
00125   JmsConnection  * connection,
00126   JmsMetaData   ** metaData,
00127   JMS64I              flags
00128 );
00129 
00145 extern int JMSENTRY JmsConnectionGetExceptionListener(
00146   JmsConnection  * connection,
00147   void              (** listener)(JmsException *, void *, JMS64I),
00148   void              **argument,
00149   JMS64I              flags
00150 );
00151 
00177 extern int JMSENTRY JmsConnectionSetExceptionListener(
00178   JmsConnection  * connection,
00179   void           (* listener)(JmsException *, void *, JMS64I),
00180   void           *argument,
00181   JMS64I              flags
00182 );
00183 
00196 extern int JMSENTRY JmsConnectionStart(
00197   JmsConnection  * connection,
00198   JMS64I              flags
00199 );
00200 
00230 extern int JMSENTRY JmsConnectionStop(
00231   JmsConnection  * connection,
00232   JMS64I              flags
00233 );
00234 
00275 extern int JMSENTRY JmsConnectionClose(
00276   JmsConnection  * connection,
00277   JMS64I              flags
00278 );
00279 
00280 #ifdef __cplusplus
00281 }
00282 #endif /* __cplusplus */
00283 #endif /* _JMS_CONNECTION_H */

Copyright 1996, 2019, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
JMS C API Reference for Oracle WebLogic Server
12c (12.2.1.4.0)

Part Number E90603-01


Generated by doxygen 1.2.18