ACE  6.1.0
Public Member Functions | Public Attributes
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]

List of all members.

Public Member Functions

ssize_t send (const void *buf, size_t len)
 Send buf of up to len bytes.
ssize_t send_n (const void *buf, size_t len)
 Send buf of exactly len bytes (block until done).
void dump (void) const
 Dump the state of an object.
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.
 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.
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.

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.

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.

Reimplemented from ACE_FIFO.

Reimplemented in ACE_FIFO_Send_Msg.

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.

Reimplemented from ACE_FIFO.

Reimplemented in ACE_FIFO_Send_Msg.

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

Send buf of up to len bytes.

Reimplemented in ACE_FIFO_Send_Msg.

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

Declare the dynamic allocation hooks.

Reimplemented from ACE_FIFO.

Reimplemented in ACE_FIFO_Send_Msg.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines