Client Configuration Keywords


 

The PL/B Client Interface uses a program information file to specify its connection information. Below is a sample configuration file:

 

[Version]

PLBSERVE=86

 

[Environment]

PLBCS_PORTNUM=3933

PLBCS_HOSTNAME=63.162.221.37

 

Keywords with an associated value are placed in sections. The sections are indicated by surrounding the section name with square brackets. The [version] and [environment] sections are required and at a minimum should contain the keywords and values as follows:

 

The [version] section of the configuration file must contain the keyword PLBSERVE. Its value indicates the current version of the software.

 

The [Environment] section of the configuration file must contain two entries with the host connection information and any of the optional keywords:

 

Keyword

Specifies ...

PLBCS_AUTODELAY

the optional default delay seconds timeout.

PLBCS_AUTORETRY

the optional default auto retry count.

PLBCS_CMDLIN

an alias for PLBCS_CMDLN.

PLBCS_CMDLN

the optional default command line executed when no command line parameters are given.

PLBCS_CACHE

whether optional caching should be used or not.

PLBCS_CACHEAGE

the optional number of days a cached item will be retained if not used.

PLBCS_CACHEDIR

the optional directory in which cached items are stored.

PLBCE_COMPUTERNAME

the optional computer name for a CE device.

PLBCS_DELAYn

an optional user defined error message delay value.

PLBCS_ERRORn

an optional user defined error message.

PLBCS_HOSTNAME

the required host name or IP address.

PLBCS_IMCOUNT

the optional maximum number of in-memory cached items in a LRU list.

PLBCS_IMSIZE

the optional maximum memory size in kilobytes of the in-memory cache.

PLBCS_KEEPALIVE

to optionally disable generation of keep-alive messages.

PLBCS_LOCALIP

the optional local IP address.

PLBCS_LOGON

the optional key used to encrypt log on identifications to and from all clients.

PLBCS_MAXPROGVMEM

the optional keyword that limits the client virtual memory size.

PLBCS_MULTISERVER

the optional keyword that allows connection to one of several servers.

PLBCS_PORTNUM

the required IP port number to use.

PLBCS_PUBLIC

the optional key used to encrypt messages to and from all PLBCLIENT workstations.

PLBCS_RECVTIMEOUT

the optional maximum time allowed where no messages are received from the server.

PLBCS_RETRYn

an optional user defined error message retry value.

PLBCS_SERVICE_AUTOSTART

optionally start the client service after installation.

PLBCS_SERVICE_DELAY

the optional time to wait before taking the service failure action.

PLBCS_SERVICE_DESC

an optional descriptive string for the NT service.

PLBCS_SERVICE_FAIL

the optional actions for client module failures.

PLBCS_SERVICE_RESTART

the optional service restart capability.

PLBCS_SINGLEUSE

optionally restricts the number of client processes.

PLBCS_TITLEn

an optional user defined error message title.

PLBCE_USERNAME

a user name for a Windows CE device.

 

The [Environment] section of the configuration file may also contain the following runtime keywords. This allows a specific client to be configured without having the keywords at the server. Also, any of the following keywords specified in the PLBCLIENT INI take precedent over the same keyword specified in the server's ini file. The keywords are defined the the PLB Runtime Reference.

 

PLBWIN_PRTPREV

PLB_PRTTIME

PLB_PRTRETRY

PLB_PRTDEBUG

PLBWIN_SYSPORT

PLBWIN_ICON

PLBWIN_DOSCOLORS

PLBWIN_RTL

PLBWIN_FBOLD

PLBWIN_FSIZE

PLBWIN_FONT

PLBCE_TASKBAR (Windows CE ONLY!)

PLBWIN_NOHELP

PLBWIN_FILE

PLBWIN_EDIT

PLBWIN_HELP

PLBWIN_DOSFONT

PLBWIN_PRTSCR

PLBWIN_TERMINAL

PLBWIN_TERMINAL_DEBUG

 

 

See Also: PL/B Client Command Syntax, Manifest Files



PL/B Application Server PLBCLIENT Manifest Files