Instance Variables

The following are the instance variables in n_pbniserv.

String is_service

This is the service name.

String is_logfile

This is the filename of the logfile.

Boolean ib_fromide

If True, it is running thru the PB IDE using w_test_service. If False, it is running as a service.

Long il_logmaxlen

The maximum number of bytes allowed in the logfile before it gets renamed.

String is_logdatefmt = "mmddyyyy"

The format string used to format the date portion of the renamed logfile.

String is_logtimefmt = "hhmmss"

The format string used to format the time portion of the renamed logfile.

Constant Long ERROR_SUCCESS = 0

Used as a return value when the function succeeded.

Constant Long ERROR_FUNCTION_FAILED = 1627

Used as a return value when the function failed.