Contact Us!
303|905-4110

bpi.server.checkalive()

This subroutine performs a simple check of the Oo server.  It is advised to check the server each time a document is sent to it. This can also be integrated into application code to take action in the event that the OpenOffice server is unavailable.

Subroutine Syntax

CALL bpi.server.checkalive( host, user, level, status, verbose, ping.result,echo.result )

Parameters

Param

Direction

Description

host

passed

The hostname or ip address of the Oo server

user

passed

The user name to use for each ssh directive

level

passed

defines the intensity of the check:

0 = ping only

1 = ping and ssh echo bounce

status

returned

1 if successful, 0 if failed

verbose

passed

level of verbosity

ping.result

returned

the text output from the ping directive issued

echo.result

returned

the text output from the echo directive issued