#include <SPIPE_Acceptor.h>
Inheritance diagram for ACE_SPIPE_Acceptor:
Public Types | |
typedef ACE_SPIPE_Addr | PEER_ADDR |
typedef ACE_SPIPE_Stream | PEER_STREAM |
Public Methods | |
ACE_SPIPE_Acceptor (void) | |
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 (void) |
Close down the passive-mode STREAM pipe listener. | |
int | remove (void) |
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, int restart=1, int reset_new_handle=0) |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Private Methods | |
int | create_new_instance (int perms=0) |
Create a new instance of an SPIPE. |
ACE_SPIPE_Acceptor is a factory class that accepts SPIPE connections. Each accepted connection produces an ACE_SPIPE_Stream object.
ACE_HAS_STREAM_PIPES
is defined.
|
|
|
|
|
Default constructor.
|
|
Initiate a passive-mode STREAM pipe listener.
|
|
Accept a new data transfer connection.
|
|
Close down the passive-mode STREAM pipe listener.
Reimplemented from ACE_SPIPE. Reimplemented in ACE_UPIPE_Acceptor. |
|
Create a new instance of an SPIPE.
|
|
Dump the state of an object.
Reimplemented from ACE_SPIPE. Reimplemented in ACE_UPIPE_Acceptor. |
|
Initiate a passive-mode STREAM pipe listener.
|
|
Remove the underlying mounted pipe from the file system.
Reimplemented from ACE_SPIPE. Reimplemented in ACE_UPIPE_Acceptor. |
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_SPIPE. Reimplemented in ACE_UPIPE_Acceptor. |