Multiple windows and DO
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