Top  | Previous | Next

system.util.setConnectTimeout

Description

Sets the connect timeout for client-to-gateway communication. Specified in milliseconds.

Syntax

system.util.setConnectTimeout(connectTimeout)

Parameters

int connectTimeout - The new connect timeout, specified in milliseconds.

Returns

nothing

Scope

Client

Examples

# This code would set the current connect timeout to 30 seconds

system.util.setConnectTimeout(30000)