| ACE 8.0.0
    | 
Abstract base class for UNIX FIFOs. More...
#include <FIFO.h>


| Public Member Functions | |
| int | open (const ACE_TCHAR *rendezvous, int flags, mode_t perms, LPSECURITY_ATTRIBUTES sa=0) | 
| int | close () | 
| Close down the ACE_FIFO without removing the rendezvous point. | |
| int | remove () | 
| int | get_local_addr (const ACE_TCHAR *&rendezvous) const | 
| Return the local address of this endpoint. | |
| void | dump () const | 
| Dump the state of an object. | |
|  Public Member Functions inherited from ACE_IPC_SAP | |
| int | control (int cmd, void *) const | 
| Interface for <ioctl>. | |
| int | enable (int value) const | 
| int | disable (int value) const | 
| ACE_HANDLE | get_handle () const | 
| Get the underlying handle. | |
| void | set_handle (ACE_HANDLE handle) | 
| Set the underlying handle. | |
| void | dump () const | 
| Dump the state of an object. | |
| Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
|  Public Attributes inherited from ACE_IPC_SAP | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
| Protected Member Functions | |
| ACE_FIFO () | |
| Default constructor. | |
| ACE_FIFO (const ACE_TCHAR *rendezvous, int flags, mode_t perms, LPSECURITY_ATTRIBUTES sa=0) | |
|  Protected Member Functions inherited from ACE_IPC_SAP | |
| ACE_IPC_SAP () | |
| Default constructor. | |
| ~ACE_IPC_SAP () | |
| Protected destructor. | |
| Private Attributes | |
| ACE_TCHAR | rendezvous_ [MAXPATHLEN+1] | 
| Rendezvous point in the file system. | |
Abstract base class for UNIX FIFOs.
UNIX FIFOs are also known Named Pipes, which are totally unrelated to Windows Named Pipes. If you want to use a local IPC mechanism that will be portable to both UNIX and Windows, take a look at the ACE_Pipe or ACE_SPIPE_Stream classes.
| 
 | protected | 
Default constructor.
Protected constructors ensure this class cannot be used directly. User code must use ACE_FIFO_Send and/or ACE_FIFO_Recv.
| 
 | protected | 
Open up the named pipe on the rendezvous in accordance with the flags.
| void ACE_FIFO::dump | ( | ) | const | 
Dump the state of an object.
Return the local address of this endpoint.
| int ACE_FIFO::open | ( | const ACE_TCHAR * | rendezvous, | 
| int | flags, | ||
| mode_t | perms, | ||
| LPSECURITY_ATTRIBUTES | sa = 0 ) | 
Open up the named pipe (FIFO) on the rendezvous point in accordance with the flags.
If flags contains O_CREAT open() will attempt to call mkfifo() to create the FIFO before opening it. In this case, this method will not fail simply because the fifo already exists.
| 0 | for success | 
| -1 | for error; errno contains the error code. | 
| 
 | inline | 
Close down the ACE_FIFO and remove the rendezvous point from the file system.
| ACE_FIFO::ACE_ALLOC_HOOK_DECLARE | 
Declare the dynamic allocation hooks.
| 
 | private | 
Rendezvous point in the file system.