Defines the format and interface for the listener side of the ACE_UPIPE_Stream.
More...
#include <UPIPE_Acceptor.h>
|
| ACE_UPIPE_Acceptor () |
| Default constructor.
|
|
| ACE_UPIPE_Acceptor (const ACE_UPIPE_Addr &local_sap, int reuse_addr=0) |
| Initialize passive endpoint.
|
|
int | open (const ACE_UPIPE_Addr &local_sap, int reuse_addr=0) |
| Initialize passive endpoint.
|
|
| ~ACE_UPIPE_Acceptor () |
| Close down and release resources.
|
|
int | close () |
| Close down and release resources.
|
|
int | remove () |
|
int | accept (ACE_UPIPE_Stream &server_stream, ACE_UPIPE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) |
|
void | dump () const |
| Dump the state of an object.
|
|
| ACE_SPIPE_Acceptor () |
| Default constructor.
|
|
| ACE_SPIPE_Acceptor (const ACE_SPIPE_Addr &local_sap, int reuse_addr=1, int perms=ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa=0, int pipe_mode=PIPE_TYPE_MESSAGE|PIPE_READMODE_MESSAGE) |
| Initiate a passive-mode STREAM pipe listener.
|
|
int | open (const ACE_SPIPE_Addr &local_sap, int reuse_addr=1, int perms=ACE_DEFAULT_FILE_PERMS, LPSECURITY_ATTRIBUTES sa=0, int pipe_mode=PIPE_TYPE_MESSAGE|PIPE_READMODE_MESSAGE) |
| Initiate a passive-mode STREAM pipe listener.
|
|
int | close () |
| Close down the passive-mode STREAM pipe listener.
|
|
int | remove () |
| Remove the underlying mounted pipe from the file system.
|
|
int | accept (ACE_SPIPE_Stream &ipc_sap_spipe, ACE_SPIPE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false) |
|
void | dump () const |
| Dump the state of an object.
|
|
int | close () |
| Close down the SPIPE without removing the rendezvous point.
|
|
int | remove () |
|
int | get_local_addr (ACE_SPIPE_Addr &) const |
| Return the local address of this endpoint.
|
|
int | disable (int signum) const |
|
void | dump () const |
| Dump the state of an object.
|
|
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 listener side of the ACE_UPIPE_Stream.
◆ ACE_UPIPE_Acceptor() [1/2]
ACE_UPIPE_Acceptor::ACE_UPIPE_Acceptor |
( |
| ) |
|
◆ ACE_UPIPE_Acceptor() [2/2]
ACE_UPIPE_Acceptor::ACE_UPIPE_Acceptor |
( |
const ACE_UPIPE_Addr & | local_sap, |
|
|
int | reuse_addr = 0 ) |
Initialize passive endpoint.
◆ ~ACE_UPIPE_Acceptor()
ACE_UPIPE_Acceptor::~ACE_UPIPE_Acceptor |
( |
| ) |
|
Close down and release resources.
◆ accept()
Accept a new data transfer connection. A timeout of 0 means block forever, a timeout of {0, 0} means poll. restart == 1 means "restart if interrupted."
◆ close()
int ACE_UPIPE_Acceptor::close |
( |
| ) |
|
Close down and release resources.
◆ dump()
void ACE_UPIPE_Acceptor::dump |
( |
| ) |
const |
Dump the state of an object.
◆ open()
Initialize passive endpoint.
◆ remove()
int ACE_UPIPE_Acceptor::remove |
( |
| ) |
|
|
inline |
Close down and release resources and remove the underlying SPIPE rendezvous point.
◆ ACE_ALLOC_HOOK_DECLARE
ACE_UPIPE_Acceptor::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
◆ mb_
To confirm connection establishment.
◆ tm
The documentation for this class was generated from the following files: