|
-
Dec 9th, 2003, 12:29 PM
#1
Thread Starter
Addicted Member
getting objects collection ( remoting )
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?
-
Dec 9th, 2003, 12:36 PM
#2
Thread Starter
Addicted Member
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
-
Dec 10th, 2003, 11:39 AM
#3
Thread Starter
Addicted Member
no one with any answers?!
how can we get a reference to all the object in the currunt application domain?
-
Dec 10th, 2003, 12:15 PM
#4
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.
-
Dec 10th, 2003, 12:22 PM
#5
Thread Starter
Addicted Member
thanks, i'm writing it with event handlers, its working fine
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|