Bull DPX/20 Guida Utente Pagina 252

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 251
2-84
SOMobjects Base Toolkit: Programmers Reference Manual
Example
#include <somd.h>
#include <repostry.h>
#include <intfacdf.h>
#include <foo.h> /* provided by user */
/* assume following method declaration in interface Foo:
* long methodLong (in long inLong,inout long inoutLong);
* then the following code sends
* a request to execute the call:
* result = methodLong(fooObj, &ev, 100,200);
* using the DII.
*/
Environment ev;
NVList arglist;
long rc;
Foo fooObj;
Request reqObj;
NamedValue result;
/* see the Example code for invoke to see how the request
* is built
*/
/* Create the Request, reqObj */
rc = _create_request(fooObj, &ev, (Context *)NULL, ”methodLong”,
arglist, &result, &reqObj, (Flags)0);
/* Finally, send the request */
rc = _send(reqObj, &ev, (Flags)0);
Original Class
Request
Related Information
Methods: invoke, get_response
Macros: Request_delete
Vedere la pagina 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 423 424

Commenti su questo manuale

Nessun commento