Sun Java System Portal Server 7 Developer's Guide

Returning a Response Status Code

When your robot application function has finished processing, it must return a code that tells the server how to proceed with the request.

These codes are defined in the header file PortalServer-base/sdk/robot/include/robotoapi.h. The following list describes the response status codes after the robot has completed processing and a description of the corresponding status code:

REQ_PROCEED

The function performed its task, so proceed with the request.

REQ_ABORTED

The entire request should be aborted because an error occurred.

REQ_NOACTION

The function performed no task, but proceed anyway.

REQ_EXIT

End the session and exit.

REQ_RESTART

Restart the entire request-response process.