| 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 | Public Attributes
oracle::occi::aq::Subscription Class Reference

`#include <occiAQ.h>`

List of all members.

## Public Types

enum | Presentation { PRES_DEFAULT = OCI_SUBSCR_PRES_DEFAULT, PRES_XML = OCI_SUBSCR_PRES_XML }
enum | Protocol { PROTO_CBK = OCI_SUBSCR_PROTO_OCI, PROTO_MAIL = OCI_SUBSCR_PROTO_MAIL, PROTO_SERVER = OCI_SUBSCR_PROTO_SERVER, PROTO_HTTP = OCI_SUBSCR_PROTO_HTTP }
enum | Namespace { NS_ANONYMOUS = OCI_SUBSCR_NAMESPACE_ANONYMOUS, NS_AQ = OCI_SUBSCR_NAMESPACE_AQ }

## Public Member Functions

| Subscription (const Environment *env)
| Subscription (const Environment *env, OCISubscription *sub)
| Subscription (const Subscription &sub)
| ~Subscription ()
void | operator= (const Subscription &sub)
unsigned int | getDatabaseServersCount () const
void | setDatabaseServerNames (const OCCI_STD_NAMESPACE::vector< OCCI_STD_NAMESPACE::string > &dbsrv)
OCCI_STD_NAMESPACE::vector < OCCI_STD_NAMESPACE::string > | getDatabaseServerNames () const
void | setNotifyCallback (unsigned int(*callback)(Subscription &sub, NotifyResult *nr))
void | setCallbackContext (void *ctx)
void * | getCallbackContext () const
void | setSubscriptionName (const OCCI_STD_NAMESPACE::string &name)
OCCI_STD_NAMESPACE::string | getSubscriptionName () const
void | setSubscriptionNamespace (Namespace nameSpace)
Namespace | getSubscriptionNamespace () const
void | setPayload (const Bytes &payload)
Bytes | getPayload () const
void | setRecipientName (const OCCI_STD_NAMESPACE::string &name)
OCCI_STD_NAMESPACE::string | getRecipientName () const
void | setPresentation (Presentation pres)
Presentation | getPresentation () const
void | setProtocol (Protocol prot)
Protocol | getProtocol () const
OCISubscription * | getOCISubscription () const
void | setNull ()
bool | isNull () const
Environment * | getEnvironment () const

## Public Attributes

unsigned int(*)(Subscription &sub, NotifyResult *nr) | getNotifyCallback () const

## Member Enumeration Documentation

enum oracle::occi::aq::Subscription::Namespace

Enumerator:

  NS_ANONYMOUS |
  NS_AQ |

enum oracle::occi::aq::Subscription::Presentation

Enumerator:

  PRES_DEFAULT |
  PRES_XML |

enum oracle::occi::aq::Subscription::Protocol

Enumerator:

  PROTO_CBK |
  PROTO_MAIL |
  PROTO_SERVER |
  PROTO_HTTP |

## Constructor & Destructor Documentation

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

oracle::occi::aq::Subscription::Subscription | ( | const Environment * | env,
|  | OCISubscription * | sub
| ) |  |

oracle::occi::aq::Subscription::Subscription | ( | const Subscription & | sub | ) |

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

## Member Function Documentation

void* oracle::occi::aq::Subscription::getCallbackContext | ( |  | ) | const

OCCI_STD_NAMESPACE::vector<OCCI_STD_NAMESPACE::string> oracle::occi::aq::Subscription::getDatabaseServerNames | ( |  | ) | const

unsigned int oracle::occi::aq::Subscription::getDatabaseServersCount | ( |  | ) | const

Environment* oracle::occi::aq::Subscription::getEnvironment | ( |  | ) | const

OCISubscription* oracle::occi::aq::Subscription::getOCISubscription | ( |  | ) | const

Bytes oracle::occi::aq::Subscription::getPayload | ( |  | ) | const

Presentation oracle::occi::aq::Subscription::getPresentation | ( |  | ) | const

Protocol oracle::occi::aq::Subscription::getProtocol | ( |  | ) | const

OCCI_STD_NAMESPACE::string oracle::occi::aq::Subscription::getRecipientName | ( |  | ) | const

OCCI_STD_NAMESPACE::string oracle::occi::aq::Subscription::getSubscriptionName | ( |  | ) | const

Namespace oracle::occi::aq::Subscription::getSubscriptionNamespace | ( |  | ) | const

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

void oracle::occi::aq::Subscription::operator= | ( | const Subscription & | sub | ) |

void oracle::occi::aq::Subscription::setCallbackContext | ( | void * | ctx | ) |

void oracle::occi::aq::Subscription::setDatabaseServerNames | ( | const OCCI_STD_NAMESPACE::vector< OCCI_STD_NAMESPACE::string > & | dbsrv | ) |

void oracle::occi::aq::Subscription::setNotifyCallback | ( | unsigned int(*)(Subscription &sub, NotifyResult *nr) | callback | ) |

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

void oracle::occi::aq::Subscription::setPayload | ( | const Bytes & | payload | ) |

void oracle::occi::aq::Subscription::setPresentation | ( | Presentation | pres | ) |

void oracle::occi::aq::Subscription::setProtocol | ( | Protocol | prot | ) |

void oracle::occi::aq::Subscription::setRecipientName | ( | const OCCI_STD_NAMESPACE::string & | name | ) |

void oracle::occi::aq::Subscription::setSubscriptionName | ( | const OCCI_STD_NAMESPACE::string & | name | ) |

void oracle::occi::aq::Subscription::setSubscriptionNamespace | ( | Namespace | nameSpace | ) |

## Member Data Documentation

unsigned int(*)(Subscription& sub, NotifyResult *nr) oracle::occi::aq::Subscription::getNotifyCallback() const

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