Originally posted by walid aly:
i am sorry but can u plz clarify more
i have in my design one class that extend unicast and implement the data interface that inturn extend remote interface.
i juyst run this class and bind it , and to this instance the clients connect
where should i add the factort with the factory method
and when will it be invoked
i really need ur help
thanks
You cannot get a reference to RemoteDataObject without passing it in, which would require you to change the signature. But this modified signature goes against requirements and would cause trouble in local mode. You could also overload the lock() method. However I would suggest you do neither. I would contend that the Data class is the wrong place to implement locking.Originally posted by walid aly:
I have implemented already the ConnectionManager and created a unique RemoteDataObject for each connection ,but how can i get a refrence of this unique RemoteDataObject ,
in the lock method of class Data , i tried "this" but it returned a refrence to the same Data object. plz advice.
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd