2-87
DSOM Framework Reference
somdProxyFree Method
Purpose
Executes somFree on the local proxy object.
IDL Syntax
void somdProxyFree ( );
Description
The somdProxyFree method executes the somFree method call on the local proxy object.
This method has been provided when the application program wants to be explicit about
freeing the proxy object vs. the target object.
Parameters
receiver A pointer to the SOMDClientProxy object.
env A pointer to the Environment structure for the method caller.
Return Value
somdProxyFree has no return value.
Example
#include <somd.h>
#include <car.h>
Environment ev;
Car car;
string somdObjectId;
...
/* restore proxy from its string form */
FileRead(”/u/joe/mycar”, &somdObjectId);
car = _somdGetObjectFromId(SOMD_ObjectMgr, &ev, somdObjectId);
...
_somdProxyFree(car, &ev);
Original Class
SOMDClientProxy
Related Information
Methods: release, somdReleaseObject
Comentários a estes Manuais