BBjApplication::getClientPollInterval

Description

In BBj 12.0 and higher, this is the number of 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 ' BBjApplication::getClientPollInterval

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
vector! = appServer!.getAllAppNames()
if (vector!.size()) then
    for i = 0 to vector!.size() - 1
        appName$ = vector!.get(i)
        app! = appServer!.getApplication(appName$)
        print appName$," getClientPollInterval: ",
        print app!.getClientPollInterval()
    next i
endif

See Also

BBjAPI

BBjAppConfig

BBjAppServer

BBjApplication

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