BBjRuntime   

Description

In BBj 9.0 and higher, BBjRuntime provides methods through which a program may interact with its runtime environment.

Creation

BBjAPI > BBjRuntime

The BBjRuntime may be obtained through the following BBjAPI object method:

Return Value

Method

BBjRuntime

getRuntime()

Methods of BBjRuntime

Return Value

Method

void

doGC()

BBjVector

getBBjStack()

string

getBBjStackTrace()

string

getClientMemoryString()

boolean

getDebugState()

string

getMemStatString()

boolean

isClientInServerJVM()

boolean

isConsoleInteractive()

boolean

isDVKLicenseActive()

void

setDebugState(boolean isOn)

Remarks

None.

Constants

None.

Example

rem 'Obtain the instance of the BBjThinClient object

rem 'Obtain the instance of the BBjAPI object
let myAPI!=BBjAPI()

rem 'Obtain the instance of the BBjRuntime object
let myRuntime!=myAPI!.getRuntime()

See Also

BBjAPI

BBjVector

BBj Object Variables

BBj Object Creation and Assignment

BBj Object Error Handling

BBj Object Operators

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