ACE
6.1.0
|
Create a Local ACE_SOCK stream. More...
#include <LSOCK_Stream.h>
Public Types | |
typedef ACE_UNIX_Addr | PEER_ADDR |
Public Member Functions | |
ssize_t | send_msg (const iovec iov[], size_t n, ACE_HANDLE handle) |
Send iovecs via writev(). | |
ssize_t | recv_msg (iovec iov[], size_t n, ACE_HANDLE &handle) |
Send iovecs via writev(). | |
ACE_HANDLE | get_handle (void) const |
Get handle. | |
void | set_handle (ACE_HANDLE fd) |
Overrides set_handle() from the base classes. | |
void | dump (void) const |
Dump the state of an object. | |
int | get_local_addr (ACE_Addr &) const |
This method simply returns the "local" addr. | |
int | get_remote_addr (ACE_Addr &) const |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. |
Create a Local ACE_SOCK stream.
Reimplemented from ACE_SOCK_Stream.
void ACE_LSOCK_Stream::dump | ( | void | ) | const |
Dump the state of an object.
Reimplemented from ACE_LSOCK.
ACE_HANDLE ACE_LSOCK_Stream::get_handle | ( | void | ) | const [inline] |
Get handle.
Reimplemented from ACE_LSOCK.
int ACE_LSOCK_Stream::get_local_addr | ( | ACE_Addr & | addr | ) | const |
This method simply returns the "local" addr.
Reimplemented from ACE_SOCK.
int ACE_LSOCK_Stream::get_remote_addr | ( | ACE_Addr & | addr | ) | const |
This method returns the "local" addr since it's the same value for UNIX domain sockets.
Reimplemented from ACE_SOCK.
ssize_t ACE_LSOCK_Stream::recv_msg | ( | iovec | iov[], |
size_t | n, | ||
ACE_HANDLE & | handle | ||
) |
Send iovecs via writev().
ssize_t ACE_LSOCK_Stream::send_msg | ( | const iovec | iov[], |
size_t | n, | ||
ACE_HANDLE | handle | ||
) |
Send iovecs via writev().
void ACE_LSOCK_Stream::set_handle | ( | ACE_HANDLE | fd | ) | [inline] |
Overrides set_handle() from the base classes.
Reimplemented from ACE_LSOCK.
Declare the dynamic allocation hooks.
Reimplemented from ACE_LSOCK.