Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

SetWait Method

Applies To

OAQ

Description

Specifies the wait time (in seconds), if there is currently no message available.

Usage

void SetWait(int duration) const throw(OException)

Arguments

duration
An integer specifying the wait time in seconds.
Remarks

Applicable only for a Dequeue operation. Possible values include :

· OAQ_DQ_WAIT_FOREVER (-1) (Default) - Wait forever.

· OAQ_DQ_NOWAIT (0) - Do not wait.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback