File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / DistributedEO / DEOClient.subproj / DEOServerMonitor.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:44 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/*
   DEOServerMonitor.h created by enoyau on Fri 13-Jan-1995

   You may freely copy, distribute, and reuse the code in this example.
   NeXT disclaims any warranty of any kind, expressed or implied, as to its
   fitness for any particular use.
*/
// DEOServerMonitor is responsible for watching the communication between the
// server and all DEONotificationCenters in the client. In our example, there
// is only one DEONotificationCenter. If the connection between client and
// server becomes invalid, it broadcasts a NSNotification to inform the death
// of the server.

#import "DEOProtocols.h"
#import <machkit/senderIsInvalid.h>
#import <foundation/NSString.h>

extern NSString *DEOServerReinitialize;

@interface DEOServerMonitor : NSObject <NXSenderIsInvalid>
{
    id <DEOServer> server;
}

+ (DEOServerMonitor *)serverMonitor;
- (id <DEOServer>)server;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.