aqqueue.h

来自「oracle引用库」· C头文件 代码 · 共 46 行

H
46
字号
#ifndef __AQQUEUE_H_#define __AQQUEUE_H_#include <string>#include "ocicpp.h"#include "OraError.h"#include "AQMessage.h"using std::string;namespace OCICPP{class AQQueue{private:	int		Initialized;	string		queue_name;	OCIEnv 		*envhp;	OCISvcCtx	*svchp;	OCIError	*errhp;	OCIType 	*payload_tdo;	int		Navigation;	int		DequeueMode;	int		Wait;public:		AQQueue();	void	init(std::string& queue_name, OCIEnv *env, OCISvcCtx *svc, OCIError *err);	string 	Enqueue(OCICPP::AQMessage &msg);	void 	Dequeue(OCICPP::AQMessage &msg, std::string req_msg_id = "", std::string req_corr_id = "");	void 	DequeueByCorrelationIdentifier(OCICPP::AQMessage &msg, std::string req_corr_id);	void 	DequeueByMessageID(OCICPP::AQMessage &msg, std::string req_msg_id);	void	setNavigation(int Navigation);	void	setDequeueMode(int DequeueMode);	void	setWait(int Wait);};} // namespace OCICPP#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?