#include <FIFO_Recv_Msg.h>
Inheritance diagram for ACE_FIFO_Recv_Msg:
Public Methods | |
ACE_FIFO_Recv_Msg (void) | |
Default constructor. | |
ACE_FIFO_Recv_Msg (const ACE_TCHAR *rendezvous, int flags=O_CREAT|O_RDONLY, int perms=ACE_DEFAULT_FILE_PERMS, int persistent=1, LPSECURITY_ATTRIBUTES sa=0) | |
Open up a record-oriented named pipe for reading. | |
int | open (const ACE_TCHAR *rendezvous, int flags=O_CREAT|O_RDONLY, int perms=ACE_DEFAULT_FILE_PERMS, int persistent=1, LPSECURITY_ATTRIBUTES sa=0) |
Open up a record-oriented named pipe for reading. | |
ssize_t | recv (ACE_Str_Buf &msg) |
Receive a message based on attributes in an ACE_Str_Buf. | |
ssize_t | recv (void *buf, size_t len) |
Receive a message based on buffer pointer and maximum size. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. |
This method works slightly differently on platforms with the ACE_HAS_STREAM_PIPES
configuration setting than those without. With ACE_HAS_STREAM_PIPES, the getmsg()
system function is used and it preserves message boundaries internally. Without ACE_HAS_STREAM_PIPES
, the message boundaries are emulated by this class and ACE_FIFO_Send_Msg cooperating. The sending class first writes an integer number of bytes in the message, then the message. ACE_FIFO_Recv_Msg reads the count, then the data. The operational differences occur primarily when a message is larger than what a caller of this class requests. See recv() for details.
|
Default constructor.
|
|
Open up a record-oriented named pipe for reading.
|
|
Dump the state of an object.
Reimplemented from ACE_FIFO_Recv. |
|
Open up a record-oriented named pipe for reading.
Reimplemented from ACE_FIFO_Recv. |
|
Receive a message based on buffer pointer and maximum size.
Reimplemented from ACE_FIFO_Recv. |
|
Receive a message based on attributes in an ACE_Str_Buf.
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_FIFO_Recv. |