ORB::send_multiple_requests_oneway

Overview Issues multiple oneway requests in parallel.
Original class CORBA::ORB
Exceptions CORBA::SystemException


Intended Usage

The CORBA::ORB::send_multiple_requests_oneway method is intended to be used by client applications that are using the Dynamic Invocation Interface (DII), to issue multiple oneway requests in parallel. For each CORBA::Request in the input sequence, CORBA:: Request::send_oneway is invoked.

Syntax

  CORBA::Status send_multiple_requests_oneway (
    const CORBA::RequestSeq& req_seq);

Input parameters

req_seq
A sequence of CORBA::Request_ptr objects to be invoked. An empty sequence is valid. However, each CORBA::Request_ptr object in the sequence must be non-NULL. The caller retains ownership of this sequence and of the CORBA::Request objects it contains.

Return values

CORBA::Status
A zero return value indicates that all Requests were issued.

Example

  #include "corba.h"
  ...
  /* assume op initialized */
  extern CORBA::ORB_ptr op;
  CORBA::ORB::RequestSeq reqSeq = CORBA::ORB::RequestSeq(1024);
  ... /* prepare each request in reqSeq */
  /* issue multiple oneway requests */
  CORBA::Status rc = op->send_multiple_requests_oneway(reqSeq);
  ...

Related reference
CORBA module



Searchable topic ID:   rcor_modo32
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_modo32.html

Library | Support | Terms of Use | Feedback