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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 256
2-89
DSOM Framework Reference
somdProxyGetClassName Method
Purpose
Returns the class name for the local proxy object.
IDL Syntax
string somdProxyGetClassName ( );
Description
The somdProxyGetClassName method executes the somGetClassName method call on
the local proxy object and returns the proxy’s class name. This method has been provided
when the application program wants to be explicit about getting the class name of the proxy
object vs. the target object.
Parameters
receiver A pointer to the SOMDClientProxy object for the desired remote target
object.
env A pointer to the Environment structure for the method caller.
Return Value
The somdProxyGetClassName method returns a string containing the class name of the
local proxy object.
Example
#include <somd.h>
#include <car.h>
Environment ev;
Car car;
string carProxyClassName;
string somdObjectId;
...
/* restore proxy from its string form */
FileRead(”/u/joe/mycar”, &somdObjectId);
car = _somdGetObjectFromId(SOMD_ObjectMgr, &ev, somdObjectId);
...
carProxyClassName = _somdProxyGetClassName(car, &ev);
Original Class
SOMDClientProxy
Przeglądanie stron 256
1 2 ... 252 253 254 255 256 257 258 259 260 261 262 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag