Salesforce

RqRtResume (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

RqRtResume (Magic xpa 4.x)

Allows a blocked server to receive requests.

Syntax:

RqRtResume (service name, entry number, supervisor password)

Parameters:

Server/service name – Alpha. The name of the server or the service. If it is a service, the server specified for that service will be blocked.

Entry number – Numeric. Indicates the internal number of the Runtime engine, within the list returned by the RqRts function.
If the value is 0 then all Runtime engines will be resumed (the RqRts function is not required).
If the value is -1 then the current engine will be resumed (the RqRts function is not required).

Supervisor password – Alpha. The password specified in the Broker initialization file.

Returns:

Logical – True when the enterprise server has been resumed, or is already in the required state. False when the enterprise server has not been resumed.
An invalid service name or runtime engine number will cause the function to fail and return False. If the password is not the supervisor password, then the function will also fail.

Example:

RqRtResume ('Default Broker', BA, 'Secret') – The virtual numeric variable BA temporarily stores the runtime engine number. This number is returned from the execution of the RqRts function.

Exceptions:

This function is not supported for the Space middleware.

This function is supported only while using the Broker as a middleware.

See also:

RqRtBlock

Activate as Enterprise Server

The Online and Rich Client Samples projects (program ES10 and RES10)

Reference
Attachment 
Attachment