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

AQMessage.h

00001 #ifndef __AQMESSAGE_H_
00002 #define __AQMESSAGE_H_
00003 
00004 #include "ocicpp.h"
00005 #include "OraError.h"
00006 
00007 namespace OCICPP
00008 {
00009 using std::string;
00010 
00011 class AQMessage
00012 {
00013 private:
00014     void*   payload;
00015     size_t  payload_sz;
00016     string  MessageID;
00017     string  CorrelationIdentifier;
00018     string  ExceptionQueue;
00019     int Delay;
00020     int Expiration;
00021     int Priority;
00022 
00023 public:
00024     AQMessage();
00025     ~AQMessage();
00026 
00027     void    FreePayload(void);
00028 
00029     void    getPayload(string &Payload);
00030     void    getPayload(void **Payload, size_t *PayloadSize);
00031     void    setPayload(string &Payload);
00032     void    setPayload(void *Payload, size_t PayloadSize);
00033 
00034     string  getMessageID(void);
00035     void    setMessageID(string& MessageID);
00036 
00037     string  getCorrelationIdentifier(void);
00038     void    setCorrelationIdentifier(string& CorrelationIdentifier);
00039 
00040     string  getExceptionQueue(void);
00041     void    setExceptionQueue(string& ExceptionQueue);
00042 
00043     int getDelay(void);
00044     void    setDelay(int Delay);
00045 
00046     int getExpiration(void);
00047     void    setExpiration(int Expiration);
00048 
00049     int getPriority(void);
00050     void    setPriority(int Priority);
00051 };
00052 
00053 } // namespace OCICPP
00054 
00055 #endif
00056 

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