Bull DPX/20 Podręcznik Użytkownika Strona 273

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag