#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 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. |
Definition at line 35 of file FIFO_Send.h.
ACE_FIFO_Send::ACE_FIFO_Send | ( | void | ) |
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.
References ACE_ERROR, ACE_TEXT, ACE_TRACE, and LM_ERROR.
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_TEXT ("%p\n"), 00055 ACE_TEXT ("ACE_FIFO_Send::ACE_FIFO_Send"))); 00056 }
ACE_BEGIN_VERSIONED_NAMESPACE_DECL 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.
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 }
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.
References ACE_TRACE, and ACE_FIFO::open().
Referenced by 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 }
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ssize_t ACE_FIFO_Send::send | ( | const void * | buf, | |
size_t | len | |||
) |
Send buf of up to len 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 }
ACE_INLINE ssize_t ACE_FIFO_Send::send_n | ( | const void * | buf, | |
size_t | len | |||
) |
Send buf of exactly len 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.