home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / NextLibrary / Frameworks / Foundation.framework / Versions / B / Headers / NSPortMessage.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-25  |  813 b   |  35 lines

  1. /*      NSPortMessage.h
  2.     A slightly abstract Foundation IPC communication unit
  3.     Copyright 1994-1996, NeXT Software, Inc.  All rights reserved.
  4. */
  5.  
  6. #if !defined(STRICT_OPENSTEP)
  7.  
  8. #import <Foundation/NSObject.h>
  9.  
  10. @class NSPort, NSDate, NSArray, NSMutableArray;
  11.  
  12. @interface NSPortMessage : NSObject {
  13.     @private
  14.     NSPort         *localPort;
  15.     NSPort         *remotePort;
  16.     NSMutableArray     *components;
  17.     unsigned        msgid;
  18.     unsigned        refCount;
  19.     void        *reserved;
  20. }
  21.  
  22. - (id)initWithSendPort:(NSPort *)sendPort receivePort:(NSPort *)replyPort components:(NSArray *)components;
  23.  
  24. - (NSArray *)components;
  25. - (NSPort *)receivePort;
  26. - (NSPort *)sendPort;
  27. - (BOOL)sendBeforeDate:(NSDate *)date;
  28.  
  29. - (id)initWithMachMessage:(void *)buf;
  30. - (unsigned)msgid;
  31. - (void)setMsgid:(unsigned)msgid;
  32. @end
  33.  
  34. #endif /* !STRICT_OPENSTEP */
  35.