Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Examples  

OCICPP::AQQueue Class Reference

Advanced Queue representation. More...

List of all members.

Public Methods

 AQQueue ()
void init (string &queue_name, OCIEnv *env, OCISvcCtx *svc, OCIError *err)
string Enqueue (OCICPP::AQMessage &msg)
void Dequeue (OCICPP::AQMessage &msg, string req_msg_id="", string req_corr_id="")
void DequeueByCorrelationIdentifier (OCICPP::AQMessage &msg, string req_corr_id)
void DequeueByMessageID (OCICPP::AQMessage &msg, string req_msg_id)
void setNavigation (int Navigation)
void setDequeueMode (int DequeueMode)
void setWait (int Wait)


Detailed Description

Advanced Queue representation.

This class represents an advanced queue from the oracle server. This feature is available from Oracle 8 on within the Enterprise Edition. The current implementation does not provide structured payload, so the extensions available with the Object-option are not supported, currently.


Constructor & Destructor Documentation

OCICPP::AQQueue::AQQueue ( )
 

Create an uninitialized advanced queue.


Member Function Documentation

void OCICPP::AQQueue::Dequeue ( OCICPP::AQMessage & msg,
string req_msg_id = "",
string req_corr_id = "" )
 

Dequeues the next message matching the message id req_msg_id. and the correlation identifier req_corr_id.

void OCICPP::AQQueue::DequeueByCorrelationIdentifier ( OCICPP::AQMessage & msg,
string req_corr_id )
 

Dequeues the next message matching the correlation identifier req_corr_id.

void OCICPP::AQQueue::DequeueByMessageID ( OCICPP::AQMessage & msg,
string req_msg_id )
 

Dequeues the next message matching the message id req_msg_id.

string OCICPP::AQQueue::Enqueue ( OCICPP::AQMessage & msg )
 

Enqueue a message msg in the queue.


The documentation for this class was generated from the following files:
Generated at Tue Jun 12 10:37:29 2001 for OCI C++ Library by doxygen1.2.4-20010128 written by Dimitri van Heesch, © 1997-2001