Bull DPX/20 Guida Utente Pagina 273

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 272
2-105
DSOM Framework Reference
is_proxy Method
Purpose
Tests to see if the object reference is a proxy.
IDL Syntax
boolean is_proxy( );
Description
The is_proxy method tests to see if the specified object reference is a proxy object.
Parameters
receiver A pointer to a SOMDObject object.
env A pointer to the Environment structure for the method caller.
Return Value
The is_proxy method returns TRUE if the object reference is a proxy object. Otherwise,
is_proxy returns FALSE.
Example
#include <somd.h>
SOMDObject objref;
Environment ev;
Context ctx;
NVlist arglist;
NamedValue result;
Request reqObj;
...
if (_is_proxy(objref, &ev)) {
/* create a remote request for target object */
...
rc = _create_request(obj, &ev, ctx,
”testMethod”, arglist, &result, &reqObj,
(Flags)0);
}
...
Original Class
SOMDObject
Related Information
Methods: is_nil, is_constant, is_SOM_ref, string_to_object
Vedere la pagina 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 423 424

Commenti su questo manuale

Nessun commento