ACE  6.4.0
Public Member Functions | Public Attributes | List of all members
ACE_FIFO_Send_Msg Class Reference

Sender side for the Record oriented C++ wrapper for UNIX FIFOs. More...

#include <FIFO_Send_Msg.h>

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

Public Member Functions

 ACE_FIFO_Send_Msg (void)
 Default constructor. More...
 
 ACE_FIFO_Send_Msg (const ACE_TCHAR *rendezvous, int flags=O_WRONLY, mode_t perms=ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa=0)
 Open up a record-oriented 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 record-oriented named pipe for writing. More...
 
ssize_t send (const ACE_Str_Buf &msg)
 Send buf of up to len bytes. More...
 
ssize_t send (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...
 
- Public Member Functions inherited from ACE_FIFO_Send
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...
 
 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_Send
 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 Record oriented C++ wrapper for UNIX FIFOs.

Constructor & Destructor Documentation

ACE_FIFO_Send_Msg::ACE_FIFO_Send_Msg ( void  )

Default constructor.

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

Open up a record-oriented named pipe for writing.

Member Function Documentation

void ACE_FIFO_Send_Msg::dump ( void  ) const

Dump the state of an object.

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

Open up a record-oriented named pipe for writing.

ssize_t ACE_FIFO_Send_Msg::send ( const ACE_Str_Buf msg)

Send buf of up to len bytes.

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

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

Member Data Documentation

ACE_FIFO_Send_Msg::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.


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