BBjAppConfig::getClientPollInterval

Description

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

Syntax

Return Value

Method

int

getClientPollInterval()

Parameters

None.

Return Values

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

Remarks

None.

Example

rem ' BBjAppConfig::getClientPollInterval

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

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::setClientPollInterval

BBjAppServer::getClientPollInterval

BBjAppServer

BBjAppServer::setClientPollInterval

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