idleTimeout (property)

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

Syntax

@property (nonatomic,readwrite,assign,getter=idleTimeout,setter=setIdleTimeout:) int idleTimeout;
- (int)idleTimeout;
- (void)setIdleTimeout:(int)newIdleTimeout;
public var idleTimeout: Int32 {
  get {...}
set {...} }

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.

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