|
| | 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, size_t n) |
| |
| ssize_t | recv_n (void *buf, size_t n) |
| |
| ssize_t | send_n (const void *buf, size_t n, int flags) |
| |
| ssize_t | recv_n (void *buf, size_t n, int flags) |
| |
| int | close_reader (void) |
| | Close down the reader. More...
|
| |
| int | close_writer (void) |
| | Close down the writer. More...
|
| |
| int | close (void) |
| |
| void | dump (void) const |
| | Dump the state of an object. More...
|
| |
| | ACE_MEM_IO (void) |
| | Constructor. More...
|
| |
| | ~ACE_MEM_IO (void) |
| | Destructor. More...
|
| |
| int | init (const ACE_TCHAR *name, ACE_MEM_IO::Signal_Strategy type=ACE_MEM_IO::Reactive, ACE_MEM_SAP::MALLOC_OPTIONS *options=0) |
| |
| int | fini (void) |
| |
| ssize_t | send (const void *buf, size_t n, int flags) |
| |
| ssize_t | recv (void *buf, size_t n, int flags) |
| | Recv an n byte buffer from the shm_malloc_ thru connected socket. More...
|
| |
| ssize_t | send (const void *buf, size_t n) |
| |
| ssize_t | recv (void *buf, size_t n) |
| | Recv an n byte buffer from the shm_malloc_ thru connected socket. More...
|
| |
| ssize_t | send (const void *buf, size_t n, const ACE_Time_Value *timeout) |
| |
| ssize_t | send (const void *buf, size_t n, int flags, const ACE_Time_Value *timeout) |
| |
| ssize_t | send (const ACE_Message_Block *message_block, const ACE_Time_Value *timeout) |
| |
| ssize_t | recv (void *buf, size_t n, const ACE_Time_Value *timeout) |
| |
| ssize_t | recv (void *buf, size_t n, int flags, const ACE_Time_Value *timeout) |
| |
| void | dump (void) const |
| | Dump the state of an object. More...
|
| |
| int | set_option (int level, int option, void *optval, int optlen) const |
| | Wrapper around the setsockopt system call. More...
|
| |
| int | get_option (int level, int option, void *optval, int *optlen) const |
| | Wrapper around the getsockopt system call. More...
|
| |
| int | close (void) |
| |
| int | get_local_addr (ACE_Addr &) const |
| |
| int | get_remote_addr (ACE_Addr &) const |
| |
| void | dump (void) const |
| | Dump the state of an object. More...
|
| |
| int | open (int type, int protocol_family, int protocol, int reuse_addr) |
| | Wrapper around the BSD-style socket system call (no QoS). More...
|
| |
| int | open (int type, int protocol_family, int protocol, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags, int reuse_addr) |
| | Wrapper around the QoS-enabled WSASocket function. More...
|
| |
| int | control (int cmd, void *) const |
| | Interface for <ioctl>. More...
|
| |
| int | enable (int value) const |
| |
| int | disable (int value) const |
| |
| ACE_HANDLE | get_handle (void) const |
| | Get the underlying handle. More...
|
| |
| void | set_handle (ACE_HANDLE handle) |
| | Set the underlying handle. More...
|
| |
| void | dump (void) const |
| | Dump the state of an object. More...
|
| |
Defines the methods in the ACE_MEM_Stream abstraction.
This adds additional wrapper methods atop the ACE_MEM_IO class. Notice that ACE_MEM_Stream can only send messages no bigger than the underlying MMAP file size minus sizeof (ACE_MEM_SAP_Node). The size of the MMAP file is default to ACE_MEM_STREAM_MIN_BUFFER. (Define above in this file, to 4096 bytes.) If you need to increase the size of allowable message ACE_MEM_Stream can handle, you can set it to either ACE_MEM_Acceptor::malloc_options(). minimal_bytes_ ACE_MEM_Acceptor::init_buffer_size (size_t size); before establishing a connection.