Bull DPX/20 Betriebsanweisung Seite 273

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare