[Enterprise Extensions only]

BOA::execute_request_loop

Overview Repeatedly executes remote requests in a server application.
Original class CORBA module: BOA Class
Exceptions CORBA::SystemException


Intended Usage

This method is intended to be used by a server application to repeatedly execute remote requests as they are received from remote clients, and sends the responses to the waiting clients. Both blocking and non-blocking calls are supported. Requests are executed in first-in-first-out order only, by calling CORBA::BOA::execute_next_request. This method should be called only after CORBA::BOA::impl_is_ready has been called successfully.

This method is an IBM extension to the CORBA specification.

IDL Syntax

  virtual CORBA::Status execute_request_loop (CORBA::Flags waitFlag);

Input parameters

waitFlag
Whether the application wants to wait (block), when there are no more requests available to process. Valid values are CORBA::BOA::SOMD_WAIT and CORBA::BOA::SOMD_NO_WAIT.

Return values

CORBA::Status
If the input parameter is CORBA::BOA::SOMD_NO_WAIT, SOMDERROR_NoMessages is returned when there are no more available requests to service. Otherwise, this method never returns to the caller.

Example

See example in CORBA::ORB::BOA_init.