|
|
1.1 root 1: /*
2: DEOServerMonitor.h created by enoyau on Fri 13-Jan-1995
3:
4: You may freely copy, distribute, and reuse the code in this example.
5: NeXT disclaims any warranty of any kind, expressed or implied, as to its
6: fitness for any particular use.
7: */
8: // DEOServerMonitor is responsible for watching the communication between the
9: // server and all DEONotificationCenters in the client. In our example, there
10: // is only one DEONotificationCenter. If the connection between client and
11: // server becomes invalid, it broadcasts a NSNotification to inform the death
12: // of the server.
13:
14: #import "DEOProtocols.h"
15: #import <machkit/senderIsInvalid.h>
16: #import <foundation/NSString.h>
17:
18: extern NSString *DEOServerReinitialize;
19:
20: @interface DEOServerMonitor : NSObject <NXSenderIsInvalid>
21: {
22: id <DEOServer> server;
23: }
24:
25: + (DEOServerMonitor *)serverMonitor;
26: - (id <DEOServer>)server;
27: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.