BBjAppConfig::setClientPollInterval

Description

In BBj 12.0 and higher, this method sets the length of time in seconds the web server will wait for the next command from BBjServices. If the web server does not receive a command from the server in the configured time period, it will send a heartbeat to the browser.

Syntax

Return Value

Method

void

setClientPollInterval(int interval)

Parameters

Variable

Description

interval

The maximum number of seconds between commands sent to the browser.

Return Values

None.

Remarks

None.

Example

rem ' BBjAppConfig::setClientPollInterval

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setClientPollInterval(60)
print "setClientPollInterval:",
print appConfig!.getClientPollInterval()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getClientPollInterval

BBjAppServer

BBjAppServer::getClientPollInterval

BBjAppServer::setClientPollInterval

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.