Back to product page

Timeout property


Determines number of seconds before component is disconnected due to being idle.

Type

Integer

Syntax

  • Basic
object.Timeout [= value]
The Timeout(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
valueA Integer value.

Remarks

Timeout value specifies how many seconds must pass without any activity between wodXMPP and remote server before wodXMPP will autodisconnect from it. Autodisconnect is a measure of protection so there are no 'ghost' connections made between you and remote server. If you don't want autodisconnection to occur, set Timeout property to 0. Timeout can be changed during a lifetime of a connection. You shouldn't set it below 120 (2 minutes) if you're on slow network connection.

Platforms

Windows