Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NamedPipe.h

Go to the documentation of this file.
00001 #ifndef _WINNT_NAMED_PIPE_H_
00002 #define _WINNT_NAMED_PIPE_H_
00003 
00004 #include "OSDependent/OSDependent.h"
00005 
00006 /*
00007  * WinNT implementation of a named pipe.
00008  */
00009 class ClassExport NamedPipe {
00010 private:
00011    HANDLE _pipe;
00012    short _is_server;
00013 
00014 public:
00015    NamedPipe();
00016    ~NamedPipe();
00017 
00018    int create(const char *name, int mode);
00019    int connect(const char *name, int mode, long timeout = -1);
00020    long read(char *buffer, long size);
00021    long write(char *buffer, long size);
00022    void flush();
00023 };
00024 
00025 #endif  // _WINNT_NAMED_PIPE_H_

Generated on Mon Oct 7 09:33:29 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001