Results 1 to 5 of 5

Thread: getting objects collection ( remoting )

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227

    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?

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    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

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    no one with any answers?!



    how can we get a reference to all the object in the currunt application domain?

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    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
  •  



Click Here to Expand Forum to Full Width