Sender side for the bytestream C++ wrapper for UNIX FIFOs. More...
#include <FIFO_Send.h>


Public Member Functions | |
| 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. | |
| 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. | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
Sender side for the bytestream C++ wrapper for UNIX FIFOs.
Definition at line 35 of file FIFO_Send.h.
| ACE_FIFO_Send::ACE_FIFO_Send | ( | void | ) |
Default constructor.
Definition at line 25 of file FIFO_Send.cpp.
{
// ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
}
| 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.
Definition at line 43 of file FIFO_Send.cpp.
| void ACE_FIFO_Send::dump | ( | void | ) | const |
Dump the state of an object.
Reimplemented from ACE_FIFO.
Reimplemented in ACE_FIFO_Send_Msg.
Definition at line 17 of file FIFO_Send.cpp.
{
#if defined (ACE_HAS_DUMP)
ACE_TRACE ("ACE_FIFO_Send::dump");
ACE_FIFO::dump ();
#endif /* ACE_HAS_DUMP */
}
| 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.
Definition at line 31 of file FIFO_Send.cpp.
{
ACE_TRACE ("ACE_FIFO_Send::open");
return ACE_FIFO::open (rendezvous_name,
flags | O_WRONLY,
perms,
sa);
}
| 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.
Definition at line 11 of file FIFO_Send.inl.
{
ACE_TRACE ("ACE_FIFO_Send::send");
return ACE_OS::write (this->get_handle (), (const char *) buf, len);
}
| ssize_t ACE_FIFO_Send::send_n | ( | const void * | buf, | |
| size_t | len | |||
| ) | [inline] |
Send buf of exactly len bytes (block until done).
Definition at line 18 of file FIFO_Send.inl.
{
ACE_TRACE ("ACE_FIFO_Send::send_n");
return ACE::send_n (this->get_handle (), buf, n);
}
Declare the dynamic allocation hooks.
Reimplemented from ACE_FIFO.
Reimplemented in ACE_FIFO_Send_Msg.
Definition at line 64 of file FIFO_Send.h.
1.7.0