Reference

ACE_IPC_SAP(3)

Defines the member functions for the base class of the ACE_IPC_SAP abstraction.

NAME

ACE_IPC_SAP - Defines the member functions for the base class of the ACE_IPC_SAP abstraction.

SYNOPSIS

#include <ace/IPC_SAP.h>
class ACE_IPC_SAP
{
  public:
    ~ACE_IPC_SAP (void);
    int control (int cmd, void *) const;
    int enable (int value) const;
    int disable (int value) const;
    ACE_HANDLE get_handle (void) const;
    void set_handle (ACE_HANDLE handle);
    void dump (void) const;
    ACE_ALLOC_HOOK_DECLARE;
  protected:
    ACE_IPC_SAP (void);
  private:
    ACE_HANDLE handle_;
    static pid_t pid_;
};

Common I/O handle options related to sockets.

int enable (int value) const;

Enable asynchronous I/O (ACE_SIGIO), urgent data (ACE_SIGURG), non-blocking I/O (ACE_NONBLOCK), or close-on-exec (ACE_CLOEXEC), which is passed as the value.

int disable (int value) const;

Disable asynchronous I/O (ACE_SIGIO), urgent data (ACE_SIGURG), non-blocking I/O (ACE_NONBLOCK), or close-on-exec (ACE_CLOEXEC), which is passed as the value.

ACE_HANDLE get_handle (void) const;

Get the underlying handle.

void set_handle (ACE_HANDLE handle);

Set the underlying handle.

void dump (void) const;

Dump the state of an object.

ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

Ensure that ACE_IPC_SAP is an abstract base class.

ACE_IPC_SAP (void);

Default constructor.

AUTHOR

Doug Schmidt

LIBRARY

ace