Skip Headers
Oracle® C++ Call Interface Programmer's Guide,
11g Release 2 (11.2)

Part Number E10764-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub
LNCPP21217

NotifyResult Class

A NotifyResult object holds the notification information in the Streams AQ notification callback. It is created by OCCI before invoking a user-callback, and is destroyed after the user-callback returns.

LNCPP21218Table 13-29 Summary of NotifyResult Methods

Method Summary

getConsumerName()

Returns the name of the notification consumer.

getMessage()

Returns the message.

getMessageId()

Returns the message ID.

getPayload()

Returns the payload.

getQueueName()

Returns the name of the queue.


LNCPP21219

getConsumerName()

Gets the name of the consumer for which the message has been enqueued. In a single consumer queue, this is a empty string.

string getConsumerName() const;
LNCPP21220

getMessage()

Gets the message which has been enqueued into the non-persistent queue.

Message getMessage() const;
LNCPP21221

getMessageId()

Gets the id of the message which has been enqueued.

Bytes getMessageId() const;
LNCPP21222

getPayload()

Gets the payload in case of a notification from NS_ANONYMOUS namespace.

Bytes getPayload() const;
LNCPP21223

getQueueName()

Gets the name of the queue on which the enqueue has happened

string getQueueName() const;
Reader Comment

   

Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the terms and conditions. Use the OTN forums for product questions. For support or consulting, file a service request through My Oracle Support.

Hide Navigation

Quick Lookup

Database Library · Master Index · Master Glossary · Book List · Data Dictionary · SQL Keywords · Initialization Parameters · Advanced Search · Error Messages

Main Categories

This Page

This Document

New and changed documents:
RSS Feed HTML RSS Feed PDF