oneway Invocations

If you are invoking a oneway operation, you must make the invocation by calling send_oneway() in place of invoke(). It has the following syntax in C++ and Java:

//C++
void CORBA::Request::send_oneway();
//Java
void org.omg.CORBA.Request.send_oneway();

The semantics of send_oneway() depend on the particular version of GIOP used over the connection.

  • GIOP 1.0 or 1.1 A call to send_oneway() sends a request message to the server that has the response_expected flag set to false. No reply is sent back from the server, and send_oneway() returns immediately.

  • GIOP 1.2 In this case, a call to send_oneway() provides only a hint to the ORB that a reply is not needed. The ORB might ignore this hint and ask for a reply anyway. This would ...

Get Pure CORBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.