uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

setConnectTimeout(Integer interval) method

Description

This method sets the connection timeout in milliseconds.

This method functions in the same manner as when you set the ClientConfig.PROPERTY_CONNECT_TIMEOUT property in the property map acquired with the getProperties() method.

Syntax

public void setConnectTimeout(Integer interval)

Parameter

interval
This is the connection timeout value. If you specify null or 0, the connection does not time out.

Return value

None.

Notes