#include <MEM_Stream.h>
Inheritance diagram for ACE_MEM_Stream:
Public Types | |
typedef ACE_Addr | PEER_ADDR |
Public Methods | |
ACE_MEM_Stream (void) | |
Constructor. More... | |
ACE_MEM_Stream (ACE_HANDLE h) | |
Constructor (sets the underlying <ACE_HANDLE> with <h>). More... | |
~ACE_MEM_Stream (void) | |
Destructor. More... | |
ssize_t | send_n (const void *buf, int n) |
Send n bytes, keep trying until n are sent. Recv n bytes, keep trying until n are received. More... | |
ssize_t | recv_n (void *buf, int n) |
ssize_t | send_n (const void *buf, int n, int flags) |
Send n bytes, keep trying until n are sent. Recv n bytes, keep trying until n are received. More... | |
ssize_t | recv_n (void *buf, int n, int flags) |
int | close_reader (void) |
Close down the reader. More... | |
int | close_writer (void) |
Close down the writer. More... | |
int | close (void) |
Close down the socket (we need this to make things work correctly on Win32, which requires use to do a <close_writer> before doing the close to avoid losing data). More... | |
void | dump (void) const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Friends | |
class | ACE_MEM_Acceptor |
class | ACE_MEM_Connector |
This adds additional wrapper methods atop the <ACE_MEM_IO> class.
|
|
|
Constructor.
|
|
Constructor (sets the underlying <ACE_HANDLE> with <h>).
|
|
Destructor.
|
|
Close down the socket (we need this to make things work correctly on Win32, which requires use to do a <close_writer> before doing the close to avoid losing data).
Reimplemented from ACE_SOCK. |
|
Close down the reader.
|
|
Close down the writer.
|
|
Dump the state of an object.
Reimplemented from ACE_MEM_IO. |
|
|
|
|
|
Send n bytes, keep trying until n are sent. Recv n bytes, keep trying until n are received.
|
|
Send n bytes, keep trying until n are sent. Recv n bytes, keep trying until n are received.
|
|
|
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_MEM_IO. |