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


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 of up to bytes. | |
| ssize_t | send_n (const void *buf, size_t len) |
| Send of exactly 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. | |
Definition at line 35 of file FIFO_Send.h.
|
|
Default constructor.
Definition at line 25 of file FIFO_Send.cpp.
00026 {
00027 // ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
00028 }
|
|
||||||||||||||||||||
|
Open up a bytestream named pipe for writing.
Definition at line 43 of file FIFO_Send.cpp. References ACE_ERROR, ACE_LIB_TEXT, ACE_TCHAR, ACE_TRACE, LM_ERROR, mode_t, and open().
00047 {
00048 ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
00049 if (this->ACE_FIFO_Send::open (fifo_name,
00050 flags,
00051 perms,
00052 sa) == -1)
00053 ACE_ERROR ((LM_ERROR,
00054 ACE_LIB_TEXT ("%p\n"),
00055 ACE_LIB_TEXT ("ACE_FIFO_Send::ACE_FIFO_Send")));
00056 }
|
|
|
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 #if defined (ACE_HAS_DUMP)
00020 ACE_TRACE ("ACE_FIFO_Send::dump");
00021 ACE_FIFO::dump ();
00022 #endif /* ACE_HAS_DUMP */
00023 }
|
|
||||||||||||||||||||
|
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. References ACE_TCHAR, ACE_TRACE, mode_t, and ACE_FIFO::open(). Referenced by ACE_FIFO_Send(), and ACE_FIFO_Send_Msg::open().
00035 {
00036 ACE_TRACE ("ACE_FIFO_Send::open");
00037 return ACE_FIFO::open (rendezvous_name,
00038 flags | O_WRONLY,
00039 perms,
00040 sa);
00041 }
|
|
||||||||||||
|
Send of up to bytes.
Reimplemented in ACE_FIFO_Send_Msg. Definition at line 11 of file FIFO_Send.inl. References ACE_TRACE, and ACE_OS::write().
00012 {
00013 ACE_TRACE ("ACE_FIFO_Send::send");
00014 return ACE_OS::write (this->get_handle (), (const char *) buf, len);
00015 }
|
|
||||||||||||
|
Send of exactly bytes (block until done).
Definition at line 18 of file FIFO_Send.inl. References ACE_TRACE, and ACE::send_n().
00019 {
00020 ACE_TRACE ("ACE_FIFO_Send::send_n");
00021 return ACE::send_n (this->get_handle (), buf, n);
00022 }
|
|
|
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.3.6