NAME
ACE_FIFO_Recv -
Receiver side of the bytestream C++ wrapper for UNIX
FIFOs.
SYNOPSIS
#include <ace/FIFO_Recv.h>
class ACE_FIFO_Recv : public ACE_FIFO
{
public:
ACE_FIFO_Recv (void);
ACE_FIFO_Recv (
const char *rendezvous,
int flags = O_CREAT | O_RDONLY,
int perms = ACE_DEFAULT_PERMS,
int persistent = 1
);
int open (
const char *rendezvous,
int flags = O_CREAT | O_RDONLY,
int perms = ACE_DEFAULT_PERMS,
int persistent = 1
);
int close (void);
ssize_t recv (void *buf, size_t len);
ssize_t recv_n (void *buf, size_t len);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
private:
ACE_HANDLE aux_handle_;
};
Initialization methods.
ACE_FIFO_Recv (void);
ACE_FIFO_Recv (
const char *rendezvous,
int flags = O_CREAT | O_RDONLY,
int perms = ACE_DEFAULT_PERMS,
int persistent = 1
);
Open up a bytestream named pipe for reading.
int open (
const char *rendezvous,
int flags = O_CREAT | O_RDONLY,
int perms = ACE_DEFAULT_PERMS,
int persistent = 1
);
Open up a bytestream named pipe for reading.
int close (void);
Close down the named pipe.
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.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
AUTHOR
Doug Schmidt
LIBRARY
ace