AzureRelayProxyConnectionIdleTimeout Property

The idle timeout for this connection.

Syntax

ANSI (Cross Platform)
int GetAzureRelayProxyConnectionIdleTimeout(int iConnectionId);
int SetAzureRelayProxyConnectionIdleTimeout(int iConnectionId, int iAzureRelayProxyConnectionIdleTimeout); Unicode (Windows) INT GetAzureRelayProxyConnectionIdleTimeout(INT iConnectionId);
INT SetAzureRelayProxyConnectionIdleTimeout(INT iConnectionId, INT iAzureRelayProxyConnectionIdleTimeout);
- (int)azureRelayProxyConnectionIdleTimeout:(int)connectionId;
- (void)setAzureRelayProxyConnectionIdleTimeout:(int)connectionId:(int)newAzureRelayProxyConnectionIdleTimeout;
#define PID_AZURERELAYPROXY_AZURERELAYPROXYCONNECTIONIDLETIMEOUT 7

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AzureRelayProxy_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AzureRelayProxy_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AzureRelayProxy_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

The idle timeout for this connection. This property is similar to DefaultIdleTimeout but may be set on a per-connection basis to override DefaultIdleTimeout. This property specifies the idle timeout (in seconds) for the connected client. When set to a positive value the class will disconnect idle clients after the specified timeout.

This only applies to clients that have not send to received data within the specified number of seconds.

If set to 0 (default) no idle timeout is applied.

Note: DoEvents must be called in order for the class to check existing connections.

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the AzureRelayProxyConnectionCount property.

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]