Home Home

InvalidateObject

Then an object has been supplied to RemoteMethod, InvalidateObject is used to inform the underlining transport layer not to return an more data to this object. For concurrency reasons, TryLockObject should be called on this object to prevent the callback from being call during destruction of the object.

unsigned int InvalidateObject(
   void* objectID
);

Parameters

objectID This object reference value.

Return Values

Remarks

Example Use


while(server.TryLockObject(myObject) == 1) Sleep(0);
server.InvalidateObject(myObject);

Also See

RemoteMethod, TryLockObject

Copyright © 2007, Ekky Software Pty Ltd.