| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Friends
oracle::occi::aq::Message Class Reference

`#include <occiAQ.h>`

List of all members.

## Public Types

enum | MessageState { MSG_READY = OCI_MSG_READY, MSG_WAITING = OCI_MSG_WAITING, MSG_PROCESSED = OCI_MSG_PROCESSED, MSG_EXPIRED = OCI_MSG_EXPIRED }
enum | PayloadType { RAW, ANYDATA, OBJECT }

## Public Member Functions

| Message (const Environment *env)
| Message (const Message &rhs)
| ~Message ()
void | operator= (const Message &rhs)
int | getAttemptsToDequeue () const
void | setCorrelationId (const OCCI_STD_NAMESPACE::string &corr_id)
OCCI_STD_NAMESPACE::string | getCorrelationId () const
void | setDelay (int delay)
int | getDelay () const
Date | getMessageEnqueuedTime () const
void | setExceptionQueueName (const OCCI_STD_NAMESPACE::string &queue)
OCCI_STD_NAMESPACE::string | getExceptionQueueName () const
void | setExpiration (int exp)
int | getExpiration () const
MessageState | getMessageState () const
void | setPriority (int priority)
int | getPriority () const
void | setRecipientList (OCCI_STD_NAMESPACE::vector< Agent > &ag_list)
void | setSenderId (const Agent &sender)
Agent | getSenderId () const
void | setOriginalMessageId (const Bytes &queue)
Bytes | getOriginalMessageId () const
void | setNull ()
bool | isNull () const
void | setBytes (const Bytes &bytes)
void | setObject (PObject *pobj)
void | setAnyData (const AnyData &any)
Bytes | getBytes () const
PObject * | getObject ()
AnyData | getAnyData () const
PayloadType | getPayloadType () const

## Friends

class | ConsumerImpl
class | ProducerImpl
class | NotifyResult

## Member Enumeration Documentation

enum oracle::occi::aq::Message::MessageState

Enumerator:

  MSG_READY |
  MSG_WAITING |
  MSG_PROCESSED |
  MSG_EXPIRED |

enum oracle::occi::aq::Message::PayloadType

Enumerator:

  RAW |
  ANYDATA |
  OBJECT |

## Constructor & Destructor Documentation

oracle::occi::aq::Message::Message | ( | const Environment * | env | ) |

oracle::occi::aq::Message::Message | ( | const Message & | rhs | ) |

oracle::occi::aq::Message::~Message | ( |  | ) |

## Member Function Documentation

AnyData oracle::occi::aq::Message::getAnyData | ( |  | ) | const

int oracle::occi::aq::Message::getAttemptsToDequeue | ( |  | ) | const

Bytes oracle::occi::aq::Message::getBytes | ( |  | ) | const

OCCI_STD_NAMESPACE::string oracle::occi::aq::Message::getCorrelationId | ( |  | ) | const

int oracle::occi::aq::Message::getDelay | ( |  | ) | const

OCCI_STD_NAMESPACE::string oracle::occi::aq::Message::getExceptionQueueName | ( |  | ) | const

int oracle::occi::aq::Message::getExpiration | ( |  | ) | const

Date oracle::occi::aq::Message::getMessageEnqueuedTime | ( |  | ) | const

MessageState oracle::occi::aq::Message::getMessageState | ( |  | ) | const

PObject* oracle::occi::aq::Message::getObject | ( |  | ) |

Bytes oracle::occi::aq::Message::getOriginalMessageId | ( |  | ) | const

PayloadType oracle::occi::aq::Message::getPayloadType | ( |  | ) | const

int oracle::occi::aq::Message::getPriority | ( |  | ) | const

Agent oracle::occi::aq::Message::getSenderId | ( |  | ) | const

bool oracle::occi::aq::Message::isNull | ( |  | ) | const

void oracle::occi::aq::Message::operator= | ( | const Message & | rhs | ) |

void oracle::occi::aq::Message::setAnyData | ( | const AnyData & | any | ) |

void oracle::occi::aq::Message::setBytes | ( | const Bytes & | bytes | ) |

void oracle::occi::aq::Message::setCorrelationId | ( | const OCCI_STD_NAMESPACE::string & | corr_id | ) |

void oracle::occi::aq::Message::setDelay | ( | int | delay | ) |

void oracle::occi::aq::Message::setExceptionQueueName | ( | const OCCI_STD_NAMESPACE::string & | queue | ) |

void oracle::occi::aq::Message::setExpiration | ( | int | exp | ) |

void oracle::occi::aq::Message::setNull | ( |  | ) |

void oracle::occi::aq::Message::setObject | ( | PObject * | pobj | ) |

void oracle::occi::aq::Message::setOriginalMessageId | ( | const Bytes & | queue | ) |

void oracle::occi::aq::Message::setPriority | ( | int | priority | ) |

void oracle::occi::aq::Message::setRecipientList | ( | OCCI_STD_NAMESPACE::vector< Agent > & | ag_list | ) |

void oracle::occi::aq::Message::setSenderId | ( | const Agent & | sender | ) |

## Friends And Related Function Documentation

friend class ConsumerImpl`[friend]`

friend class NotifyResult`[friend]`

friend class ProducerImpl`[friend]`

The documentation for this class was generated from the following file:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/Oracle/OCI/include/occiAQ.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines