ACE  6.3.3
Public Member Functions | Public Attributes | List of all members
ACE_FIFO_Send Class Reference

Sender side for the bytestream C++ wrapper for UNIX FIFOs. More...

#include <FIFO_Send.h>

Inheritance diagram for ACE_FIFO_Send:
Inheritance graph
[legend]
Collaboration diagram for ACE_FIFO_Send:
Collaboration graph
[legend]

Public Member Functions

ssize_t send (const void *buf, size_t len)
 Send buf of up to len bytes. More...
 
ssize_t send_n (const void *buf, size_t len)
 Send buf of exactly len bytes (block until done). More...
 
void dump (void) const
 Dump the state of an object. More...
 
Initialization methods.

Note that O_WRONLY will be added to any flags value passed. Default behavior is to block until a receiver also opens the fifo. To use non-blocking behavior include ACE_NONBLOCK in flags.

 ACE_FIFO_Send (void)
 Default constructor. More...
 
 ACE_FIFO_Send (const ACE_TCHAR *rendezvous, int flags=O_WRONLY, mode_t perms=ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa=0)
 Open up a bytestream named pipe for writing. More...
 
int open (const ACE_TCHAR *rendezvous, int flags=O_WRONLY, mode_t perms=ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa=0)
 Open up a bytestream named pipe for writing. More...
 
- Public Member Functions inherited from ACE_FIFO
int open (const ACE_TCHAR *rendezvous, int flags, mode_t perms, LPSECURITY_ATTRIBUTES sa=0)
 
int close (void)
 Close down the ACE_FIFO without removing the rendezvous point. More...
 
int remove (void)
 
int get_local_addr (const ACE_TCHAR *&rendezvous) const
 Return the local address of this endpoint. More...
 
void dump (void) const
 Dump the state of an object. More...
 
- Public Member Functions inherited from ACE_IPC_SAP
int control (int cmd, void *) const
 Interface for <ioctl>. More...
 
int enable (int value) const
 
int disable (int value) const
 
ACE_HANDLE get_handle (void) const
 Get the underlying handle. More...
 
void set_handle (ACE_HANDLE handle)
 Set the underlying handle. More...
 
void dump (void) const
 Dump the state of an object. More...
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 
- Public Attributes inherited from ACE_FIFO
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 
- Public Attributes inherited from ACE_IPC_SAP
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ACE_FIFO
 ACE_FIFO (void)
 Default constructor. More...
 
 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 (void)
 Default constructor. More...
 
 ~ACE_IPC_SAP (void)
 Protected destructor. More...
 

Detailed Description

Sender side for the bytestream C++ wrapper for UNIX FIFOs.

Constructor & Destructor Documentation

ACE_FIFO_Send::ACE_FIFO_Send ( void  )

Default constructor.

ACE_FIFO_Send::ACE_FIFO_Send ( const ACE_TCHAR rendezvous,
int  flags = O_WRONLY,
mode_t  perms = ACE_DEFAULT_FILE_PERMS,
LPSECURITY_ATTRIBUTES  sa = 0 
)

Open up a bytestream named pipe for writing.

Member Function Documentation

void ACE_FIFO_Send::dump ( void  ) const

Dump the state of an object.

int ACE_FIFO_Send::open ( const ACE_TCHAR rendezvous,
int  flags = O_WRONLY,
mode_t  perms = ACE_DEFAULT_FILE_PERMS,
LPSECURITY_ATTRIBUTES  sa = 0 
)

Open up a bytestream named pipe for writing.

ssize_t ACE_FIFO_Send::send ( const void *  buf,
size_t  len 
)
inline

Send buf of up to len bytes.

ssize_t ACE_FIFO_Send::send_n ( const void *  buf,
size_t  len 
)
inline

Send buf of exactly len bytes (block until done).

Member Data Documentation

ACE_FIFO_Send::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.


The documentation for this class was generated from the following files: