|
| ACE_LSOCK_Acceptor () |
| Default constructor.
|
|
| ACE_LSOCK_Acceptor (const ACE_Addr &local_sap, int reuse_addr=0, int protocol_family=PF_UNIX, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
| Initiate a passive mode socket.
|
|
int | open (const ACE_Addr &local_sap, int reuse_addr=0, int protocol_family=PF_UNIX, int backlog=ACE_DEFAULT_BACKLOG, int protocol=0) |
| Initiate a passive mode socket.
|
|
int | accept (ACE_LSOCK_Stream &new_ipc_sap, ACE_Addr *=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) const |
| Accept a new data transfer connection.
|
|
int | remove () |
|
int | get_local_addr (ACE_Addr &) const |
| Return the local endpoint address.
|
|
void | dump () const |
| Dump the state of an object.
|
|
| ACE_SOCK_Acceptor () |
| Default constructor.
|
|
| 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, int ipv6_only=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 ipv6_only=0) |
| Initialize a passive-mode QoS-enabled acceptor socket.
|
|
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 ipv6_only=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 ipv6_only=0) |
|
int | close () |
| Close the socket. Returns 0 on success and -1 on failure.
|
|
| ~ACE_SOCK_Acceptor () |
| Default dtor.
|
|
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 () const |
| Dump the state of an object.
|
|
int | set_option (int level, int option, void *optval, int optlen) const |
| Wrapper around the setsockopt system call.
|
|
int | get_option (int level, int option, void *optval, int *optlen) const |
| Wrapper around the getsockopt system call.
|
|
int | close () |
|
int | get_local_addr (ACE_Addr &) const |
|
int | get_remote_addr (ACE_Addr &) const |
|
void | dump () const |
| Dump the state of an object.
|
|
int | open (int type, int protocol_family, int protocol, int reuse_addr) |
| Wrapper around the BSD-style socket system call (no QoS).
|
|
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.
|
|
int | control (int cmd, void *) const |
| Interface for <ioctl>.
|
|
int | enable (int value) const |
|
int | disable (int value) const |
|
ACE_HANDLE | get_handle () const |
| Get the underlying handle.
|
|
void | set_handle (ACE_HANDLE handle) |
| Set the underlying handle.
|
|
void | dump () const |
| Dump the state of an object.
|
|
Defines the format and interface for the acceptor side of the local ACE_SOCK ACE_Stream.