Skip navigation.

CORBA Programming Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


CORBA::Request::send_oneway

Synopsis

Initiates a one-way request.

C++ Binding

void CORBA::Request::send_oneway ();

Arguments

None.

Description

This member function initiates a one-way request; it does not expect a response.

Return Values

None.

See Also

CORBA::ORB::send_multiple_requests
CORBA::Request::send_deferred

 


Strings

The mapping of these functions to C++ is as follows:

// C++
namespace CORBA {
static char * string_alloc(ULong len);
static char * string_dup (const char *);
static void string_free(char *);
...

Note: A static array of char in C++ decays to a char*. Therefore, care must be taken when assigning a static array to a String_var, because the String_var assumes that the pointer points to data allocated via string_alloc, and thus eventually attempts to free it using string_free.

This behavior has changed in ANSI/ISO C++, where string literals are const char*, not char*. However, since most C++ compilers do not yet implement this change, portable programs must heed the advice given here.

The following sections describe the functions that manage memory allocated to strings.

 

Skip navigation bar  Back to Top Previous Next