home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextLibrary / Frameworks / NEXTIME.framework / Versions / A / Headers / NTClient.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-05  |  797 b   |  37 lines

  1. /*
  2.  *  NTClient.m
  3.  *     Copyright 1992, NeXT Computer, Inc.
  4.  *    
  5.  *
  6.  *    A simple class to establish a connection with the NEXTIME server,
  7.  *    and vend a proxy to the Component Manager.
  8.  *
  9.  *    17 Sept 1992 mpaque Created.
  10.  */
  11. #import <Foundation/NSObject.h>
  12. #import <Foundation/NSDictionary.h>
  13. #import "NTErrorMonitor.h"
  14.  
  15. /*
  16.  * Notification posted on NTServer death.
  17.  */
  18. extern NSString * NTServerDidDieNotification;
  19.  
  20. @interface NTClient:NSObject <NTErrorMonitor>
  21. {
  22. @private
  23.     id            serverContext;    // Server thread proxy
  24.     id            componentManager; // NTComponentManager proxy
  25.     NSDictionary *        lastError;
  26.     void *            _private;
  27. }
  28.  
  29. + sharedClient;    // Returns task-wide shared instance - preferred initializer
  30. + new;        // Returns new instance
  31. - init;
  32. - (id)componentManager;
  33. - (void)dealloc;
  34. - (id)connection;
  35. @end
  36.  
  37.