BBjAppServer::getClientPollInterval

Description

In BBj 12.0 and higher, this is the length of time in seconds the web server will wait for the next command from BBjServices. 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 Value

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

Remarks

None.

Example

rem ' BBjAppServer::getClientPollInterval

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
print "getClientPollInterval (heartbeat time):",
print appServer!.getClientPollInterval()," seconds."

See Also

BBjAPI

BBjAppServer

BBjAppServer::setClientPollInterval

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