NSPipe Mac OS X 10.0

This class provides an interface to objects that represent Unix pipes that can be used to transfer data between applications. Pipes are one-way communication channels with a read-end and a write-end. NSFileHandle objects representing these ends of the pipes are obtained by invoking fileHandleForReading and fileHandleForWriting.


@interface NSPipe : NSObject
 // Convenience Constructors
   + (id)pipe;
 // Initializers
   - (id)init;
 // Instance Methods
   - (NSFileHandle *)fileHandleForReading;
   - (NSFileHandle *)fileHandleForWriting;

    Part II: API Quick Reference
    Chapter 13. Foundation Classes