ACE
6.1.6
|
Receiver side of the bytestream C++ wrapper for UNIX FIFOs. More...
#include <FIFO_Recv.h>
Public Member Functions | |
int | close (void) |
Close down the fifo. | |
ssize_t | recv (void *buf, size_t len) |
Recv buf of up to len bytes. | |
ssize_t | recv_n (void *buf, size_t len) |
Recv buf of exactly len bytes (block until done). | |
void | dump (void) const |
Dump the state of an object. | |
Initialization methods. | |
Note that
| |
ACE_FIFO_Recv (void) | |
Default constructor. | |
ACE_FIFO_Recv (const ACE_TCHAR *rendezvous, int flags=O_CREAT|O_RDONLY, mode_t perms=ACE_DEFAULT_FILE_PERMS, int persistent=1, LPSECURITY_ATTRIBUTES sa=0) | |
Open up a bytestream named pipe for reading. | |
int | open (const ACE_TCHAR *rendezvous, int flags=O_CREAT|O_RDONLY, mode_t perms=ACE_DEFAULT_FILE_PERMS, int persistent=1, LPSECURITY_ATTRIBUTES sa=0) |
Open up a bytestream named pipe for reading. | |
![]() | |
int | open (const ACE_TCHAR *rendezvous, int flags, mode_t perms, LPSECURITY_ATTRIBUTES sa=0) |
int | remove (void) |
int | get_local_addr (const ACE_TCHAR *&rendezvous) const |
Return the local address of this endpoint. | |
![]() | |
int | control (int cmd, void *) const |
Interface for <ioctl>. | |
int | enable (int value) const |
int | disable (int value) const |
ACE_HANDLE | get_handle (void) const |
Get the underlying handle. | |
void | set_handle (ACE_HANDLE handle) |
Set the underlying handle. |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
![]() | |
![]() |
Private Attributes | |
ACE_HANDLE | aux_handle_ |
Auxiliary handle that is used to implement persistent FIFOs. |
Additional Inherited Members | |
![]() | |
ACE_FIFO (void) | |
Default constructor. | |
ACE_FIFO (const ACE_TCHAR *rendezvous, int flags, mode_t perms, LPSECURITY_ATTRIBUTES sa=0) | |
![]() | |
ACE_IPC_SAP (void) | |
Default constructor. | |
~ACE_IPC_SAP (void) | |
Protected destructor. |
Receiver side of the bytestream C++ wrapper for UNIX FIFOs.
ACE_FIFO_Recv::ACE_FIFO_Recv | ( | void | ) |
Default constructor.
ACE_FIFO_Recv::ACE_FIFO_Recv | ( | const ACE_TCHAR * | rendezvous, |
int | flags = O_CREAT | O_RDONLY , |
||
mode_t | perms = ACE_DEFAULT_FILE_PERMS , |
||
int | persistent = 1 , |
||
LPSECURITY_ATTRIBUTES | sa = 0 |
||
) |
Open up a bytestream named pipe for reading.
int ACE_FIFO_Recv::close | ( | void | ) |
Close down the fifo.
Reimplemented from ACE_FIFO.
void ACE_FIFO_Recv::dump | ( | void | ) | const |
int ACE_FIFO_Recv::open | ( | const ACE_TCHAR * | rendezvous, |
int | flags = O_CREAT | O_RDONLY , |
||
mode_t | perms = ACE_DEFAULT_FILE_PERMS , |
||
int | persistent = 1 , |
||
LPSECURITY_ATTRIBUTES | sa = 0 |
||
) |
Open up a bytestream named pipe for reading.
Reimplemented in ACE_FIFO_Recv_Msg.
|
inline |
Recv buf of up to len bytes.
Reimplemented in ACE_FIFO_Recv_Msg.
|
inline |
Recv buf of exactly len bytes (block until done).
ACE_FIFO_Recv::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
Reimplemented from ACE_FIFO.
Reimplemented in ACE_FIFO_Recv_Msg.
|
private |
Auxiliary handle that is used to implement persistent FIFOs.