#include <FIFO_Send.h>
Inheritance diagram for ACE_FIFO_Send:


Public Methods | |
| ACE_FIFO_Send (void) | |
| Default constructor. More... | |
| ACE_FIFO_Send (const ACE_TCHAR *rendezvous, int flags=O_WRONLY, int 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, int perms=ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa=0) |
| Open up a bytestream named pipe for writing. More... | |
| 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... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Definition at line 32 of file FIFO_Send.h.
|
|
Default constructor.
Definition at line 23 of file FIFO_Send.cpp.
00024 {
00025 // ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
00026 }
|
|
||||||||||||||||||||
|
Open up a bytestream named pipe for writing.
Definition at line 41 of file FIFO_Send.cpp. References ACE_ERROR, ACE_LIB_TEXT, ACE_TCHAR, ACE_TRACE, LM_ERROR, and open.
00045 {
00046 ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
00047 if (this->ACE_FIFO_Send::open (fifo_name,
00048 flags,
00049 perms,
00050 sa) == -1)
00051 ACE_ERROR ((LM_ERROR,
00052 ACE_LIB_TEXT ("%p\n"),
00053 ACE_LIB_TEXT ("ACE_FIFO_Send::ACE_FIFO_Send")));
00054 }
|
|
|
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. References ACE_TRACE, and ACE_FIFO::dump. Referenced by ACE_FIFO_Send_Msg::dump.
00018 {
00019 ACE_TRACE ("ACE_FIFO_Send::dump");
00020 ACE_FIFO::dump ();
00021 }
|
|
||||||||||||||||||||
|
Open up a bytestream named pipe for writing.
Reimplemented from ACE_FIFO. Reimplemented in ACE_FIFO_Send_Msg. Definition at line 29 of file FIFO_Send.cpp. References ACE_TCHAR, ACE_TRACE, and ACE_FIFO::open. Referenced by ACE_FIFO_Send, and ACE_FIFO_Send_Msg::open.
00033 {
00034 ACE_TRACE ("ACE_FIFO_Send::open");
00035 return ACE_FIFO::open (rendezvous_name,
00036 flags | O_WRONLY,
00037 perms,
00038 sa);
00039 }
|
|
||||||||||||
|
Send <buf> of up to <len> bytes.
Reimplemented in ACE_FIFO_Send_Msg. Definition at line 7 of file FIFO_Send.i. References ACE_TRACE, and ACE_OS::write.
00008 {
00009 ACE_TRACE ("ACE_FIFO_Send::send");
00010 return ACE_OS::write (this->get_handle (), (const char *) buf, len);
00011 }
|
|
||||||||||||
|
Send <buf> of exactly <len> bytes (block until done).
Definition at line 14 of file FIFO_Send.i. References ACE_TRACE, and ACE::send_n.
00015 {
00016 ACE_TRACE ("ACE_FIFO_Send::send_n");
00017 return ACE::send_n (this->get_handle (), buf, n);
00018 }
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_FIFO. Reimplemented in ACE_FIFO_Send_Msg. Definition at line 61 of file FIFO_Send.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002