• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Multiple windows and DO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple windows and DO


  • Subject: Multiple windows and DO
  • From: kubernan <email@hidden>
  • Date: Sun, 16 Sep 2001 14:05:32 +0200

Hello,

My application can have, at once, several instances of the same window
opened.
Each of these windows establish DO com. with a server.
What i want to do :
Before ending of each request, i'd like to update windows from computed
values
by the server in periodical time :


I-- send values before end of the request-+
v ^
Window 1 -------- Request --------I I
+-----> Server
Window 2 -------- Request --------I I
^ v
I--send values before end of the request-+


For doing that i imagine two ways :

1- Each window can be a DO server. Each window can register an unique DO
(DO1 for window1, DO2 for window2, DO3 for window3 and so on).
Then, the server can send values using these connections.

2- Instead of using window as server, i can use my app. as a server.
All data send to the client app can be redirected to the appropriate
window using NSNotification. But is it possible to send values using
notification ?

What do you think of that ?

Chris


  • Prev by Date: NSDocument dealloc?
  • Next by Date: How to convert an image?
  • Previous by thread: Re: NSDocument dealloc?
  • Next by thread: How to convert an image?
  • Index(es):
    • Date
    • Thread