FetchTimeout Property
How long the class should wait for a message to be received after FetchMessage is called.
Syntax
ANSI (Cross Platform) int GetFetchTimeout();
int SetFetchTimeout(int iFetchTimeout); Unicode (Windows) INT GetFetchTimeout();
INT SetFetchTimeout(INT iFetchTimeout);
@property (nonatomic,readwrite,assign,getter=fetchTimeout,setter=setFetchTimeout:) int fetchTimeout; - (int)fetchTimeout; - (void)setFetchTimeout:(int)newFetchTimeout;
#define PID_AMQP_FETCHTIMEOUT 4 IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_AMQP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
60
Remarks
This property controls how long, in seconds, the class will wait for a message to be received after FetchMessage is called before timing out the request. If set to zero, the class will wait indefinitely.
Refer to FetchMessage for more information.
This property is not available at design time.
Data Type
Integer