IdleTimeout Property

The maximum period of inactivity the class will allow before disconnecting.

Syntax

ANSI (Cross Platform)
int GetIdleTimeout();
int SetIdleTimeout(int iIdleTimeout); Unicode (Windows) INT GetIdleTimeout();
INT SetIdleTimeout(INT iIdleTimeout);
@property (nonatomic,readwrite,assign,getter=idleTimeout,setter=setIdleTimeout:) int idleTimeout;
- (int)idleTimeout;
- (void)setIdleTimeout:(int)newIdleTimeout;
#define PID_AMQP_IDLETIMEOUT 11

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AMQP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property controls how long, in seconds, the class will allow the connection to sit idle before it disconnects from the remote host.

This property may be set to 0 to prevent the class from ever closing the connection due to inactivity.

Note: The idle timeout cannot be changed while connected.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Edition - Version 20.0 [Build 8155]