i use COA to activate an object using remoting. multiple clients create multiple istnances on the server. what i want to do is know how many clients are activated at a time, how can i figure that out?
Printable View
i use COA to activate an object using remoting. multiple clients create multiple istnances on the server. what i want to do is know how many clients are activated at a time, how can i figure that out?
its something simiular to a chat room, after every object is created , i use the name property of the object and add it the online clients list, and when object finalizes i want to be notified and remove it,any ideas?!
i guess i can add event handlers in the consructor and finalizer , but is there any other ways ,since there are other properties that change in the life of the object , so i will be needing to retrieve the objecte on every once an a while ( using a timer )
thanks
no one with any answers?! :confused:
how can we get a reference to all the object in the currunt application domain?
The event handler is probably the best solution. If you want a collection of objects then you should be storing them as they are created. I don't think I understand the question.
thanks, i'm writing it with event handlers, its working fine