Defines the format and interface for the acceptor side of the local mmap stream.
More...
|
| ACE_MEM_Acceptor (void) |
| Default constructor. More...
|
|
| ~ACE_MEM_Acceptor (void) |
| Destructor. More...
|
|
| ACE_MEM_Acceptor (const ACE_MEM_Addr &remote_sap, int reuse_addr=0, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
| Initiate a passive mode socket. More...
|
|
int | open (const ACE_MEM_Addr &local_sap, int reuse_addr=0, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
|
int | accept (ACE_MEM_Stream &new_ipc_sap, ACE_MEM_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) |
| Accept a new data transfer connection. More...
|
|
int | shared_accept_finish (ACE_MEM_Stream new_stream, int in_blocking_mode, bool reset_new_handle) const |
|
const ACE_TCHAR * | mmap_prefix (void) const |
|
void | mmap_prefix (const ACE_TCHAR *prefix) |
|
void | init_buffer_size (ACE_OFF_T bytes) |
|
ACE_MEM_IO::Signal_Strategy | preferred_strategy (void) const |
| Get the preferred signaling strategy. More...
|
|
void | preferred_strategy (ACE_MEM_IO::Signal_Strategy strategy) |
| Set the preferred signaling strategy. More...
|
|
int | get_local_addr (ACE_MEM_Addr &) const |
|
void | dump (void) const |
| Dump the state of an object. More...
|
|
| ACE_SOCK_Acceptor (void) |
| Default constructor. More...
|
|
| ACE_SOCK_Acceptor (const ACE_Addr &local_sap, int reuse_addr=0, int protocol_family=PF_UNSPEC, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
|
| ACE_SOCK_Acceptor (const ACE_Addr &local_sap, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags, int reuse_addr, int protocol_family=PF_UNSPEC, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
|
int | open (const ACE_Addr &local_sap, int reuse_addr=0, int protocol_family=PF_UNSPEC, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
|
int | open (const ACE_Addr &local_sap, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags, int reuse_addr, int protocol_family=PF_UNSPEC, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
|
int | close (void) |
| Close the socket. Returns 0 on success and -1 on failure. More...
|
|
| ~ACE_SOCK_Acceptor (void) |
| Default dtor. More...
|
|
int | accept (ACE_SOCK_Stream &new_stream, ACE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) const |
|
int | accept (ACE_SOCK_Stream &new_stream, ACE_Accept_QoS_Params qos_params, ACE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) const |
|
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...
|
|
|
int | open (const ACE_Addr &local_sap, int reuse_addr=0, int protocol_family=PF_INET, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
|
int | open (const ACE_Addr &local_sap, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags, int reuse_addr, int protocol_family, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
|
int | accept (ACE_SOCK_Stream &new_stream, ACE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) const |
|
int | accept (ACE_SOCK_Stream &new_stream, ACE_Accept_QoS_Params qos_params, ACE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) const |
|
int | shared_accept_start (ACE_Time_Value *timeout, bool restart, int &in_blocking_mode) const |
|
int | shared_accept_finish (ACE_SOCK_Stream new_stream, int in_blocking_mode, bool reset_new_handle) const |
|
int | shared_open (const ACE_Addr &local_sap, int protocol_family, int backlog) |
|
| ACE_SOCK (int type, int protocol_family, int protocol=0, int reuse_addr=0) |
|
| ACE_SOCK (int type, int protocol_family, int protocol, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags, int reuse_addr) |
|
| ACE_SOCK (void) |
|
| ~ACE_SOCK (void) |
| Protected destructor. More...
|
|
| ACE_IPC_SAP (void) |
| Default constructor. More...
|
|
| ~ACE_IPC_SAP (void) |
| Protected destructor. More...
|
|
Defines the format and interface for the acceptor side of the local mmap stream.
This class should be modified to prevent user passing a non-localhost endpoint as the acceptor listen point because it doesn't make any sense at all to make the listening endpoint visible (or connectable) anywhere outside of this machine. However, the type of endpoint is left as <ACE_Addr> so we can later changed to use UNIX-domain sockets with mmap stream if so desired. (Currently, using UNIX-domain sockets, i.e., ACE_LSOCK_*, with this class will not work.)