Skip Headers
Oracle® C++ Call Interface Programmer's Guide
10g Release 2 (10.2)

Part Number B14294-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
View PDF

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.

Table 12-28 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.



getConsumerName()

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

string getConsumerName() const;


getMessage()

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

Message getMessage() const;


getMessageId()

Gets the id of the message which has been enqueued.

Bytes getMessageId() const;


getPayload()

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

Bytes getPayload() const;


getQueueName()

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

string getQueueName() const;