#include <MEM_IO.h>
|
| | ACE_Reactive_MEM_IO () |
| |
| virtual | ~ACE_Reactive_MEM_IO () |
| |
| virtual int | init (ACE_HANDLE handle, const ACE_TCHAR *name, MALLOC_OPTIONS *options) |
| |
| virtual ssize_t | recv_buf (ACE_MEM_SAP_Node *&buf, int flags, const ACE_Time_Value *timeout) |
| |
| virtual ssize_t | send_buf (ACE_MEM_SAP_Node *buf, int flags, const ACE_Time_Value *timeout) |
| |
| ssize_t | get_buf_len (const ACE_OFF_T off, ACE_MEM_SAP_Node *&buf) |
| |
| virtual | ~ACE_MEM_SAP () |
| | Destructor. More...
|
| |
| virtual int | init (ACE_HANDLE handle, const ACE_TCHAR *name, MALLOC_OPTIONS *options)=0 |
| |
| virtual int | fini () |
| |
| virtual ssize_t | recv_buf (ACE_MEM_SAP_Node *&buf, int flags, const ACE_Time_Value *timeout)=0 |
| |
| virtual ssize_t | send_buf (ACE_MEM_SAP_Node *buf, int flags, const ACE_Time_Value *timeout)=0 |
| |
| ACE_MEM_SAP_Node * | acquire_buffer (const ssize_t size) |
| |
| int | release_buffer (ACE_MEM_SAP_Node *buf) |
| |
| void | dump () const |
| | Dump the state of an object. More...
|
| |
◆ ACE_Reactive_MEM_IO()
| ACE_Reactive_MEM_IO::ACE_Reactive_MEM_IO |
( |
| ) |
|
|
inline |
◆ ~ACE_Reactive_MEM_IO()
| ACE_Reactive_MEM_IO::~ACE_Reactive_MEM_IO |
( |
| ) |
|
|
virtual |
◆ get_buf_len()
Convert the buffer offset off to absolute address to buf. Return the size of valid information containing in the buf, -1 if <shm_malloc_> is not initialized.
◆ init()
Initialize the MEM_SAP object.
options is used to pass in the Malloc_Options to initialize underlying ACE_MMAP.
Implements ACE_MEM_SAP.
◆ recv_buf()
Fetch location of next available data into <recv_buffer_>. As this operation read the address of the data off the socket using ACE::recv, timeout only applies to ACE::recv.
Implements ACE_MEM_SAP.
◆ send_buf()
Wait to to timeout amount of time to send buf. If <send> times out a -1 is returned with errno == ETIME. If it succeeds the number of bytes sent is returned.
Implements ACE_MEM_SAP.
The documentation for this class was generated from the following files: