Products Downloads


French version


 


This function lets you add the definition of a physical server to the list of physical servers read in the client configuration file. If the same name already exists, the old occurrence is replaced.


Note: this function must be used in the program's client part.


Context

  • Windows client,

  • Java client,

  • Adelia Cloud client,

  • Event Adelia client.


Parameters

ALPHA(n)

ServerName

Name of the physical server.

ALPHA(n)

Description

Description of the physical server.

ALPHA(n)

Host

TCP/IP address or host name of the physical server.

ALPHA(n)

PortNumber

Physical server's access port number.

ALPHA(n)

Profile

Connection profile.

ALPHA(n)

Password

Connection password.

ALPHA(n)

UrlViaHttp

URL designating the Middleware servlet to be contacted.

BOOL

ReturnCode

Return code for the operation:

*TRUE if the operation was completed successfully.

*FALSE if it was not.


Example

ServerName = 'PARIS_SITE'

Description 'Paris site'.

Host = '192.108.50.45'

PortNumber = '910'

Profile = 'MY_PROFILE'

Password = 'PASSWORD'

UrlViaHttp = 'http://127.0.0.1/AdeliaHTTP/MwServlet'


CALL_DLL 'VATOOLBX.DLL' 'VaToolBxAddPhysicalServerEx' ServerName Description Host PortNumber Profile Password UrlViaHttp ReturnCode


List of the VaToolBx functions by topic



↑ Top of page

  • Aucune étiquette