IdleTimeout Property

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

Object Oriented Interface

public function getIdleTimeout();
public function setIdleTimeout($value);

Procedural Interface

ipworksmq_amqp_get($res, 11 );
ipworksmq_amqp_set($res, 11, $value );

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 PHP Edition - Version 20.0 [Build 8155]