Hi,
I have remote object derived from MarshalByRefObject. In the client I want to create local mirror object (not proxy) of the remote object, in order to speed up my application, i.e. to read values from the mirror object, not from the remote one.
I do this with this call:
thisEvent = (
XmlSupport
bufferEvent =
Up to now, everything is OK. I access the bufferEvent object to read values, it is local object (not proxy to remote one). I close the client application, keep the server running, and I open the client application again. But when I connect to the remote object again, now the buffer object (i.e. the mirror object) is no more local, but instead it is proxy to the remote object and my operations are very slow (:
bufferEvent = new Event(thisEvent); - now this call creates proxy to the remote object, instead of loca object :(
The server is configured with WellKnownObjectMode.Singleton to hold the state of the object.
Any help?
Peter