2-92
SOMobjects Base Toolkit: Programmer’s Reference Manual
somdTargetFree Method
Purpose
Forwards the somFree method call to the remote target object.
IDL Syntax
void somdTargetFree ( );
Description
The somdTargetFree method forwards the somFree method call to the remote target
object. This method has been provided when the application program wants to be explicit
about freeing the remote target object vs. the proxy 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
somdTargetFree 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);
...
_somdTargetFree(car, &ev);
Original Class
SOMDClientProxy
Related Information
Methods: release, somdDestroyObject
Comentários a estes Manuais