File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / DistributedEO / DEOServer.tproj / DEOProtocols.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

/*
   DEOProtocols.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.
*/
// Communication protocols between the DEONotificationCenter and the
// DEOServer.

#import <foundation/NSString.h>
#import <foundation/NSDictionary.h>

#define wantLog YES

#define DEOServerName "DEOServer"

@protocol DEOClient
- (oneway)dispatchInformation:(NSDictionary *)info
                       forKey:(NSString *)key
                     userInfo:(NSDictionary *)userInfo;
@end

@protocol DEOServer <DEOClient>
- (oneway)registerClient:(id <DEOClient>)client forKey:(NSString *)key;
- (oneway)unregisterClient:(id <DEOClient>)client forKey:(NSString *)key;
- (oneway)unregisterClient:(id <DEOClient>)client;
@end

unix.superglobalmegacorp.com

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